News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Can't compile anything with wxWidgets 2.8.3

Started by patlecat, May 06, 2007, 11:49:36 PM

Previous topic - Next topic

patlecat

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: 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?

jarro_2783

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.