News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

wxWidgets MSW compilation (wiki solutions not working)

Started by 4ggr35510n, September 21, 2011, 02:23:35 PM

Previous topic - Next topic

4ggr35510n

Greetings!

I am trying to compile wxWidgets as static libraries, according to this tutorial:
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.8.6_to_develop_Code::Blocks_(MSW)

I've downloaded 2.8.12 version of wxWidgets as zip, then unpacked.

I'm using Windows 7.

I've properly set PATH variable.


Now:
cd D:\wxWidgets_2.8.12_sources\build\msw
mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=1 BUILD=release


Results with:
mingw32-make: makefile.gcc: No such file or directory
mingw32-make: *** No rule to make target `makefile.gcc'.  Stop.





And:
mingw32-make -f D:\wxWidgets_2.8.12_sources\build\msw\makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=1 BUILD=release

Results with:
D:\wxWidgets_2.8.12_sources\build\msw\makefile.gcc:7: config.gcc: No such file or directory
mingw32-make: *** No rule to make target `config.gcc'.  Stop.



I would really use ur help!
Thanks in advance!










@EDIT:
SOLVED!

Srry for troubling you.

cd /D D:\wxWidgets_2.8.12_sources\build\msw
mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=1 BUILD=release


Works.

Apparently parameter /D with cd command allows to switch disc while switching directory.
You should add that somewhere to the wiki, it gets really confusing to people usually not using commandline :)

Close plz

Alpha

Quote from: 4ggr35510n on September 21, 2011, 02:23:35 PM
Apparently parameter /D with cd command allows to switch disc while switching directory.
You should add that somewhere to the wiki, it gets really confusing to people usually not using commandline :)
Added (to a couple of the pages - I will track down the rest later).