[ODE] linking errors with new ode code

Tatu Lahtela lahtela at cs.tut.fi
Mon Jun 7 12:12:05 MST 2004


On Fri, 04 Jun 2004 12:42:23 -0400, Mike Reinstein <web_fella at hotmail.com>  
wrote:
>> > 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?
>

Like I already answered before...
--clip--
Answering myself...
The program had to be built "Multithreaded DLL". Interestingly the previous
version didn't compile with that option for some reason.
--clip--

(project settings, c/c++, code generation, use run-time library  
"Multithreaded DLL")


-- 
Tampere University of Technology / Automation and Control Institute
Tatu Lahtela


More information about the ODE mailing list