Author Topic: cannot find -lwxmsw242 - whats wrong  (Read 3495 times)

Offline Crazy K

  • Single posting newcomer
  • *
  • Posts: 3
cannot find -lwxmsw242 - whats wrong
« on: September 28, 2005, 10:05:47 pm »
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

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: cannot find -lwxmsw242 - whats wrong
« Reply #1 on: September 28, 2005, 10:58:20 pm »
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) ;).

Offline Crazy K

  • Single posting newcomer
  • *
  • Posts: 3
Re: cannot find -lwxmsw242 - whats wrong
« Reply #2 on: September 29, 2005, 05:39:46 pm »
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

Offline Serge2005

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: cannot find -lwxmsw242 - whats wrong
« Reply #3 on: September 29, 2005, 06:04:15 pm »
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
OS: LMDE2-32bit with Xfce

Offline Crazy K

  • Single posting newcomer
  • *
  • Posts: 3
Re: cannot find -lwxmsw242 - whats wrong
« Reply #4 on: September 29, 2005, 06:14:53 pm »
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.

Offline Urxae

  • Regular
  • ***
  • Posts: 376
Re: cannot find -lwxmsw242 - whats wrong
« Reply #5 on: September 29, 2005, 06:57:37 pm »
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:.