aMule Forum

English => Compilation problems => Topic started by: Coronas on June 20, 2006, 08:31:57 AM

Title: aMule-cvs-20060620 MuleDebug.cpp include
Post by: Coronas on June 20, 2006, 08:31:57 AM
Hi,

after todays include-remove-session, there's an error in MuleDebug.cpp:
Code: [Select]
MuleDebug.cpp: In function `wxString get_backtrace(unsigned int)':
MuleDebug.cpp:384: error: `wxThread' has not been declared
MuleDebug.cpp:384: error: `IsMain' undeclared (first use this function)
MuleDebug.cpp:384: error: (Each undeclared identifier is reported only once for each function it appears in.)
MuleDebug.cpp:392: error: `wxExecute' undeclared (first use this function)
make[5]: *** [libmulecommon_a-MuleDebug.o] Fehler 1
make[5]: Leaving directory `/home/tux/dreambox/cdk/amule-cvs/src/libs/common'
make[4]: *** [all-recursive] Fehler 1
cu
Title: Re: aMule-cvs-20060620 MuleDebug.cpp include
Post by: Kry on June 20, 2006, 04:07:00 PM
Fixed on CVS.
Title: Re: aMule-cvs-20060620 MuleDebug.cpp include
Post by: Coronas on June 21, 2006, 08:51:22 AM
OK, just one more missing:
 
Code: [Select]
MuleDebug.cpp: In function `wxString get_backtrace(unsigned int)':
MuleDebug.cpp:393: error: `wxExecute' undeclared (first use this function)
MuleDebug.cpp:393: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[5]: *** [libmulecommon_a-MuleDebug.o] Fehler 1
cu
Title: Re: aMule-cvs-20060620 MuleDebug.cpp include
Post by: linuxfever on June 21, 2006, 11:32:45 PM
add this line at the start to the file (MuleDebug.cpp):

#include
Title: Re: aMule-cvs-20060620 MuleDebug.cpp include
Post by: Coronas on June 22, 2006, 08:57:25 PM
Thanks, that did it! The compilation finished without further errors. Kry, could you please re-add the #include in cvs?
Title: Re: aMule-cvs-20060620 MuleDebug.cpp include
Post by: Kry on June 23, 2006, 01:59:03 AM
Yes. But I won't. Because I'm evil.
Title: Re: aMule-cvs-20060620 MuleDebug.cpp include
Post by: Coronas on June 23, 2006, 09:01:40 AM
Oh yes, you are evil indeed :rolleyes:
Title: Re: aMule-cvs-20060620 MuleDebug.cpp include
Post by: Kry on June 23, 2006, 04:44:17 PM
:]