[ODE] Compiling issues in VC++ 6.0

gl gl at ntlworld.com
Wed Mar 24 16:51:59 MST 2004


Hi,

the first lot is a mismatch of the C runtime library.  The VC6 project (if
it's mine) defaults to (Debug) Multithreaded DLL, but you can change that.
Simply adjust either project to match the other.

The 2nd looks like you're not linking in the Opcode lib.  Is the Opcode
project inserted into your workspace?  If not, you'll have to link with it
manually.
--
gl

----- Original Message ----- 
From: J Rod
To: ode
Sent: Wednesday, March 24, 2004 3:33 PM
Subject: Re: [ODE] Compiling issues in VC++ 6.0




I was able to download the VC6 projects and compile it as a library but I'm
still having some linking issues with my project.  I told the linker to use
ode.lib while linking, and am getting the following errors:

Linking...
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _exit already defined in
LIBCD.lib(crt0dat.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __vsnprintf already defined in
LIBCD.lib(vsnprint.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: __snprintf already defined in
LIBCD.lib(snprintf.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _abort already defined in
LIBCD.lib(abort.obj)
MSVCRTD.lib(MSVCRTD.dll) : error LNK2005: _vfprintf already defined in
LIBCD.lib(vfprintf.obj)
....
IceMaths::Matrix4x4 &,class IceMaths::Matrix4x4 const &)"
(?InvertPRMatrix at IceMaths@@YAXAAVMatrix4x4 at 1@ABV21@@Z)
ode.lib(collision_trimesh_box.obj) : error LNK2001: unresolved external
symbol "public: __thiscall IceCore::Container::~Container(void)"
(??1Container at IceCore@@QAE at XZ)
ode.lib(collision_trimesh_sphere.obj) : error LNK2001: unresolved external
symbol "public: __thiscall IceCore::Container::~Container(void)"
(??1Container at IceCore@@QAE at XZ)
ode.lib(collision_trimesh.obj) : error LNK2001: unresolved external symbol
"public: __thiscall IceCore::Container::~Container(void)"
(??1Container at IceCore@@QAE at XZ)
ode.lib(collision_trimesh_box.obj) : error LNK2001: unresolved external
symbol "public: __thiscall IceCore::Container::Container(void)"
(??0Container at IceCore@@QAE at XZ)
ode.lib(collision_trimesh_sphere.obj) : error LNK2001: unresolved external
symbol "public: __thiscall IceCore::Container::Container(void)"
(??0Container at IceCore@@QAE at XZ)
ode.lib(collision_trimesh.obj) : error LNK2001: unresolved external symbol
"public: __thiscall IceCore::Container::Container(void)"
(??0Container at IceCore@@QAE at XZ)
ode.lib(collision_trimesh_sph! ere.obj) : error LNK2001: unresolved external
symbol "public: bool __thiscall Opcode::SphereCollider::Collide(struct
Opcode::SphereCache &,class IceMaths::Sphere const &,class Opcode::Model
const &,class IceMaths::Matrix
4x4 const *,class IceMaths::Matrix4x4 const *)"
(?Collide at SphereCollider@Opcode@@QAE_NAAUSphereCache at 2@ABVSphere at IceMaths@@A
BVModel at 2@PBVMatrix4x4 at 5@3 at Z)
...
Debug/Main.exe : fatal error LNK1120: 23 unresolved externals
Error executing link.exe.


Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.



_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode



More information about the ODE mailing list