Hello Marcel,

On 10/28/2013 06:16 PM, Marcel wrote:
> [100%] Built target OSGContribBackgroundLoader
> Linking CXX executable ../../bin/testBackgroundLoader
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.0.0
> Thread model: posix
>   
> "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"
>  -demangle -dynamic -arch x86_64 -macosx_version_min 10.9.0 -o 
> ../../bin/testBackgroundLoader -search_paths_first 
> -headerpad_max_install_names 
> CMakeFiles/testBackgroundLoader.dir/testBackgroundLoader.cpp.o 
> ../../bin/libOSG2Group.2.0.0.dylib ../../bin/libOSG2Window.2.0.0.dylib 
> ../../bin/libOSG2WindowGLUT.2.0.0.dylib -framework GLUT -framework Cocoa 
> ../../bin/libOSG2ContribBackgroundLoader.2.0.0.dylib 
> ../../bin/libOSG2Util.2.0.0.dylib ../../bin/libOSG2Window.2.0.0.dylib 
> ../../bin/libOSG2WindowCocoa.2.0.0.dylib -framework Cocoa 
> ../../bin/libOSG2Text.2.0.0.dylib /usr/local/lib/libfreetype.dylib 
> /usr/local/lib/libfontconfig.dylib ../../bin/libOSG2Drawable.2.0.0.dylib 
> ../../bin/libOSG2Group.2.0.0.dylib ../../bin/libOSG2State.2.0.0.dylib 
> ../../bin/libOSG2System.2.0.0.dylib ../../bin/libOSG2Base.2.0.0.dylib 
> /usr/lib/libdl.dylib /usr/lib/libpthread.dylib /usr/lib/libz.dylib -framework 
> OpenGL -framew
 o
rk AGL /usr/local/lib/libboost_filesystem-mt.dylib 
/usr/local/lib/libboost_system-mt.dylib -lstdc++ -lSystem 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a
> Undefined symbols for architecture x86_64:
>    
> "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry 
> const&, std::string&, std::codecvt<wchar_t, char, __mbstate_t> const&)", 
> referenced from:
>        
> boost::filesystem::path::path<boost::filesystem::directory_entry>(boost::filesystem::directory_entry
>  const&, 
> boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::type>,
>  void>::type*) in testBackgroundLoader.cpp.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> make[2]: *** [bin/testBackgroundLoader] Error 1
> make[1]: *** 
> [Test/OSGContribBackgroundLoader/CMakeFiles/testBackgroundLoader.dir/all] 
> Error 2
> make: *** [all] Error 2
>
> Do you have an idea what might be wrong?

hmm, since the compiler has accepted the code, but now the linker can 
not find a symbol it looks like a problem on the boost::filesystem side 
at first glance.
Do you have the x86_64 boost libraries installed - as opposed to the x86 
(32 bit) ones? For most of boost (or the parts OpenSG uses) it would not 
matter since those are header only.

        Cheers,
                Carsten


------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to