News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

SuSE 9.3 64 bits

Started by mariosgeo, October 23, 2005, 01:19:44 PM

Previous topic - Next topic

mariosgeo

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?

thomas

#1
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".
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

mariosgeo

Yes. You are right. Changed them to lowercase and compiler continues.
By the way i have wxWidgets 2.5.3

mandrav

A 'cvs update' should fix it. It was a typo and appeared in CVS for a few hours before it was fixed.
Be patient!
This bug will be fixed soon...