Re: [osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-11-25 Thread Jean-Claude Monnin
Hi, I had exactly the same issue than Jan Klimke when trying to compile the latest osg with Xcode 5, 64-bit dylib build (not frameworks) with libc++ as standard library. Could anyone successfully build a recent osg with Xcode 5? The problem is that the linker can't find the destructor of

Re: [osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-11-25 Thread Stephan Maximilian Huber
Hi, try a more recent version from trunk or the 3.2-branch, a fix for this issue was added last week. It seems that clang/llvm does some too optimistic optimizations. I could fix the bug by adding a explicit destructor (this got committed to trunk) or by reducing the optimization-setting for

Re: [osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-11-25 Thread Jean-Claude Monnin
Hi, Thanks Stephan for your reply. I was using the latest commit from the master branch of the github mirror. I just did a checkout with svn and saw your commit. I can confirm that the latest trunk builds successfully. If it's a compiler/linker bug, I agree that defining an explicit destructor

Re: [osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-10-20 Thread Jan Klimke
Hi, i tried the cmake file you attached. It is does what it is expected (building with libc++ and c++11 as language dialect). But i think i mixed two things in here. First the linking error of OSG itself, which was not solved by linking against libc++. This was a problem of linking against

Re: [osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-10-18 Thread Jan Klimke
Hi Robert, thanks for you reply. I am pretty sure that the settings did not change. But what i noticed is that the build is running better when libc++ and the c++11 standard is used when compiling. Currently if there is a clang compiler, the standard used is still c++98. This is currently

Re: [osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-10-18 Thread Stephan Maximilian Huber
Hi Jan, Curious, I had linking errors when compiling osg with c++11 for IOS, so I added the c++98-flags to cmake. The best we can do is to make it configurable via cmake. cheers, Stephan Am 18.10.2013 um 10:25 schrieb Jan Klimke osgfo...@tevs.eu: Hi Robert, thanks for you reply. I am

Re: [osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-10-17 Thread Robert Osfield
Hi Jan, I don't have an OSX box to test against, but at a guess the line ld: symbol(s) not found for architecture x86_64 looks to be the most suspicious one. Any chance that the build settings have changed or that somehow the serializer plugins are compiling against libs that were created with

[osg-users] [build] Build Problem with osgGA at MacOS with Xcode 5

2013-10-15 Thread Jan Klimke
Hi, i just upgraded my xcode installation to 5.0 and tried to recompile a newer version of osg. This did'nt work out well since i am getting a linking error when building osgdb_serializers_osgga.so it seems that several symbols an not be found. Does anyone has a clue how to get it to compile