Hi,

So I followed Jean's instructions on the website

http://www.openscenegraph.com/osgwiki/pmwiki.php/PlatformSpecifics/VisualStudioPlugins

and was able to build openvrml correctly.

I checked my runtime libraries for both the openvrml solution and the osg
solution (after rerunning cmake)

and they both are: Multi-threaded Debug DLL (/MDd)

In my OSG project I link to the following libraries:

C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib
C:\Documents and Settings\Bryan Berg\Desktop\osg 2.0\3rdParty\lib
C:\Documents and Settings\Bryan Berg\Desktop\osg 2.0\OpenSceneGraph\lib

in addition to the defaults ones:

$(VCInstallDir)lib
$(VCInstallDir)PlatformSDK\lib
$(FrameworkSDKDir)lib
$(VSInstallDir)
$(VSInstallDir)lib

Unfortunately I'm still getting:

------ Build started: Project: Plug 3d vrml, Configuration: Debug Win32
------
Linking...
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library
openvrml.lib(browser.obj) : error LNK2001: unresolved external symbol
"public: virtual class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __thiscall
antlr::RecognitionException::toString(void)const "
([EMAIL PROTECTED]@antlr@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
PROTECTED]@2@@std@@XZ)
openvrml.lib(browser.obj) : error LNK2001: unresolved external symbol
"public: virtual class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __thiscall
antlr::RecognitionException::getFileLineColumnString(void)const "
([EMAIL PROTECTED]@antlr@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL 
PROTECTED]@2@@std@@XZ)
openvrml.lib(browser.obj) : error LNK2019: unresolved external symbol
"public: virtual __thiscall antlr::Parser::~Parser(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "public: virtual
__thiscall antlr::LLkParser::~LLkParser(void)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED])
openvrml.lib(browser.obj) : error LNK2019: unresolved external symbol
"public: __thiscall
antlr::RecognitionException::RecognitionException(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,int,int)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL 
PROTECTED]@2@@std@@[EMAIL PROTECTED])
referenced in function "public: __thiscall
antlr::SemanticException::SemanticException(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,int,int)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL 
PROTECTED]@2@@std@@[EMAIL PROTECTED])
openvrml.lib(browser.obj) : error LNK2019: unresolved external symbol
"public: __thiscall antlr::LLkParser::LLkParser(class antlr::TokenBuffer
&,int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@Z) referenced in
function "protected: __thiscall openvrml::Vrml97Parser::Vrml97Parser(class
antlr::TokenBuffer &,int)"
([EMAIL PROTECTED]@@[EMAIL PROTECTED]@antlr@@[EMAIL PROTECTED])
openvrml.lib(browser.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall antlr::Parser::consumeUntil(class
antlr::BitSet const &)" ([EMAIL PROTECTED]@antlr@@[EMAIL PROTECTED]@@Z)
openvrml.lib(browser.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall antlr::Parser::consumeUntil(int)"
([EMAIL PROTECTED]@antlr@@[EMAIL PROTECTED])
openvrml.lib(browser.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall antlr::Parser::match(class antlr::BitSet
const &)" ([EMAIL PROTECTED]@antlr@@[EMAIL PROTECTED]@@Z)
openvrml.lib(browser.obj) : error LNK2001: unresolved external symbol
"public: virtual void __thiscall antlr::Parser::match(int)"
([EMAIL PROTECTED]@antlr@@[EMAIL PROTECTED])


Bryan

Bryan Berg
The Salk Institute LOG-G
10010 N. Torrey Pines Rd
La Jolla CA 92037
Phone: 858 453-4100 x 1435


_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to