Author Topic: what it means?  (Read 3468 times)

Offline snmr

  • Single posting newcomer
  • *
  • Posts: 5
what it means?
« 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

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: what it means?
« Reply #1 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.

Offline snmr

  • Single posting newcomer
  • *
  • Posts: 5
Re: what it means?
« Reply #2 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?

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: what it means?
« Reply #3 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.

Offline snmr

  • Single posting newcomer
  • *
  • Posts: 5
Re: what it means?
« Reply #4 on: July 17, 2007, 01:42:00 am »
i try

my first time in c++...