Wasileski, Bryan J. wrote:
Hi,
I’ve not monitored the group mail for a while and was wondering if
anyone could give me some user/developer experiences of OSG with the Mac.
I was the most recent to push things along with OSG on the Mac. I was
working a bit with the X11 path and 64-bit compiles, and think it works
with cmake generating xcode projects. However, things like QT and
quicktime are not available this way (which means that common image file
formats are also broken). Eric Wing developed an ImageIO plugin for
images that I have partially integrated but not yet finished. To get
animations working on 64-bit a new plugin that uses QTKit needs to be
developed. For 32-bit compiles all the old stuff should still work. The
stuff that doesn't work is automatically excluded when a 64-bit platform
is included in the Xcode generation. Currently the Xcode projects (the
ones generated by CMake) just make shared libraries. I also intend on
getting it to generate Frameworks, but that work is not very far along.
The hand-generated Xcode projects make Frameworks, but I'm not sure if
they are up-to-date.
There are a lot of permutations on how to build on the Mac. I am
interested in suggestions on what is broken so it can be improved. The
way forward is through CMake. The old Xcode projects may or may not
function, and will probably not be maintained into the future.
As for getting CMake to run on the mac, I downloaded a binary package of
cmake 2.6.x from CMake's web site, and it just worked for me, with a GUI
and everything. I didn't try to compile CMake myself, nor use MacPorts
or any other package repository. I haven't tried to run cmake on the
command line. I believe that the binary CMake bundle has the
command-line executables contained within. I usually generate Xcode
projects from cmake and then compile. This is the easiest way to produce
a universal binary.
As I was making changes this summer I tried to maintain compatibility
with 10.4, and even cross-compiling for 10.4 on 10.5. I'm not sure how
well I succeeded.
Suggestions and questions are welcome.
-Eric
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org