1. wxEuphoria build

I need some major help here. I have wxWidgets 2.8.12 installed. I was able to build it successfully and got the .dll files for my windows vista 32 bit machine. I am using wxEuphoria v 16. BTW I tried v 17, but I get a machine level error when I run the mdi demo. I am wanting to add some new features for a project I am working on. I have Open Watcom v 1.9. The config.wat file is missing from the package, and there is no config.bat. I do have configure file with no extension, but that shows configuring a makefile.gcc. I would like to try and work with the files in open watcoms editor and build from there, but I am getting some major errors, like in be.c it does not like the LIBMAIN function. Guidance would be very helpful. Thanks to all. Mike

new topic     » topic index » view message » categorize

2. Re: wxEuphoria build

mb7001 said...

I need some major help here. I have wxWidgets 2.8.12 installed. I was able to build it successfully and got the .dll files for my windows vista 32 bit machine. I am using wxEuphoria v 16. BTW I tried v 17, but I get a machine level error when I run the mdi demo. I am wanting to add some new features for a project I am working on. I have Open Watcom v 1.9. The config.wat file is missing from the package, and there is no config.bat. I do have configure file with no extension, but that shows configuring a makefile.gcc. I would like to try and work with the files in open watcoms editor and build from there, but I am getting some major errors, like in be.c it does not like the LIBMAIN function. Guidance would be very helpful. Thanks to all. Mike

You should be building with MingGW (preferably TDM-GCC) and MSYS. Pull the latest source from Mercurial and follow the included readme.txt. Please just scrap whatever you've produced with Watcom so far.

If you'd like to implement additional features, any and all help is welcome. We can add you as a developer on the project if you've got a lot to commit.

To build wxEuphoria on Win32: 
 
* Download the latest wxWidgets 2.8 source from www.wxWidgets.org. 
 
* Start up msys (the MinGW Shell) and navigate to where wxWidgets is located, 
  then type (see below for cross compilation instructions): 
 
  $ cd build/msw 
  $ ../../configure --disable-threads --enable-shared --enable-unicode --enable-graphics_ctx --enable-mediactrl VENDOR=eu 
  $ make 
 
  Note 1: you can add --without-subdirs to the configure line, which speeds up 
    the build time by skipping all the examples. 
 
  Note 2: after running configure, if you notice any lines say "yes" instead of 
    "builtin", re-run configure and add --with-lib=builtin (where "lib" is the 
    library name) to force wxWidgets to use its own version of that library. 
 
  Note 3: you can add -jn to your make command, where n is the number of simultaneous 
    build threads you want to use. 
 
  Note 4: if you get "Memory exhausted" errors, run "make clean" and then add 
    CXXFLAGS="-fno-keep-inline-dllexport" your make command. 
 
* Once that finishes, go to your wxEuphoria directory (see below for cross compiling): 
  $ ./configure path/to/wxWidgets 
  $ make 

-Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: wxEuphoria build

Hi, Greg Thanks for the reply. I have built wxWidgets-2.8.12, but when I try to build wxEuphoria,

./configure f/wxWidgets-2.8.12

tells me that no file or directory is found. I have moved the config.gcc and makefile.gcc from my new build to the wxWidgets root directory. I do have my directory set right for wxEuphoria.

new topic     » goto parent     » topic index » view message » categorize

4. Re: wxEuphoria build

mb7001 said...

I have built wxWidgets-2.8.12, but when I try to build wxEuphoria, ./configure f/wxWidgets-2.8.12 tells me that no file or directory is found.

I think the directory has to be relative. I guess it should say:

$ ./configure ../../path/to/wxWidgets  

mb7001 said...

I have moved the config.gcc and makefile.gcc from my new build to the wxWidgets root directory.

You shouldn't have to do this. Just build and leave wxWidgets where it is. That's why you provide the path when configuring wxEuphoria.

$ cd /c/path/to/wxWidgets-2.8.12/build/msw 
$ ../../configure --disable-threads --enable-shared --enable-unicode --enable-graphics_ctx --enable-mediactrl VENDOR=eu 
$ make 

mb7001 said...

I do have my directory set right for wxEuphoria.

I'm not sure what this means.

-Greg

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu