Author Topic: wxWidgets 2.4.2 (MSW, GCC) installation instructions  (Read 20529 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« on: May 25, 2005, 07:43:52 am »
Finally I made a step-by-step tutorial on installing and configuring wxWidgets 2.4.2 under Microsoft Windows (TM).

Enjoy!

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #1 on: May 25, 2005, 08:51:56 am »
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...

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #2 on: May 25, 2005, 06:09:53 pm »
Um, then my setup's the one not working :(  So how can I compile wxWidgets WITHOUT msys?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #3 on: May 25, 2005, 07:41:48 pm »
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...

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #4 on: May 26, 2005, 02:15:38 am »
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

  • Guest
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #5 on: May 26, 2005, 07:28:27 am »
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.

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #6 on: May 26, 2005, 07:32:30 am »
I try to compile wx2.4.2 according the manual, but ut says it couldn't find setup.h
Code
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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #7 on: May 26, 2005, 07:50:56 am »
Cool! Can you put that in the wiki, too?

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #8 on: May 26, 2005, 08:25:55 am »
Quote
I 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...

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #9 on: May 26, 2005, 10:13:02 am »
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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #10 on: May 26, 2005, 12:18:25 pm »
Quote from: mispunt
updated, 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...

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #11 on: May 26, 2005, 11:17:58 pm »
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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #12 on: May 26, 2005, 11:52:36 pm »
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

  • Guest
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #13 on: May 27, 2005, 03:11:43 am »
Quote from: mispunt
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.


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.

Offline cyberkoa

  • Plugin developer
  • Almost regular
  • ****
  • Posts: 145
    • http://
wxWidgets 2.4.2 (MSW, GCC) installation instructions
« Reply #14 on: May 27, 2005, 04:31:55 am »
forget to login when replying  ... it's me