[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Linkerproblem with lualib.h and tolua.h
- From: Jardar Johannes Maatje <maatje@...>
- Date: Tue, 17 Jun 2003 19:53:08 +0200 (CEST)
I have a problem trying to use the standard lualibs with tolua. The linker
gives me the following errror:
libc.lib(crt0dat.obj) : error LNK2005: _exit already defined in
MSVCRTD.lib(MSVCRTD.dll)
libc.lib(crt0dat.obj) : error LNK2005: __exit already defined in
MSVCRTD.lib(MSVCRTD.dll)
libc.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in
MSVCRTD.lib(cinitexe.obj)
libc.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in
MSVCRTD.lib(cinitexe.obj)
libc.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in
MSVCRTD.lib(cinitexe.obj)
libc.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in
MSVCRTD.lib(cinitexe.obj)
The lualib is included in the C++ file as follows:
extern "C"{
#include "LUA/lualib.h"
}
Jardar