Hi,

I had the same problem under Lion as well. It seems that it hangs in a call to 
acosf in the Billboard constructor (gdb stack trace).

The problem seems to be related to the default compiler being now based on llvm:

> gcc -v
[...]
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)

The old gcc compiler is still available as gcc-4.2/g++-4.2
> gcc-4.2 -v
[...]
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

if you run cmake with environment variables to pick up the gcc-4.2 compiler, 
then everything seems to work:

CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 ccmake [path to CMake files]

cheers,
  Gerhard

On 18 Aug 2011, at 18:28, JosafXX Souza Jr. wrote:

> Hi,
> 
> I'm having problems with OSG in Mac OSX 10.7 (lion). When I run a code that 
> don't load models it runs well, showing the image, but when I load any model 
> it seems to be running in background but nothing happens! 
> osgviewer debug runs normally but osgviewer release seems to be running 
> background but nothing happens.
> Here a example that runs.
> 
> ... 
> 
> Thank you!
> 
> Cheers,
> josafa
> 
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=42118#42118
> 
> 
> 
> 
> Attachments: 
> http://forum.openscenegraph.org//files/main_486.cpp
> 
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
Gerhard Reitmayr
Institute for Computer Graphics and Vision
http://www.icg.tugraz.at/Members/gerhard
tel: ++43 316 873 5082



_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to