www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - wxWindows2.4.2, how to get it compiled with dmc 8.38

reply "Denis Crespe" <null1 movimento.biz> writes:
Hello,

I have tried to compile wxWindows 2.4.2 following the
http://www.digitalmars.com/~arjan/   instructions but without the
dmcpatchkit.zip (which is for 2.4.1 right ?).  I ran into this error message
:


dmc -c -cpp -Ae -Ar -mn -D_WINDOWS -6 -a8 -Nc -c -H -HD..\..\d_mars -HO- -DW
XMSW -D__WIN32__ -D__WIN95__ -D__WXDEBUG__  -I..\..\include -I..\..\lib\_sc 
-I..\..\contrib\include -I..\../src/regex;..\../src/png;..\../src/jpeg;..\..
/src/zlib;..\../src/tiff
 ..\..\src\common\fileconf.cpp -o..\..\src\common\fileconf.obj
                ((m_linesTail) ? m_linesTail->Text().c_str() :
wxEmptyString) );

^
..\..\src\common\fileconf.cpp(1209) : Error: ambiguous reference to symbol
Had: wxLogTrace(char const *,...)
and: wxLogTrace(char const *,char const *,...)
--- errorlevel 1

--- errorlevel 1

Are there any corrections I am supposed to make before compiling ?

Thanks for helping and congratulations for all the good job from the DM
Team.
Denis
Jan 14 2004
next sibling parent reply "Denis Crespe" <null1 movimento.biz> writes:
I just commented the line 1209 out and it worked fairly well. Anyone has
another solution ?

Thanks,
Denis

"Denis Crespe" <null1 movimento.biz> a écrit dans le message de
news:bu3anm$k43$1 digitaldaemon.com...
 Hello,

 I have tried to compile wxWindows 2.4.2 following the
 http://www.digitalmars.com/~arjan/   instructions but without the
 dmcpatchkit.zip (which is for 2.4.1 right ?).  I ran into this error
message
 :
dmc -c -cpp -Ae -Ar -mn -D_WINDOWS -6 -a8 -Nc -c -H -HD..\..\d_mars -HO- -DW

XMSW -D__WIN32__ -D__WIN95__ -D__WXDEBUG__  -I..\..\include -I..\..\lib\_sc
 -I..\..\contrib\include -I..\../src/regex;..\../src/png;..\../src/jpeg;..\
..
 /src/zlib;..\../src/tiff
  ..\..\src\common\fileconf.cpp -o..\..\src\common\fileconf.obj
                 ((m_linesTail) ? m_linesTail->Text().c_str() :
 wxEmptyString) );

 ^
 ..\..\src\common\fileconf.cpp(1209) : Error: ambiguous reference to symbol
 Had: wxLogTrace(char const *,...)
 and: wxLogTrace(char const *,char const *,...)
 --- errorlevel 1

 --- errorlevel 1

 Are there any corrections I am supposed to make before compiling ?

 Thanks for helping and congratulations for all the good job from the DM
 Team.
 Denis
Jan 14 2004
next sibling parent "Włodzimierz Skiba" <abx abx.art.pl> writes:
"Denis Crespe" <null1 movimento.biz> wrote in
news:bu3npe$19bj$1 digitaldaemon.com: 

 I just commented the line 1209 out and it worked fairly well. Anyone
 has another solution ?
See how it was fixed for next release (content of last diff): http://cvs.wxwindows.org/viewcvs.cgi/wxWindows/include/wx/log.h ABX
Jan 14 2004
prev sibling parent Dmitry Morozhnikov <dmiceman mail.ru> writes:
In article <bu3npe$19bj$1 digitaldaemon.com>, Denis Crespe says...
I just commented the line 1209 out and it worked fairly well. Anyone has
another solution ?
Commenting this unneeded line work pretty well.
Jan 27 2004
prev sibling parent chris elliott <biol75 york.ac.uk> writes:
Denis Crespe wrote:


 ^
 ..\..\src\common\fileconf.cpp(1209) : Error: ambiguous reference to symbol
 Had: wxLogTrace(char const *,...)
 and: wxLogTrace(char const *,char const *,...)
wxlogTrace is a method for reporting wxWindows errors, so you should be able to comemnt out the wxLogtrace calls without affecting your own program. Under debugging conditions wxLogTrace gives a report, under release mode it compiles to nothing chris
Jan 15 2004