Hello,

I've got opensg to build fairly complete until now, but I still cannot figure 
out what might be wrong here. I'm building on OS X 10.9 with boost 1.54 from 
homebrew. clang is using libstdc++ and -std=c++98. I had to leave CSM out due 
to a cmake error, probably thats another issue. Now everything builds up until 
testBackgroundLoader:

#  ~/code/opensg/build/Test/OSGContribBackgroundLoader ➜ make                   
                        
[ 18%] Built target OSGBase
[ 53%] Built target OSGSystem
[ 53%] Built target OSGWindowCocoa
[ 53%] Built target OSGWindowGLUT
[ 59%] Built target OSGState
[ 71%] Built target OSGGroup
[ 83%] Built target OSGDrawable
[ 86%] Built target OSGText
[ 93%] Built target OSGWindow
[ 98%] Built target OSGUtil
[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 -framework 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?

Marcel
------------------------------------------------------------------------------
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