[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua link with VS2005: error C3174
- From: Noel Frankinet <nfr@...>
- Date: Tue, 03 Apr 2007 12:59:46 +0200
Philippe Lhoste a écrit :
You probably have defined that your program use COM. Thats why it tries
to comile an inexistant idl file.
I want to link my VS2005 application with the lua 5.1 libraries.
I compile both lua and my application with the same parameters,
Code generation: MTd.
I link with lua5.1.lib in the directory lua5.1\llib\static.
I get the following message:
c1xx : error C3174: module attribute was not specified
LINK : fatal error LNK1250: failed to merge IDL content
When I have a semi-cryptic error message from a compiler, I usually
google for the error code or message.
First link I got: http://msdn2.microsoft.com/en-us/library/5cbw7we0.aspx
"A program that uses Visual C++ attributes did not also use the module
attribute, which is required in any program that uses attributes."
I still don't understand the issue (I don't use VS2005) but I hope
this helps you.
Search in the linker setting.
Gistek Software SA