User forums > General (but related to Code::Blocks)
"ld.exe cannot find -lwxmsw" when compiling a wxWindow Project
Anuk:
fixed!!!
Okay, for cvs version, you need to change in linker option WXMSW to WXMSW27 and works, also keep in mind to put this first, i got linker error if i have put it last.
thomas:
--- Quote from: Anuk on April 08, 2006, 03:43:15 pm ---Okay, for cvs version, you need to change in linker option WXMSW to WXMSW27 and works, also keep in mind to put this first, i got linker error if i have put it last.
--- End quote ---
Not true. The SVN wxWidgets template already uses wxmsw26 and wxmsw26u, respectively.
If you have wxmsw in your linker options, then you use an old template.
Anuk:
--- Quote from: thomas on April 08, 2006, 08:59:11 pm ---
--- Quote from: Anuk on April 08, 2006, 03:43:15 pm ---Okay, for cvs version, you need to change in linker option WXMSW to WXMSW27 and works, also keep in mind to put this first, i got linker error if i have put it last.
--- End quote ---
Not true. The SVN wxWidgets template already uses wxmsw26 and wxmsw26u, respectively.
If you have wxmsw in your linker options, then you use an old template.
--- End quote ---
I have WXMSW27 , notice 27 not 26.
exploder:
I cannot understand the resolved solution.
Compiled wxWidgets with gcc, generated libs are "libwxmsw28u.a" and "wxmsw28u_gcc_custom.dll",
when using CB compiled wxWidgets project, how to find "-lwxmsw28u".
waiting for the wonderful anuser.....
JGM:
--- Quote from: exploder on January 30, 2008, 04:47:07 am ---I cannot understand the resolved solution.
Compiled wxWidgets with gcc, generated libs are "libwxmsw28u.a" and "wxmsw28u_gcc_custom.dll",
when using CB compiled wxWidgets project, how to find "-lwxmsw28u".
waiting for the wonderful anuser.....
--- End quote ---
you have to add the directory ($wxwidgets)/lib/gcc_dll to the search directories of the linker
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version