Thread overview
wxWindows2.4.2, how to get it compiled with dmc 8.38
Jan 14, 2004
Denis Crespe
Jan 14, 2004
Denis Crespe
Jan 14, 2004
W³odzimierz Skiba
Jan 27, 2004
Dmitry Morozhnikov
Jan 15, 2004
chris elliott
January 14, 2004
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


January 14, 2004
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
>
>


January 14, 2004
"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
January 15, 2004
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

January 27, 2004
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.