>From memory, OpenThreads.framework needs to be added into the link phase of 
>some of the other frameworks and libs.

If all you need is a working pre-compiled version of OSG 2.8.2 for Mac OS X, I 
have made an installer package available here:

www.artoolworks.com/dist/openscenegraph/2.8.2/

Regards,
Philip


gabyx wrote:
> Hi,
> 
> I have a general build problem:
> -I downloaded the 2.8.3 stable version ZIP file.
> - Compiled (out of the box) the XCode Project (Release 32bit Cocoa)
>     -> Compiles fine, no errors, all frameworks  builded
> - Copied the Frameworks to /library/frameworks/
> - Made a new XCode Project from Template of the ZIP (2.8.3)
> 
>   -> This Project does not compile:
>   -> Included only the osg/* headers in the prefix header
>   -> It cannot find several files, header in the framework I think, this is 
> strange:
> 
> In file included from /Library/Frameworks/osg.framework/Headers/AlphaFunc:17,
>                  from .../Desktop/OSGTEST/OSGTEST_Prefix.pch:31:
> /Library/Frameworks/osg.framework/Headers/StateAttribute:19:38: error: 
> osg/StateAttributeCallback: No such file or directory
> In file included from ...Desktop/OSGTEST/OSGTEST_Prefix.pch:83:
> /Library/Frameworks/osg.framework/Headers/ImageStream:18:27: error: 
> osg/AudioStream: No such file or directory
> 
> When I copy the missing headers in the frameworks, it compiles,but gives a 
> linking error with:
>   "OpenThreads::Atomic::operator--()", referenced from:
>  osg::Referenced::unref() constin main.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> 
> 
> 
> What is wrong here, I dont know really how to get this working?...
> Could anyone help?
> 
> 
> Thank you!
> 
> Cheers,
> Gabriel[/b]


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33744#33744





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to