On Mon, 2008-09-22 at 22:48 -0700, Arik Ter-Galstyan wrote:
> Markus and Jim thanks a lot for response.
>
> Jim,
>
> it's not me trying to link the LIBCMT.lib with antlr.lib but the VS2008 on
> it's own tries to link them together.
The project you are using to compile and link the generated code is
doing it. So, right click on your project and select properties, C/C++,
code generation, Runtime Library, "Multi-threaded {Debug} DLL (/MDd).
Use teh Debug version fo rhte Debug target of your [rpject and the
Release version for the Release target of your project.
> I think that the ANTLR generated source files contain some function which
> refer to both libs.
That's not how it works.
> When I'm trying to exclude one of the conflicting libs from linking process
> then I get an "Unresolved external symbol" type of link error.
> Also, please tell me how can I change the project to use MSVCRT ?
You need to read the documentation for VS2008 projects.
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address