Code::Blocks Forums
User forums => Help => Topic started by: Destroyer on September 22, 2006, 11:28:35 am
-
May be it's a stupid question... :(
I'm really sorry, but I have been using a 1.0rc2 for some period of time and there was't such problem.
Help pls to stupid Destroyer!
-
Are you expecting a valid answer now? :shock:
Please, describe your problem better...
-
So, I installed a last build of CodeBlocks.
Then imported a test project from DevCpp. After some tribal dances project compiles.
-lwxmsw is a linker option (Project->Build options->Linker->Other linker options).
As I understand it's a directive to use a wxmsw library.
Ok, there are no such library in wxWidgets/lib directory.
There is a libwx_msw_core-2.6. library. But for DevCpp it's ok.
Even if I specify all libraries in wxWidgets/lib directory linker output messages like 'undefined reference to bla-bla-bla'
How can I specify wx libraries to CodeBlocks?
-
If the library does not exist, but Dev-Cpp works fine, then Dev-Cpp has one additional library search path where it finds that library.
However, from the error message ("cannot find -lwxmsw"), there is an entirely different problem, too.
If that is the exact error message that you get, you entered -lwxmsw into the link libraries field, which is simply wrong. That will call ld with -l-lwxmsw, which will obviously not work regardless of library paths.
If it was only about library paths, the message would be "cannot find wxmsw".
-
It isn't a solution :(
In this case it writes "cannot find -l-lwxmsw" :?
-
The library name is wxmsw26u if unicode wxmsw26 if not unicode verify that you do not have an "L" in front of it. This assumes version 2.6 library. least this is what codeblocks uses as it library under windows.
Tim S