Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CodeBlocks build on RHEL 5.5
screamingindigital:
I downloaded wxWidgets 2.8.11(GTK) and built the libraries successfully.
I then downloaded the CodeBlocks source(SVN-6285) and attempted to build, however it stops after about 15 minutes with the following error. Before you ask, "Yes!", I did follow the build directions, however I have it as shared libraries. The Wiki shows to build with static libs. Is this a requirement?
Here is the error I receive during the build.
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src/include -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../../../../src/include -I../../../../src/sdk/wxscintilla/include -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT HexEditPanel.lo -MD -MP -MF .deps/HexEditPanel.Tpo -c HexEditPanel.cpp -fPIC -DPIC -o .libs/HexEditPanel.o
HexEditPanel.cpp: In member function 'void HexEditPanel::OnDrawAreaKeyDown(wxKeyEvent&)':
HexEditPanel.cpp:1031: error: 'class wxKeyEvent' has no member named 'GetUnicodeKey'
make[4]: *** [HexEditPanel.lo] Error 1
make[4]: Leaving directory `/mnt/2/packages/codeblocks-10.05svn6285/src/plugins/contrib/HexEditor'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/2/packages/codeblocks-10.05svn6285/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/2/packages/codeblocks-10.05svn6285/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/2/packages/codeblocks-10.05svn6285/src'
make: *** [all-recursive] Error 1
oBFusCATed:
What is the result of "wx-config --list"?
Do you have an unicode version of wxGTK?
C::B can't be build with an ansi version of wxGTK.
screamingindigital:
Doh!
Sorry about my dumb post! :?
wx-config --list returns...
Default config is gtk2-ansi-release-2.8
Is "--enable-unicode" the only configure option I need to add to create the necessary libraries?
oBFusCATed:
Why don't you use binary packages for wxGTK?
screamingindigital:
I actually have Oracle's version of RHEL 5.5 called "Unbreakable Linux", which has a lot of things "stripped" from the normal distribution. Also the repositories are limited. I am sure a binary package for Redhat 5.5 would work, but I would rather recompile. I have compiled wxGTK before.
I will try it again with unicode support enabled.
FYI, I was using Fedora Core 10 for everything, including Oracle, but I have wanted to try their "Unbreakable Linux".
Navigation
[0] Message Index
[#] Next page
Go to full version