[antlr-interest] DLL under MSVC

Jörg Werner joerg+computer.antlr at bodensee.pi5.physik.uni-stuttgart.de
Sat Feb 7 15:22:11 PST 2004


Hi!

I'm trying to compile antlr-2.7.3rc2 as a dll using MSVC 7.1. When trying
to link my project with the dll i get the following error:

unresolved external symbol '"__declspec(dllimport) public: class
antlr::ASTRefCount<class antlr::AST> & __thiscall antlr::ASTRefCount<class
antlr::AST>::operator=(class antlr::AST *)"
(__imp_??4?$ASTRefCount at VAST@antlr@@@antlr@@QAEAAV01 at PAVAST@1@@Z)',
verwiesen in Funktion '"public: void __thiscall
MatlabWalker::patternExecuteStatement(class antlr::ASTRefCount<class
antlr::AST>)"
(?patternExecuteStatement at MatlabWalker@@QAEXV?$ASTRefCount at VAST@antlr@@@antlr@@@Z)'

Linking with a statically linked antlr-lib works.
Can anyone help me getting rid of this error?

Jörg

-- 

Jörg Werner
j.werner at physik.uni-stuttgart.de




-- 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list