I have use vs 2008 to compile OSG and VPB from latest SVN , everything is OK.
But When I use mingw gcc 3.4.4, OSG is OK, VPB has some link error. Many thanks! error message: -*- mode: compilation; default-directory: "e:/code/OpenSceneGraph/build_vpb_mingw/src/vpb/" -*- Compilation started at Fri Mar 19 00:05:05 make -k -- Configuring done -- Generating done -- Build files have been written to: E:/code/OpenSceneGraph/build_vpb_mingw Linking CXX shared library ..\..\lib\libvpb.dll Creating library file: ..\..\lib\libvpb.dll.a CMakeFiles\vpb.dir\BuildLog.obj(.text$_ZNK3osg10Referenced5unrefEv[osg::Refe renced::unref() const]+0x10):BuildLog.cpp: undefined reference to `_imp___ZN11OpenThreads6AtomicmmEv' CMakeFiles\vpb.dir\BuildLog.obj(.text$_ZNK3osg10Referenced3refEv[osg::Refere nced::ref() const]+0x10):BuildLog.cpp: undefined reference to `_imp___ZN11OpenThreads6AtomicppEv' CMakeFiles\vpb.dir\System.obj(.text$_ZNK3osg10Referenced14referenceCountEv[o sg::Referenced::referenceCount() const]+0x10):System.cpp: undefined reference to `_imp___ZNK11OpenThreads6AtomiccvjEv' collect2: ld returned 1 exit status make[2]: *** [lib/libvpb.dll] Error 1 make[2]: Target `src/vpb/CMakeFiles/vpb.dir/build' not remade because of errors. make[1]: *** [src/vpb/CMakeFiles/vpb.dir/all] Error 2 make[1]: Target `src/vpb/all' not remade because of errors. make: *** [all] Error 2 make: Target `default_target' not remade because of errors. Compilation exited abnormally with code 2 at Fri Mar 19 00:05:20 ---------------------------------------------------------------------------- Zou wan Spatial Infomation Technology Lab Institute of Computing Technology Chinese Academy of Sciences Beijing, 100190, China <mailto:zou...@ict.ac.cn> zou...@gmail.com --
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org