[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lua link with VS2005: error C3174
- From: Philippe Lhoste <PhiLho@...>
- Date: Tue, 03 Apr 2007 12:40:31 +0200
I want to link my VS2005 application with the lua 5.1 libraries.
I compile both lua and my application with the same parameters, specifically
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
-- (near) Paris -- France
-- -- -- -- -- -- -- -- -- -- -- -- -- --