lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Sounds like a runtime library conflict. There are sets of runtime libraries 
for single-threaded, multi-threaded, debug single-threaded, and debug 
multi-threaded. If your libs use a different runtime library from your main 
app, you will get this problem.


On Friday 10 October 2003 05:05 am, Riccardo wrote:
> 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..)

Ben Sunshine-Hill
Student and Programmer
Your lucky words for today: bylaws, consumers, and site.