[ODE] MessageBox

Jeroen Schmitz Jeroen Schmitz" <ode at q12.org
Wed Feb 19 10:23:01 2003


stehwn wrote:
> when compiling i get the following error:
>
> ode.lib(error.obj) : error LNK2001: unsolved external symbol
> __imp__MessageBoxA@16
>
> but the ode.lib is linked correctly.

I had the same problem, I just commented out the calls to MessageBox in
error.cpp.
Maybe not really the way it should be solved, but hey, it works :)

> before this i get another linker warning:
>
> LINK : warning LNK4098: Standardlibrary "LIBC" conflicts with other
> librarys;use  /NODEFAULT:Bibliothek

You should do what the warning says: add
/NODEFAULTLIB:libc.lib
to your linker call.

Jeroen