WxWidgets

Started by
2 comments, last by Trikko 18 years, 3 months ago
Hey. I'm currently installing WxWidgets and I am following the install.txt file to guide me. My problem is that when I call make.exe with the command-line parameters as said in the file, I get this error:
Quote:c:\wx\build\msw\makefile.gcc:7: config.gcc: No such file or directory make: *** No rule to make target 'config.gcc'. Stop
Using this line:
Quote:make -f c:\wx\build\msw\makefile.gcc
The thing is: I know config.gcc is in the same directory, I double-checked. Do you guys know what's wrong ? I'm using Dev-Cpp. *I'm sorry, I know it shouldn't be in the Game API sub-forum, but I couldn't find a better place*
Advertisement
Quote:Original post by White Scorpion
My problem is that when I call make.exe with the command-line parameters as said in the file, I get this error:
Quote:c:\wx\build\msw\makefile.gcc:7: config.gcc: No such file or directory
make: *** No rule to make target 'config.gcc'. Stop


I'm not sure if this help, but replace make with mingw32-make.
Are you using the Dev-Cpp wxWidgets devpak? All I had to do when I started was install that, none of this command line stuff.
Maybe the best way to get it working is using mingw (gcc port for windows).
Download it and msys too (a console emulator).

Then unzip wxWidgets source in a folder e.g. c:\lib
open Msys and go on that console e.g.

cd /c/lib/wxWidgets-2.6.2

then write:

./configure --help

to see build option. For example you can try

./configure --enable-monolithic --disable-debug --disable-shared

for build wxWidgets as monolithic static library. Then simply write:

make && make install

In this way you have wxWidgets build and ready to use (with dev-cpp too..)
I hope this work for you...

A. Fontana
www.e-nuts.net

This topic is closed to new replies.

Advertisement