[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Help using MSVC 6
- From: Riccardo <rtrocca@...>
- Date: Fri, 10 Oct 2003 14:05:40 +0200
Hello, I've a simple problem, I'm trying to create a *.lib file in order to
easily include lua in my apps without having to add all the sources again
and again. The problem is that I do that, but when I try to link the
resulting lib with a win32/MFC application (I did not change any compiler
switches), the linker complains about multiply defined symbols in msvcrt
and libc, asking me to use /NODEFAULTLIB.
Whenever I try to use it excluding first MSVCRT and then LIBC I obtain
errors (some missing function..)
Of course I have no problems when I include all the sources directly.
THis makes me think that I should change some switches when I generate the
lib files.
By now I use the default "WIn32 static library" project settings in the
project wizard in order to generate lua.lib and lualib.lib.
I'm sure that this is almost a basic VC 6 question, but can somebody help me?
Riccardo
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.525 / Virus Database: 322 - Release Date: 09/Oct/03