Author Topic: wxWidgets MSW compilation (wiki solutions not working)  (Read 5918 times)

Offline 4ggr35510n

  • Single posting newcomer
  • *
  • Posts: 4
wxWidgets MSW compilation (wiki solutions not working)
« on: September 21, 2011, 02:23:35 pm »
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:
Code
cd D:\wxWidgets_2.8.12_sources\build\msw
mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=1 BUILD=release

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




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

Results with:
Code
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.

Code
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
« Last Edit: September 21, 2011, 02:37:53 pm by 4ggr35510n »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: wxWidgets MSW compilation (wiki solutions not working)
« Reply #1 on: September 22, 2011, 01:08:44 am »
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).