Hi Christophe, Luigi sent a post a few days about about build VPB under Windows using the new Cmake build. He mentioned that he had to make a few changes to CMakeLists.txt files and source files but hasn't submitted any changes yet though.
Robert. On 7/12/07, christophe loustaunau <[EMAIL PROTECTED]> wrote:
Hello, I try to compile VPN, I have generated the binaries with CMake without problems. CMake told me that it can't find some variables : GDAL_INCLUDE_DIR GDAL_LIBRARY OSGDB_LIBRARY OSGFX_LIBRARY OSGUTIL_LIBRARY OSGVIEWER_LIBRARY OSG_INCLUDE_DIR OSG_LIBRARY So I give it all the path, and I generate the binaries successfully ! But when I try to compile the projet virtualplanetbuilder.sln, I have somme errors . I'm under windows 2000, with visuel studio 8 2005. If someone have an idea it will be helpfull ! Thanks. Christophe. 2>DataSet.obj : error LNK2001: symbole externe non résolu "public: virtual char const * __thiscall GDALMajorObject::GetDescription(void)const " ([EMAIL PROTECTED]@@UBEPBDXZ) 2>2>DataSet.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall vpb::DataSet::setDestinationTileExtension(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?setDestinationTileExtension@ [EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z) référencé dans la fonction "public: void __thiscall vpb::DataSet::setDestinationName(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ( [EMAIL PROTECTED]@vpb@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z ) 2>DataSet.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall vpb::DataSet::CompositeDestination::setSubTilesGenerated(bool)" ([EMAIL PROTECTED]@DataSet @vpb@@[EMAIL PROTECTED]) référencé dans la fonction "protected: void __thiscall vpb::DataSet::_writeRow(class std::map<unsigned int,class vpb::DataSet::CompositeDestination *,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,class vpb::DataSet::CompositeDestination *> > > &)" ( [EMAIL PROTECTED]@vpb@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@vpb@@@std@@@5@@std@@@Z ) .......... 2>DataSet.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall vpb::DataSet::getDirectory(void)const " (__imp_?getDirectory@ [EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@XZ) référencé dans la fonction "public: void __thiscall WriteImageFilesVisitor::apply(class osg::StateSet &)" ( [EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) .......... 2>DataSet.obj : error LNK2019: symbole externe non résolu "__declspec (dllimport) public: enum vpb::DataSet::CompositeType __thiscall vpb::DataSet::CompositeSource::getType(void)const " ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@XZ) référencé dans la fonction "public: bool __thiscall vpb::DataSet::CompositeSource::LODSourceAdvancer::advanceToNextSource(class vpb::DataSet::CompositeSource const &,int &)" ( [EMAIL PROTECTED]@[EMAIL PROTECTED]@vpb@@[EMAIL PROTECTED]@Z) 3>ReaderWriterGDAL.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual int __thiscall OpenThreads::Mutex::lock(void)" ([EMAIL PROTECTED]@OpenThreads@@UAEHXZ) référencé dans la fonction "public: virtual int __thiscall OpenThreads::ReentrantMutex::lock(void)" (?lock@ [EMAIL PROTECTED]@@UAEHXZ) 4>osgdem.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall vpb::DataSet::Source::setGeoTransformPolicy(enum vpb:: 3>ReaderWriterGDAL.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual int __thiscall OpenThreads::Mutex::trylock(void)" ([EMAIL PROTECTED]@OpenThreads@@UAEHXZ) référencé dans la fonction "public: virtual int __thiscall OpenThreads::ReentrantMutex::trylock(void)" ( [EMAIL PROTECTED]@OpenThreads@@UAEHXZ) 3>D:\VPN Binaries\lib\vpbPlugins-0.9.0\Debug\osgdb_gdald.dll : fatal error LNK1120: 6 externes non résolus 4>osgdem.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall vpb::DataSet::Source::~Source(void)" ([EMAIL PROTECTED]@vpb@@[EMAIL PROTECTED]) référencé dans la fonction "public: virtual void * __thiscall vpb::DataSet::Source::`scalar deleting destructor'(unsigned int)" (??_GSource@ [EMAIL PROTECTED]@@[EMAIL PROTECTED]) ............ 4>osgdem.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) protected: virtual __thiscall vpb::DataSet::~DataSet(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) référencé dans la fonction "protected: virtual void * __thiscall vpb::DataSet::`scalar deleting destructor'(unsigned int)" ( [EMAIL PROTECTED]@@[EMAIL PROTECTED]) _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/