User forums > Help

cannot find -lwxmsw242 - whats wrong

(1/2) > >>

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:
Hello, I had this problem, mandrav and rickg22 helped me to fix it.... look at this link http://forums.codeblocks.org/index.php/topic,270.30.html   and   
http://forums.codeblocks.org/index.php/topic,270.45.html

Crazy K:
IT WORKS

THANKS A LOT

PS: maybe you can add this information at: http://forums.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.

Navigation

[0] Message Index

[#] Next page

Go to full version