[ODE] linking errors with new ode code

gl gl at ntlworld.com
Mon Jun 7 10:39:21 MST 2004


Are you linking with the same runtime lib as ODE & Opcode?  They default to
'(Debug) Multithreaded DLL'.  If not, change the projects so they all use
the same & rebuild.
--
gl

----- Original Message ----- 
From: "Mike Reinstein" <web_fella at hotmail.com>
To: <ode at q12.org>
Sent: Friday, June 04, 2004 5:42 PM
Subject: [ODE] linking errors with new ode code


>
> I'm getting these errors when trying to build my project which relies on
> ode/opcode.
> heres my build steps:
> 1) I run ode\VC6\configure-single-trimesh.bat
>
> 2) I open the ode\VC6\ode.dsw  workspace
>
> 3) I click rebuild solution. ODE and OPCODE seem to build just dandy (this
> verified by looking at ode\lib.... the files oded.lib and OPCODE_D.lib are
> present after building)
>
> 4) I copy the 2 libs from step 3 into my project folder, copy the header
> files from ode\include\ode into my project and click rebuild.
>
> I get these linking errors:
>
> > > Same subject, different error..
> > >
> > > I just compiled ode 0.5 and tried to link it to my old program.
> > > The compilation gets to linking and says:
> > >
> > > Linking...
> > > LINK : warning LNK4049: locally defined symbol "_ldexp" imported
> > > LINK : warning LNK4049: locally defined symbol "_exit" imported
> > > LINK : warning LNK4049: locally defined symbol "__vsnprintf"
> > > imported LINK : warning LNK4049: locally defined symbol "__snprintf"
> > > imported LINK : warning LNK4049: locally defined symbol "_abort"
> > > imported LINK : warning LNK4049: locally defined symbol "_fprintf"
> > > imported LINK : warning LNK4049: locally defined symbol "_fflush"
> > > imported LINK : warning LNK4049: locally defined symbol "__iob"
> > > imported LINK : warning LNK4049: locally defined symbol "_malloc"
> > > imported LINK : warning LNK4049: locally defined symbol "_realloc"
> > > imported LINK : warning LNK4049: locally defined symbol "_free"
> > > imported LINK : warning LNK4049: locally defined symbol "__copysign"
> > > imported LINK : warning LNK4049: locally defined symbol "_memmove"
> > > imported LINK : warning LNK4049: locally defined symbol "_printf"
> > > imported ode.lib(collision_space.obj) : error LNK2001: unresolved
> > > external symbol__imp__floor
> > > ode.lib(collision_space.obj) : error LNK2001: unresolved external
> > > symbol__imp__frexp
> > > ode.lib(error.obj) : error LNK2001: unresolved external symbol
> > > __imp__vfprintf
> > > ode.lib(IceRandom.obj) : error LNK2001: unresolved external symbol
> > > __imp__srand
> > > ode.lib(IceRandom.obj) : error LNK2001: unresolved external symbol
> > > __imp__rand
> > > Debug/odeEngine.exe : fatal error LNK1120: 5 unresolved externals
> > > Error executing link.exe.
> > >
> > > odeEngine.exe - 6 error(s), 14 warning(s)
>
>
> The above excerpt was grabbed from a post from another user who seems to
be
> encoiuntering the same issue around the end of May...have these been
> resolved?
>
> Mike
>
> _________________________________________________________________
> MSN 9 Dial-up Internet Access fights spam and pop-ups - now 3 months FREE!
> http://join.msn.click-url.com/go/onm00200361ave/direct/01/
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list