[antlr-interest] (unknown)

gkaram888 <gkaram888 at yahoo.ca> gkaram888 at yahoo.ca
Mon Feb 17 14:26:16 PST 2003


Hi,

I am receiving Link errors after I tried both the 
main2.cpp and main.cpp files of the examples of antlr calc
after I created the static library.

Here are the 2 error link types (34 total errors): 
LNK2005
LNK2001

svcprtd.lib(MSVCP60D.dll) : error LNK2005: "public:
__thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>::~basic_string<char,struct
std::char_traits<char>,class std::allocator<char>
>(void)" (??1?$basic_strin
g at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at XZ)
already defined in calc.obj
etc...
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _exit
already defined in LIBCMTD.lib(crt0dat.obj)
etc...
calc.obj : error LNK2001: unresolved external symbol
"public: void __thiscall CalcParser::expr(void)"
(?expr at CalcParser@@QAEXXZ)
etc...

Debug/calc.exe : fatal error LNK1120: 6 unresolved
externals
Error executing link.exe.

calc.exe - 34 error(s), 1 warning(s)

Does anyone have an idea what is causing that?

Thank you

George



 

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



More information about the antlr-interest mailing list