News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

what it means?

Started by snmr, July 16, 2007, 04:42:32 PM

Previous topic - Next topic

snmr

ld.exe:: cannot find -lwxmswd_core
:: === Build finished: 1 errors, 0 warnings ===

C:\DEV\C\Compiler\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lwxmswd_core
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 10 seconds)
1 errors, 0 warnings



gcc 3.4.5/CB_NB/wx2.8.4

raph

The linker can't find the libwxmswd_core.a file.
It should exist in the $(#wx)\lib\gcc_dll if you have compiled wxWidgets as non-monolithic debug shared ansi version or in $(#wx)\lib\gcc_lib if you have compiled it as non-monolithic debug static ansi.
Be sure to have the library filename matched your wx configuration and add the directory to Search directories->Linker.

snmr

i found only libwxmsw28u_core.a & libwxmsw28ud_core.a

is that means i need recompile with a non-unicode version?

raph

That means that wxWidgets is compiled as:
non-monolithic, unicode, normal and debug
Simply select that options if you are creating a new project with wxwidgets wizard or change the libraries to link in the build options manually.
Quote from: snmr on July 16, 2007, 05:27:40 PM
is that means i need recompile with a non-unicode version?
No, using unicode is recommended unless you want your application to run under win95/98/me.

snmr

i try

my first time in c++...