Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: snmr on July 16, 2007, 04:42:32 pm

Title: what it means?
Post by: snmr on July 16, 2007, 04:42:32 pm
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
Title: Re: what it means?
Post by: raph on July 16, 2007, 05:09:26 pm
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.
Title: Re: what it means?
Post by: snmr on July 16, 2007, 05:27:40 pm
i found only libwxmsw28u_core.a & libwxmsw28ud_core.a

is that means i need recompile with a non-unicode version?
Title: Re: what it means?
Post by: raph on July 16, 2007, 06:37:08 pm
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.
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.
Title: Re: what it means?
Post by: snmr on July 17, 2007, 01:42:00 am
i try

my first time in c++...