News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

cannot find -lwxmsw242 - whats wrong

Started by Crazy K, September 28, 2005, 10:05:47 PM

Previous topic - Next topic

Crazy K

Hi..

I triy to start devolping in c++ by using code::blocks and wxwidgets. (I use mingw)

I installed wxwidgets 262 and codeblocks. Then I added the include-libaries as told in the installation-instruction. When I try to compile my first project (without changing some code) I get the error:

ld.exe         cannot find -lwxmsw242

I hope someone can help me to solve this problem

Thank you

Urxae

Looks like you're using CodeBlocks.cbp. If you're using wx262, you might want to use the CodeBlocks-wx2.6.0.cbp project file instead of the normal one (which is for wx242) ;).

Crazy K

Thank you for you help.

I don't know which project file I use. I only went to new project -> wxwidgets application. Then I get the message. But where do I find the CodeBlocks-wx2.6.0.cbp.  I cannot find it - even on the download page (sourceforge)

Thank you

Serge2005

OS: LMDE2-32bit with Xfce

Crazy K

IT WORKS

THANKS A LOT

PS: maybe you can add this information at: http://forums.next.codeblocks.org/index.php/topic,270.msg1118.html#msg1118
because there is said: open the CodeBlocks-wx2.6.0.cbp ... but at this time I didn't know what was ment.

Urxae

Oh sorry, the CodeBlocks*.cbp files are only relevant if you're trying to compile Code::Blocks itself, which is what I thought you were trying to do. Must have misread your post :oops:.