1. wxLibrary

I am unable to compile the wxEUPHORIA.

If I follow the steps I see a compile error when compiling wxWidgets 2.8.10:

E:\wxWidgets-2.8.10\build\msw>wmake -f makefile.wat BUILD=release USE_THREADS=0 
SHARED=1 RUNTIME_LIBS=static UNICODE=1 VENDOR=eu 
Open Watcom Make Version 1.7 
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. 
Source code is available under the Sybase Open Watcom Public License. 
See http://www.openwatcom.org/ for details. 
        if not exist ..\..\lib\wat_dll\mswu mkdir ..\..\lib\wat_dll\mswu 
        if not exist ..\..\lib\wat_dll\mswu\wx mkdir ..\..\lib\wat_dll\mswu\wx 
        if not exist ..\..\lib\wat_dll\mswu\wx\msw mkdir ..\..\lib\wat_dll\mswu\ 
wx\msw 
        wcc386 -p "..\..\include\wx\msw\genrcdefs.h" > "..\..\lib\wat_dll\mswu\w 
x\msw\rcdefs.h" 
        wpp386 -bt=nt -zq -fo=wat_mswudll\monodll_init.obj -bd -d0 -ot -ox   -d_ 
_WXMSW__     -dwxNO_THREADS -d_UNICODE  -i=..\..\lib\wat_dll\mswu -i=..\..\inclu 
de -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=..\..\src\tiff -i=..\..\src\jpeg - 
i=..\..\src\png -i=..\..\src\zlib -i=..\..\src\regex -i=..\..\src\expat\lib -dwx 
USE_BASE=1 -dWXMAKINGDLL /fh=wat_mswudll\wxprec_monodll.pch -xr -xs   ..\..\src\ 
common\init.cpp 
..\..\src\common\init.cpp(164): Error! E263: col(1) nested class 'wxDummyCSMembe 
rcsInit' has not been defined 

If I try to skip the step, I find that I unsurprisingly run into another error:

E:\wxeu>make.bat e:\wxWidgets-2.8.10 
Open Watcom Make Version 1.7 
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. 
Source code is available under the Sybase Open Watcom Public License. 
See http://www.openwatcom.org/ for details. 
        wlink runtime windows=4.0 @wat_dll\wxeu.lbc @wat_dll\exports.lbc 
Error(E70): Cannot Load/Unload DLL (wlinkd) 
Error(E42): Last command making (wat_dll\libwxeu.dll) returned a bad status 
Error(E02): Make execution terminated 

I suppose I should look for the older version of wxWidgets-2.8.7, as that is what is in the readme file. Correct me if I am wrong.

Shawn Pringle

new topic     » topic index » view message » categorize

2. Re: wxLibrary

SDPringle said...

If I try to skip the step, I find that I unsurprisingly run into another error:

E:\wxeu>make.bat e:\wxWidgets-2.8.10 
Open Watcom Make Version 1.7 
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. 
Source code is available under the Sybase Open Watcom Public License. 
See http://www.openwatcom.org/ for details. 
        wlink runtime windows=4.0 @wat_dll\wxeu.lbc @wat_dll\exports.lbc 
Error(E70): Cannot Load/Unload DLL (wlinkd) 
Error(E42): Last command making (wat_dll\libwxeu.dll) returned a bad status 
Error(E02): Make execution terminated 

I suppose I should look for the older version of wxWidgets-2.8.7, as that is what is in the readme file. Correct me if I am wrong.

Shawn Pringle

I'm not sure about your first problem, as I've only compiled version 2.8.7 and below. However, to fix the "missing wlinkd" problem, I had to go into my C:\WATCOM\binnt folder and copy wlink.dll to wlinkd.dll. It seems to have fixed the problem and everything seems to compile fine.

Also, I zipped up my wxWidgets 2.8.7 source directory and posted it to the wxEuphoria website. I couldn't find it anywhere online, only 2.8.10 (current stable) and 2.8.4 (previous stable).

wxWidgets-2.8.7.zip (16.7 MB)

-Greg

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

3. Re: wxLibrary

ghaberek said...

I'm not sure about your first problem, as I've only compiled version 2.8.7 and below. However, to fix the "missing wlinkd" problem, I had to go into my C:\WATCOM\binnt folder and copy wlink.dll to wlinkd.dll. It seems to have fixed the problem and everything seems to compile fine.

They changed the dll name from 1.7 to 1.8 for some reason.

Matt

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

4. Re: wxLibrary

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 
 
pause 
this 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

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

5. Re: wxLibrary

If you're using the SVN, you can just use my wxmake.bat (on Windows) and wxmake (on Linux) to build libwxeu.

Also, you only have to build the wxWidgets DLL from source once. Then put it in your %EUDIR%\BIN directory.

-Greg

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

6. Re: wxLibrary

ghaberek said...

If you're using the SVN, you can just use my wxmake.bat (on Windows) and wxmake (on Linux) to build libwxeu.

Hi Greg,

I did not yet try wxmake.bat, because the dlls for svn 390 which I created like above mentioned, do work for me in Windows Vista both with Eu 4.0 (r2075) and Eu 3.1.1, including the additions you added. wxeud.e shows: wxNEED_BUILD = 14, wxDEBUG = 1, and there is no complaint about failing functions.

What version of OpenWatcom do you use? Using OpenWatcom 1.8 does not work for me to create the dlls for wxEuphoria. Will it work with wxmake.bat?

Roland

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

7. Re: wxLibrary

RStowasser said...

What version of OpenWatcom do you use? Using OpenWatcom 1.8 does not work for me to create the dlls for wxEuphoria. Will it work with wxmake.bat?

Apparently I'm using Version 1.7. I haven't changed the version of OpenWatcom that I use since I started doing wxEuphoria development sometime last year.

C:\>wmake 
Open Watcom Make Version 1.7 
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. 
Source code is available under the Sybase Open Watcom Public License. 
See http://www.openwatcom.org/ for details. 
 
C:\>wpp386 
Open Watcom C++32 Optimizing Compiler Version 1.7 
Portions Copyright (c) 1989-2002 Sybase, Inc. All Rights Reserved. 
Source code is available under the Sybase Open Watcom Public License. 
See http://www.openwatcom.org/ for details. 

I will continue to use OpenWatcom 1.7 and wxWidgets 2.8.7 until Matt fixes the library to work with the newer versions.

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu