Author Topic: Can't compile anything with wxWidgets 2.8.3  (Read 3823 times)

Offline patlecat

  • Multiple posting newcomer
  • *
  • Posts: 62
Can't compile anything with wxWidgets 2.8.3
« on: May 06, 2007, 11:49:36 pm »
Hi all

I'm new to CB :P I've compiled wxW 2.8.3 according to the instructions (with mingw-32.exe) and this worked very well. I'm always using the newest CodeBlock nightly-build and it also runs fine. But when I create a default wxW Project from CB with the default code it won't build! I set all the paths necessary (that I could find in the net), so what can it be??

I get this error:
Code
ld.exe:: cannot find -lwxmsw28
=== Build finished: 1 errors, 0 warnings ===

BTW the wxW-Lib works fine with DialogBlocks 4.x, so it's not the lib....but what else?

Offline jarro_2783

  • Multiple posting newcomer
  • *
  • Posts: 99
    • Project Freedom
Re: Can't compile anything with wxWidgets 2.8.3
« Reply #1 on: May 07, 2007, 02:07:54 am »
check the dll it's linking against.

If you built wx for codeblocks it will be something like wxmsw28u_(possibly something else here).dll
So check that you are in fact trying to link with the right thing.