Re: wxLibrary
- Posted by RStowasser May 09, 2009
- 1173 views
SDPringle said...
I am unable to compile the wxEUPHORIA.
This is what I did to create the dlls for wxEuphoria svn 390 (wxeu) with OpenWatcom 1.7:
I used the dist.bat to create the distro\wxEuphoria folder which I copied to d:\euphoria\wxEuphoria. I had to copy makedoc.exw from another source (branches wxeu280?) and translate/compile it to create the 0.html documentation.
I used wxWidgets-2.8.7 which I installed on drive d:
In d:\wxEuphoria\src\makefile.wat I commented out near the beginning:
... ! loaddll wpp386 wppd386 # ! loaddll wlink wlinkd --not necessary? ! loaddll wlib wlibd ...For updating exports.lbc I used grep.exe and sed.exe which is available at http://gnuwin32.sourceforge.net. I used a batchfile makedlls.bat which applies the instructions of readme.txt in wxEuphoria/src:
d: del \wxWidgets-2.8.7\build\msw\wat_mswudll del \wxWidgets-2.8.7\lib\wat_dll cd \wxWidgets-2.8.7\build\msw wmake -f makefile.wat clean wmake -f makefile.wat BUILD=release USE_THREADS=0 SHARED=1 RUNTIME_LIBS=static UNICODE=1 VENDOR=eu d: del \wxEuphoria\src\wat_dll\*.* cd \euphoria\wxEuphoria\src copy ..\include\wxeud.e wxeud.e wmake -f makefile.wat clean rem for grep.exe and sed.exe set path=d:\gnuwin32\bin;%path% wmake -f makefile.wat exports wmake -f makefile.wat USE_THREADS=0 BUILD=release SHARED=1 RUNTIME_LIBS=static WXDIR=d:\wxwidgets-2.8.7 copy wat_dll\libwxeu.dll d:\euphoria\wxEuphoria\bin copy d:\wxWidgets-2.8.7\lib\wat_dll\wxmsw28u_wat_eu.dll d:\euphoria\wxEuphoria\bin pausethis all works for me with OW 1.7a. The wxEuphoria demos, wxide and wxeditor work ok with the dlls and euiw (r2068) which is build with OpenWatcom 1.8. But I cannot create the dlls for wxEuphoria with OW 1.8.
Roland