[ODE] Re: Link problem to lib.

longshot ode at gunfight.net
Sun Mar 13 15:52:59 MST 2005


I didn't fix the problem but after downloading the binary ode.lib, it
compiled ok.


----- Original Message ----- 
From: longshot
To: ode at q12.org
Sent: Sunday, March 13, 2005 2:49 AM
Subject: Link problem to lib.


Hi all,

I am completely new to ODE, i will use it to create realistic collision
response for my game http://www.gunfight.net/

I compiled ode and placed the ode.lib in my msvc lib dir.
When i try to link my game to ode, by placing ode.lib in my msvc 'link to'-
list, i get errors like :

MSVCRT.lib(MSVCRT.dll) : error LNK2005: _exit already defined in
LIBC.lib(crt0dat.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: __vsnprintf already defined in
LIBC.lib(vsnprint.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _abort already defined in
LIBC.lib(abort.obj)
MSVCRT.lib(MSVCRT.dll) : error LNK2005: _fprintf already defined in
LIBC.lib(fprintf.obj)
etc.etc.etc.

When i try to ignore msvcrt.lib, i get this :

LINK : warning LNK4049: locally defined symbol "_exit" imported
LINK : warning LNK4049: locally defined symbol "__vsnprintf" imported
LINK : warning LNK4049: locally defined symbol "_abort" imported
etc.etc.etc.
ode.lib(error.obj) : error LNK2001: unresolved external symbol
__imp___snprintf
ode.lib(error.obj) : error LNK2001: unresolved external symbol
__imp__vfprintf
ode.lib(collision_space.obj) : error LNK2001: unresolved external symbol
__imp__floor
etc.etc.etc.

Any help would be appreciated...


cu, Long.




More information about the ODE mailing list