News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxWidgets 2.4.2 (MSW, GCC) installation instructions

Started by rickg22, May 25, 2005, 07:43:52 AM

Previous topic - Next topic

rickg22

Finally I made a step-by-step tutorial on installing and configuring wxWidgets 2.4.2 under Microsoft Windows (TM).

Enjoy!

mandrav

Great stuff Rick :)
I just added a note that MSYS is not actually required... It works just the same without it ;)

Yiannis.
Be patient!
This bug will be fixed soon...

rickg22

Um, then my setup's the one not working :(  So how can I compile wxWidgets WITHOUT msys?

mandrav

But, you 're using nothing MSYS-specific. Just 'cd' and 'mingw32-make'. Did I miss something? I read it very carefully.
And I don't have MSYS installed here...

Yiannis.
Be patient!
This bug will be fixed soon...

cyberkoa

I manage to compile codeblock but get a few warnings . And when I try to run it , the normal windows error message pop "codeblocks.exe is causing error .. "

However , I do not follow exactly the steps in wiki , in fact I am testing the options 2 .

I plan to reinstall MSYS , MingW and wxwidgets-2.4.2 , and build again .

Just have a question , if I compile the wxwidgets with UNICODE=1 , will there be any problem ? because I may want to build Unicode application with the wxwidgets.

Thanks for all the guidance , if I manage to compile successfully with the options 2 , I shall add in the wiki later.

Anonymous

I hv tried again but still failed.

Therefore, I decided to use the method in wiki , however, I got the same result.  (I deleted the CVS and download again)

Still trying to figure out what had happened.

David Perfors

I try to compile wx2.4.2 according the manual, but ut says it couldn't find setup.h
cp ../../include/wx/msw/setup.h ../../lib/mswdlld/wx/setup.h
process_begin: CreateProcess((null), cp ../../include/wx/msw/setup.h ../../lib/mswdlld/wx/setup.h, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [../../lib/mswdlld/wx/setup.h] Error 2
It is a complete fresh install (wxAll). Any ideas?

--edit--
I see what the problem is, no cp.exe :)
Solution: get the extra.zip package (probably only when you didn't install msys)
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

rickg22


mandrav

QuoteI see what the problem is, no cp.exe Smile
Solution: get the extra.zip package (probably only when you didn't install msys)
That's why I missed it!
With C::B full install we supply cp.exe and, if I remember correctly, I *think* I have posted a link to extra.zip some time ago...

Thanks mispunt :)

Yiannis.
Be patient!
This bug will be fixed soon...

David Perfors

updated, perhaps it is possible to remove the msys completly?
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

mandrav

Quote from: mispuntupdated, perhaps it is possible to remove the msys completly?
Sure thing. Go on and edit it.

Yiannis.
Be patient!
This bug will be fixed soon...

David Perfors

Two things:
Thirst, I can't reach the wiki page via the menu (it is edit only)
Secons, where do I have to set ${WX_VER}? It should be set somewhere, but I don't know where.
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

rickg22

The tutorial linked to a non-existent version of the wx242 article. Fixed. Now you can edit the wiki :)

NOTE: You have to sign up for the wiki (it uses a different login than the forums')

Update: I just changed the "Setup MSYS" section. But the part about building wxWidgets still needs to be updated.

Anonymous

Quote from: mispuntTwo things:
Thirst, I can't reach the wiki page via the menu (it is edit only)
Secons, where do I have to set ${WX_VER}? It should be set somewhere, but I don't know where.

You can set it under menu "Project" > build option > Custom variable

add in a variable WX_VER and value 242

I added in when I encounter a failure compiling one of the plugin yesterday. Today , re download from CVS, the project files already added in this variable.

cyberkoa