Hi Oleg, Initially I couldn't figure out the case of this, as all the cmake and C++ files looked correct, but just had a eureka moment - the exports were missing. I've now added these and checked them in. Could you do an svn update and see if this problem is now addressed.
Cheers, Robert. On Fri, May 1, 2009 at 10:30 AM, Oleg Dedkow <[email protected]> wrote: > Hi Robert, > > There are still link errors in "Plugins P3D project": > > Error 1 error LNK2019: unresolved external symbol "public: bool > __cdecl osgDB::XmlNode::read(class osgDB::XmlNode::Input &)" > (?r...@xmlnode@osgDB@@qeaa_naeavin...@12@@Z) referenced in function "public: > class osgDB::ReaderWriter::ReadResult __cdecl > ReaderWriterP3DXML::readNode(class osgDB::XmlNode::Input &,class > osgDB::ReaderWriter::Options const *)const " > (?readn...@readerwriterp3dxml@@qeba?avreadres...@readerwriter@osgDB@@aeavin...@xmlnode@4...@pebvoptions@34@@Z) > ReaderWriterP3D.obj > Error 2 error LNK2019: unresolved external symbol "public: __cdecl > osgDB::XmlNode::XmlNode(void)" (??0xmln...@osgdb@@q...@xz) referenced in > function "public: class osgDB::ReaderWriter::ReadResult __cdecl > ReaderWriterP3DXML::readNode(class osgDB::XmlNode::Input &,class > osgDB::ReaderWriter::Options const *)const " > (?readn...@readerwriterp3dxml@@qeba?avreadres...@readerwriter@osgDB@@aeavin...@xmlnode@4...@pebvoptions@34@@Z) > ReaderWriterP3D.obj > Error 3 error LNK2019: unresolved external symbol "public: __cdecl > osgDB::XmlNode::Input::~Input(void)" (??1in...@xmlnode@osgDB@@q...@xz) > referenced in function "public: virtual class osgDB::ReaderWriter::ReadResult > __cdecl ReaderWriterP3DXML::readNode(class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const &,class > osgDB::ReaderWriter::Options const *)const " > (?readn...@readerwriterp3dxml@@ueba?avreadres...@readerwriter@osgDB@@aebv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@pebvopti...@34@@Z) > ReaderWriterP3D.obj > Error 4 error LNK2019: unresolved external symbol "public: void > __cdecl osgDB::XmlNode::Input::readAllDataIntoBuffer(void)" > (?readalldataintobuf...@input@xmln...@osgdb@@QEAAXXZ) referenced in function > "public: virtual class osgDB::ReaderWriter::ReadResult __cdecl > ReaderWriterP3DXML::readNode(class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const &,class > osgDB::ReaderWriter::Options const *)const " > (?readn...@readerwriterp3dxml@@ueba?avreadres...@readerwriter@osgDB@@aebv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@pebvopti...@34@@Z) > ReaderWriterP3D.obj > Error 5 error LNK2019: unresolved external symbol "public: void > __cdecl osgDB::XmlNode::Input::open(class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const &)" > (?o...@input@xmln...@osgdb@@qeaaxaebv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z) > referenced in function "public: virtual class > osgDB::ReaderWriter::ReadResult __cdecl ReaderWriterP3DXML::readNode(class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &,class osgDB::ReaderWriter::Options const > *)const " > (?readn...@readerwriterp3dxml@@ueba?avreadres...@readerwriter@osgDB@@aebv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@pebvopti...@34@@Z) > ReaderWriterP3D.obj > Error 6 error LNK2019: unresolved external symbol "public: __cdecl > osgDB::XmlNode::Input::Input(void)" (??0in...@xmlnode@osgDB@@q...@xz) > referenced in function "public: virtual class osgDB::ReaderWriter::ReadResult > __cdecl ReaderWriterP3DXML::readNode(class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const &,class > osgDB::ReaderWriter::Options const *)const " > (?readn...@readerwriterp3dxml@@ueba?avreadres...@readerwriter@osgDB@@aebv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@pebvopti...@34@@Z) > ReaderWriterP3D.obj > Error 7 error LNK2019: unresolved external symbol "public: void > __cdecl osgDB::XmlNode::Input::attach(class std::basic_istream<char,struct > std::char_traits<char> > &)" > (?att...@input@xmln...@osgdb@@qeaaxaeav?$basic_istr...@du?$char_traits@d...@std@@@std@@@Z) > referenced in function "public: virtual class > osgDB::ReaderWriter::ReadResult __cdecl ReaderWriterP3DXML::readNode(class > std::basic_istream<char,struct std::char_traits<char> > &,class > osgDB::ReaderWriter::Options const *)const " > (?readn...@readerwriterp3dxml@@ueba?avreadres...@readerwriter@osgDB@@aeav?$basic_istr...@du?$char_traits@d...@std@@@std@@pebvopti...@34@@Z) > ReaderWriterP3D.obj > > Oleg > > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im Auftrag von Robert > Osfield > Gesendet: Freitag, 1. Mai 2009 09:46 > An: OpenSceneGraph Users > Betreff: Re: [osg-users] Broken Windows build > > Hi Oleg, > > The OSG-2.8 release went out with the UTF8 code in place, svn/trunk > doesn't change this in any way. Lots and lots of Windows users have > been testing it out across different compilers and not reported > problems. > > What build suit are you using? Have you compiled other OSG versions OK? > > Robert. > > > On Thu, Apr 30, 2009 at 8:11 PM, Oleg Dedkow <[email protected]> wrote: >> Hi Robert, >> >> >> >> the latest SVN revision cannot be build under Windows if >> “OSG_USE_UTF8_FILENAME” config option is enabled. The error occurs in >> “FileUtils.cpp” file, line 663, since there is no UNICODE-capable version of >> the “GetProcAddress” function. The “OSGDB_WINDOWS_FUNCT_STRING” makro is >> defined as follows in that case >> >> >> >> #define OSGDB_WINDOWS_FUNCT_STRING(x) L ## #x L"W" >> >> >> >> Thus the second parameter cannot be converted from wchar_t to LPCSTR. Should >> we convert the second parameter from wchar_t* to LPCSTR or use the same >> definition for the “OSGDB_WINDOWS_FUNCT_STRING” makro in both cases? >> >> >> >> The second error occurs in the same file, line 669. The second parameter for >> the “pGetModuleHandleEx” function should be defined as wchar_t, but it’s >> defined as “static char static_variable” in the line 667. >> >> >> >> Best Regards, >> >> Oleg >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

