www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - Compiling wx-2.8.8

reply Hakki Dogusan <dogusanh dynaset.org> writes:
Hi,

(xp, scppn 8.51.0n)

I'm trying to build wx; succeeded only with static/ANSI configuration. Others
UNICODE, SHARED ones are failing somewhere.

Did you try them?

--
Regards,
Hakki Dogusan
Sep 11 2008
parent reply chris elliott <biol75 york.ac.uk> writes:
Sorry, there was a bug introduced into 2.8.8 at the last minute; can you 
try 2.8.9-rc1 which was released last week?

http://biolpc22.york.ac.uk/pub/2.8.9-rc1/

chris

Hakki Dogusan wrote:
 Hi,
 
 (xp, scppn 8.51.0n)
 
 I'm trying to build wx; succeeded only with static/ANSI configuration. Others
 UNICODE, SHARED ones are failing somewhere.
 
 Did you try them?
 
 --
 Regards,
 Hakki Dogusan
Sep 12 2008
parent reply Hakki Dogusan <dogusanh dynaset.org> writes:
Hi,

chris elliott wrote:

(Thanks for reply)

 Sorry, there was a bug introduced into 2.8.8 at the last minute; can you 
 try 2.8.9-rc1 which was released last week?
 
 http://biolpc22.york.ac.uk/pub/2.8.9-rc1/
 
 chris
 
 Hakki Dogusan wrote:
 Hi,

 (xp, scppn 8.51.0n)

 I'm trying to build wx; succeeded only with static/ANSI configuration. 
 Others
 UNICODE, SHARED ones are failing somewhere.

 Did you try them?

 -- 
 Regards,
 Hakki Dogusan
I re-tried with 2.8.9-rc1. Unfortunately, problem continues. I took some notes this time: ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=static UNICODE=1 ------------------------------------------------------------------- ------------------- dmc -mn -c -cpp -odmc_mswu\monolib_fileconf.obj -o \ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE \ -I..\..\lib\dmc_lib\mswu -I..\..\include -w- \ -I..\..\src\tiff -I..\..\src\jpeg -I..\..\src\png \ -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib \ -DwxUSE_BASE=1 -Ar -Ae -H -HO- \ -HHdmc_mswu\pch_wxprec_monolib.sym -HP99 \ ..\..\src\common\fileconf.cpp Internal error: eh 759 --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=dynamic UNICODE=1 SHARED=1 ------------------------------------------------------------------- ------------------- dmc -mn -c -odmc_mswudll\wxregex_regexec.obj -o -ND \ -D_WIN32_WINNT=0x0400 \ -I..\..\include -I..\..\lib\dmc_dll\mswu -D__WXMSW__ \ -D_UNICODE -w12 -HP99 \ ..\..\src\regex\regexec.c newdfa(v, cnfa, cm, small) ^ ..\..\src\regex\rege_dfa.c(267) : Error: identifier expected struct smalldfa *small; /* preallocated space, may be NULL */ ^ ..\..\src\regex\rege_dfa.c(271) : Error: identifier or '( declarator )' expected struct smalldfa *smallwas = small; ^ ..\..\src\regex\rege_dfa.c(276) : Error: expression expected if (small == NULL) { ^ ..\..\src\regex\rege_dfa.c(282) : Error: expression expected small = (struct smalldfa *)MALLOC( ^ ..\..\src\regex\rege_dfa.c(283) : Error: '=', ';' or ',' expected Fatal error: too many errors --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. --------------------- Change small to smal Recompile --------------------- dmc -mn -c -cpp -odmc_mswudll\monodll_fileconf.obj -WD -o -ND \ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE \ -I..\..\lib\dmc_dll\mswu \ -I..\..\include -w- -I..\..\src\tiff -I..\..\src\jpeg \ -I..\..\src\png \ -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib \ -DwxUSE_BASE=1 -DWXMAKINGDLL -Ar -Ae -H -HO- \ -HHdmc_mswudll\pch_wxprec_monodll.sym -HP99 \ ..\..\src\common\fileconf.cpp Internal error: eh 759 --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=dynamic SHARED=1 ------------------------------------------------------------------- ------------------- Build succeded, but generated dll has no exported symbols (wxmsw28.lib is 1KiB) ps. Because there is no makefile.dms in it, I couldn't test wx-2.9, -- Regards, Hakki Dogusan
Sep 12 2008
next sibling parent reply chris elliott <biol75 york.ac.uk> writes:
Thank you for the notes; I don't have smake set up on this machine, so 
will look at it again tonight.

the Internal error: eh 759 lines indicate a problem with the dmc 
compiler itself, so maybe you should file these as a bug on the dmc site.

the "small" I will fix, but I have just released 2.8.9 so it won't get 
in until 2.8.10 (though the svn checkout is publicly available)

chris


Hakki Dogusan wrote:
 Hi,
 
 chris elliott wrote:
 
 (Thanks for reply)
 
 Sorry, there was a bug introduced into 2.8.8 at the last minute; can 
 you try 2.8.9-rc1 which was released last week?

 http://biolpc22.york.ac.uk/pub/2.8.9-rc1/

 chris

 Hakki Dogusan wrote:
 Hi,

 (xp, scppn 8.51.0n)

 I'm trying to build wx; succeeded only with static/ANSI 
 configuration. Others
 UNICODE, SHARED ones are failing somewhere.

 Did you try them?

 -- 
 Regards,
 Hakki Dogusan
I re-tried with 2.8.9-rc1. Unfortunately, problem continues. I took some notes this time: ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=static UNICODE=1 ------------------------------------------------------------------- ------------------- dmc -mn -c -cpp -odmc_mswu\monolib_fileconf.obj -o \ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE \ -I..\..\lib\dmc_lib\mswu -I..\..\include -w- \ -I..\..\src\tiff -I..\..\src\jpeg -I..\..\src\png \ -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib \ -DwxUSE_BASE=1 -Ar -Ae -H -HO- \ -HHdmc_mswu\pch_wxprec_monolib.sym -HP99 \ ..\..\src\common\fileconf.cpp Internal error: eh 759 --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=dynamic UNICODE=1 SHARED=1 ------------------------------------------------------------------- ------------------- dmc -mn -c -odmc_mswudll\wxregex_regexec.obj -o -ND \ -D_WIN32_WINNT=0x0400 \ -I..\..\include -I..\..\lib\dmc_dll\mswu -D__WXMSW__ \ -D_UNICODE -w12 -HP99 \ ..\..\src\regex\regexec.c newdfa(v, cnfa, cm, small) ^ ..\..\src\regex\rege_dfa.c(267) : Error: identifier expected struct smalldfa *small; /* preallocated space, may be NULL */ ^ ..\..\src\regex\rege_dfa.c(271) : Error: identifier or '( declarator )' expected struct smalldfa *smallwas = small; ^ ..\..\src\regex\rege_dfa.c(276) : Error: expression expected if (small == NULL) { ^ ..\..\src\regex\rege_dfa.c(282) : Error: expression expected small = (struct smalldfa *)MALLOC( ^ ..\..\src\regex\rege_dfa.c(283) : Error: '=', ';' or ',' expected Fatal error: too many errors --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. --------------------- Change small to smal Recompile --------------------- dmc -mn -c -cpp -odmc_mswudll\monodll_fileconf.obj -WD -o -ND \ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE \ -I..\..\lib\dmc_dll\mswu \ -I..\..\include -w- -I..\..\src\tiff -I..\..\src\jpeg \ -I..\..\src\png \ -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib \ -DwxUSE_BASE=1 -DWXMAKINGDLL -Ar -Ae -H -HO- \ -HHdmc_mswudll\pch_wxprec_monodll.sym -HP99 \ ..\..\src\common\fileconf.cpp Internal error: eh 759 --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=dynamic SHARED=1 ------------------------------------------------------------------- ------------------- Build succeded, but generated dll has no exported symbols (wxmsw28.lib is 1KiB) ps. Because there is no makefile.dms in it, I couldn't test wx-2.9, -- Regards, Hakki Dogusan
Sep 15 2008
parent Hakki Dogusan <dogusanh dynaset.org> writes:
Hi,

chris elliott wrote:
 Thank you for the notes; I don't have smake set up on this machine, so 
 will look at it again tonight.
 
 the Internal error: eh 759 lines indicate a problem with the dmc 
 compiler itself, so maybe you should file these as a bug on the dmc site.
 
I'm sure Walter will require a 10 lines code with bug report :) I don't know how to minimize fileconf.cpp to that size.
 the "small" I will fix, but I have just released 2.8.9 so it won't get 
 in until 2.8.10 (though the svn checkout is publicly available)
 
Thanks.
 chris
 
 
 Hakki Dogusan wrote:
 Hi,

 chris elliott wrote:

 (Thanks for reply)

 Sorry, there was a bug introduced into 2.8.8 at the last minute; can 
 you try 2.8.9-rc1 which was released last week?

 http://biolpc22.york.ac.uk/pub/2.8.9-rc1/

 chris

 Hakki Dogusan wrote:
 Hi,

 (xp, scppn 8.51.0n)

 I'm trying to build wx; succeeded only with static/ANSI 
 configuration. Others
 UNICODE, SHARED ones are failing somewhere.

 Did you try them?

 -- 
 Regards,
 Hakki Dogusan
I re-tried with 2.8.9-rc1. Unfortunately, problem continues. I took some notes this time: ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=static UNICODE=1 ------------------------------------------------------------------- ------------------- dmc -mn -c -cpp -odmc_mswu\monolib_fileconf.obj -o \ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE \ -I..\..\lib\dmc_lib\mswu -I..\..\include -w- \ -I..\..\src\tiff -I..\..\src\jpeg -I..\..\src\png \ -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib \ -DwxUSE_BASE=1 -Ar -Ae -H -HO- \ -HHdmc_mswu\pch_wxprec_monolib.sym -HP99 \ ..\..\src\common\fileconf.cpp Internal error: eh 759 --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=dynamic UNICODE=1 SHARED=1 ------------------------------------------------------------------- ------------------- dmc -mn -c -odmc_mswudll\wxregex_regexec.obj -o -ND \ -D_WIN32_WINNT=0x0400 \ -I..\..\include -I..\..\lib\dmc_dll\mswu -D__WXMSW__ \ -D_UNICODE -w12 -HP99 \ ..\..\src\regex\regexec.c newdfa(v, cnfa, cm, small) ^ ..\..\src\regex\rege_dfa.c(267) : Error: identifier expected struct smalldfa *small; /* preallocated space, may be NULL */ ^ ..\..\src\regex\rege_dfa.c(271) : Error: identifier or '( declarator )' expected struct smalldfa *smallwas = small; ^ ..\..\src\regex\rege_dfa.c(276) : Error: expression expected if (small == NULL) { ^ ..\..\src\regex\rege_dfa.c(282) : Error: expression expected small = (struct smalldfa *)MALLOC( ^ ..\..\src\regex\rege_dfa.c(283) : Error: '=', ';' or ',' expected Fatal error: too many errors --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. --------------------- Change small to smal Recompile --------------------- dmc -mn -c -cpp -odmc_mswudll\monodll_fileconf.obj -WD -o -ND \ -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE \ -I..\..\lib\dmc_dll\mswu \ -I..\..\include -w- -I..\..\src\tiff -I..\..\src\jpeg \ -I..\..\src\png \ -I..\..\src\zlib -I..\..\src\regex -I..\..\src\expat\lib \ -DwxUSE_BASE=1 -DWXMAKINGDLL -Ar -Ae -H -HO- \ -HHdmc_mswudll\pch_wxprec_monodll.sym -HP99 \ ..\..\src\common\fileconf.cpp Internal error: eh 759 --- errorlevel 1 SMAKE fatal error: command "dmc" returned with error code 1 Stopping. ------------------------------------------------------------------- ------------------- smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=dynamic SHARED=1 ------------------------------------------------------------------- ------------------- Build succeded, but generated dll has no exported symbols (wxmsw28.lib is 1KiB) ps. Because there is no makefile.dms in it, I couldn't test wx-2.9, -- Regards, Hakki Dogusan
-- Regards, Hakki Dogusan
Sep 19 2008
prev sibling parent chris elliott <biol75 york.ac.uk> writes:
 -------------------------------------------------------------------
------------------- 
 
 smake -fmakefile.dms MONOLITHIC=1 BUILD=release RUNTIME_LIBS=static 
 UNICODE=1
 -------------------------------------------------------------------
------------------- 
 
 dmc -mn -c -cpp -odmc_mswu\monolib_fileconf.obj  -o \
   -D_WIN32_WINNT=0x0400 -D__WXMSW__ -D_UNICODE   \
   -I..\..\lib\dmc_lib\mswu -I..\..\include -w- \
   -I..\..\src\tiff -I..\..\src\jpeg -I..\..\src\png \
   -I..\..\src\zlib  -I..\..\src\regex -I..\..\src\expat\lib \
   -DwxUSE_BASE=1  -Ar -Ae -H -HO- \
   -HHdmc_mswu\pch_wxprec_monolib.sym  -HP99 \
   ..\..\src\common\fileconf.cpp
 Internal error: eh 759
this still seems present with the current 2.8 trunk, and affects all the unicode builds I have tried. I doubt it will be fixed for 2.8.10 chris
Feb 11 2009