Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mariosgeo on October 23, 2005, 01:19:44 pm

Title: SuSE 9.3 64 bits
Post by: mariosgeo on October 23, 2005, 01:19:44 pm
Hi all,
I followed the instruction from here
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks
But codeblock won't compile because of this.
cbthreadpool.cpp: In member function `virtual void cbThreadPool::FreeThreads()
   ':
cbthreadpool.cpp:253: error: `wxUSleep' undeclared (first use this function)
cbthreadpool.cpp:253: error: (Each undeclared identifier is reported only once
   for each function it appears in.)


Does anyone know what's wrong?
Title: Re: SuSE 9.3 64 bits
Post by: thomas on October 23, 2005, 01:46:54 pm
Yes, it is a typo... has to be wxUsleep (lowercase 's').

EDIT:
The probable reason why you see this error (and why it was unnoticed otherwise) is that you use wxWidgets 2.4.2 (or any other version below 2.6.0). wxUsleep is used in the "below 2.6.0 compatibility path".
Title: Re: SuSE 9.3 64 bits
Post by: mariosgeo on October 23, 2005, 03:40:03 pm
Yes. You are right. Changed them to lowercase and compiler continues.
By the way i have wxWidgets 2.5.3
Title: Re: SuSE 9.3 64 bits
Post by: mandrav on October 23, 2005, 04:15:27 pm
A 'cvs update' should fix it. It was a typo and appeared in CVS for a few hours before it was fixed.