[MacPorts] #32302: OGRE (Object-Oriented Graphics Rendering Engine) Static Port
MacPorts
noreply at macports.org
Sun Nov 27 19:09:44 PST 2011
#32302: OGRE (Object-Oriented Graphics Rendering Engine) Static Port
-----------------------------------+----------------------------------------
Reporter: marin.saric@… | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: maintainer | Port:
-----------------------------------+----------------------------------------
This is a ground-up rework of OGRE port designed to deploy static binaries
on MacOS X in a similar fashion to the Linux port. This port is not a
variant of the existing Ogre port; it includes major changes to the build
system and a re-work to make it function much more like its Linux
counterpart.
This is currently the only version of OGRE for MacOS X that allows the
user to run the tutorial code on the OGRE website and the only version of
OGRE for MacOS X which runs the Sample code under a static build.
It is also by far the easiest version to install and get started in.
There are many fixes to the CMakefiles and Find*.cmake macros to enable
small CMakeLists.txt projects that work using a simple cmake/make
invocation.
There is a README file and the tutorial code from the OGRE website has
been adapted to run on MacOS X. This required including a separate Cocoa-
based module, since the OGRE MacOS X port is missing the required Cocoa-
driving code.
It is currently impossible to install both ogre and ogre-static, since
OGRE header files and the library behavior by design changes if a static
build is active.
Static binary support was introduced to OGRE relatively recently. Unlike
the MacOS X version on the OGRE website and the OGRE version currently in
MacPorts, ogre-static (this version) builds using only CMake, without any
explicit reliance on XCode. It is designed to produce simple executables
that do not depend on any libraries other than the most basic MacOS X
system frameworks (this can be verified with otool -L). In a source-based
distribution like MacPorts, a dynamically linked variant of Ogre offers
very few advantages and many possible pitfalls once a MacPorts-based
application needs to be deployed.
This OGRE port has been successfully used in a scientific application that
also uses OpenCV and runs inside MATLAB that has been deployed on Linux
without any code changes.
The aim of this port is to become officially supported by the OGRE
project. Once it is available in MacPorts, the maintainer will contact the
OGRE developer community for feedback and enhancement requests.
--
Ticket URL: <https://trac.macports.org/ticket/32302>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list