[antlr-interest] (?_Lock@_Mutex@std) already defined in antlr.lib(TokenStreamRewriteEngine.obj

kiranreddyd kiranreddyd at yahoo.co.in
Fri May 6 03:08:24 PDT 2005


Hi, 


I am using VC7 compiler....I have downloaded antlr-2.7.5.msi zipped 
and antlr-2.7.5.exe. 


I have generated parser for the grammer using antlr-
2.7.5.exe...after that created a project and tried to build my 
project... 


I am getting the following error: error LNK2005: "public: void 
__thiscall std::_Mutex::_Lock(void)" (?_Lock at _Mutex@std@@QAEXXZ) 
already defined in antlr.lib(TokenStreamRewriteEngine.obj) 


My project includes someother files...but no where those files I am 
using _Mutex and _Lock... 

Thanks in advance 
Regards 
Kiran






More information about the antlr-interest mailing list