So, I spent much of the weekend compiling different versions of OSG (different compilers, universal/non-universal, cmake vs xcode), but no combination has yet fixed the crash.
Originally, I used plain cmake to build OSG 2.9.8 libraries and XCode to build my app. This worked for me for the past year, but I was forced to upgrade to OSX 10.7 and XCode 4.3 or some iOS-related work. My app continued to compile (indeed, using the "llvm gcc 4.2" compiler) and worked well if linked with those old OSG libraries. But like I said, I wanted to upgrade to OSG 3.x, and stupidly I deleted my old OSG 2.9.8 libraries. Now I can't build ANY form of OSG that will make my app work again. I can't build OSG 2.9.8 anymore, because there are a bunch of deprecated coregraphics calls and no OPENTHREADS_ATOMIC_USE_MUTEX fix. And any OSG 3.X version exhibits the crash (even though the OSG examples work!). I've tried building OSG with both the "llvm gcc 4.2" and "Apple llvm compiler 3.1", but both crash my app. A few other users have mentioned similar things: http://forum.openscenegraph.org/viewtopic.php?p=42119 http://forum.openscenegraph.org/viewtopic.php?t=8963 Perhaps the same problem (?). Their solution is to NOT using the llvm compiler and use old gcc4.2, but I don't have /usr/bin/gcc-4.2. Any idea how I can get that on my OSX 10.7 system with XCode 4.3.1? ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46941#46941 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

