Author Topic: SuSE 9.3 64 bits  (Read 4272 times)

mariosgeo

  • Guest
SuSE 9.3 64 bits
« 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?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: SuSE 9.3 64 bits
« Reply #1 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".
« Last Edit: October 23, 2005, 01:50:05 pm by thomas »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

mariosgeo

  • Guest
Re: SuSE 9.3 64 bits
« Reply #2 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

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: SuSE 9.3 64 bits
« Reply #3 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.
Be patient!
This bug will be fixed soon...