News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Compiling C::B on unix system

Started by kirash4, May 09, 2014, 06:42:00 AM

Previous topic - Next topic

kirash4

The last CentOS rpm for C::B 10.05 and the binary rpm's on C::B's website require GLIB2.14 and 2.15 respectively, and the last rpm for those is 2.12. So rather than grappling with trying to update glibc on the system, I decided to compile C::B itself. I downloaded and compiled wxWidgets 2.8.12 then grabbed the source rpm for C::B. Configuration went fine till I got to compiling it. It runs for a while then this:
autodetectcompilers.cpp: In member function 'void AutoDetectCompilers::OnMouseMotion(wxMouseEvent&)':
autodetectcompilers.cpp:167: error: 'class wxListCtrl' has no member named 'GetToolTip'
autodetectcompilers.cpp:171: error: 'class wxListCtrl' has no member named 'GetToolTip'
make[3]: *** [autodetectcompilers.lo] Error 1
make[3]: Leaving directory `/home/kirash/Downloads/codeblocks-13.12/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kirash/Downloads/codeblocks-13.12/src/sdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kirash/Downloads/codeblocks-13.12/src'
make: *** [all-recursive] Error 1


Now what? I thought C::B compiled fine against wxWidgets 2.8.x, it's 3.0.x that it has issues with.

Jenna

It works fine with wx2.8 if it is compiled with the corect parameters.
Maybe something went wrong when building wx.

Why do you try to buikd wx yourself ?
repoforge.org has working prebuild packages for CentOS5.
I build my nightlies against it.