Code::Blocks Forums

User forums => Help => Topic started by: maxcelpc on November 08, 2007, 07:34:05 pm

Title: WxWidgets on MSW Code::Blocks
Post by: maxcelpc on November 08, 2007, 07:34:05 pm
Hi,

I have installed CB on WindowsXP and it is up and running. I also installed WxWidgets for Windows, both from binaries.

I have opened a small Wx project in MSW CB, which ran successfully on Ubuntu, but when I try to run it I get the following message:

mingw32-g++.exe: `wx-config: No such file or directory

The readme and help files do not seem to offer a clue as to what may be wrong. The only thing I can see is that 'wx-config' does not exist in the WxWidgets directory, but 'wx-config.in' does. I cannot find what is calling 'wx-config'.

Help would be much appreciated.


Title: Re: WxWidgets on MSW Code::Blocks
Post by: TDragon on November 08, 2007, 08:29:49 pm
The configuration of wxWidgets for Windows is different than for Linux; you'll need to re-run the wxWidgets project wizard in Windows. See the wxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef) for more information about using wxWidgets in Windows.