Code::Blocks Forums
User forums => Help => Topic started by: Morphius Faydal on October 20, 2007, 11:37:37 am
-
I'm trying to build Code::Blocks on my Gentoo install, and I get a LOT of errors when I try and compile. I've attached a .txt of the complete 'make' output.
Gentoo Linux, wxGTK 2.8.4, Code::Blocks SVN 4546, amd64
[attachment deleted by admin]
-
Hello,
Why don't you use the ebuild in the gentoo forum : link (http://forums.gentoo.org/viewtopic-t-588089-highlight-.html) ?
It works without any problem 8)
-
Hello,
Why don't you use the ebuild in the gentoo forum : link (http://forums.gentoo.org/viewtopic-t-588089-highlight-.html) ?
It works without any problem 8)
I probably should. Dunno why I don't... It's just after 5am, my computer science lab is p***ing me off, and I'm hungry and poor. And my mouth tastes horrible. :(
-
It looks like you don't have the wxWidgets header files.
You have to install the wxWidgets development packages.
I don't know where to find them for gentoo.
Did you run "./bootstrap", "./configure --with-contrib-plugins=all".
I think the configure-script might show an error if some files are missing.
Look also if "wx-config -cppflags" points to the correct include-directory .
-
yes, but for gentoo, there are "ebuilds" to compile wxGTK and code::blocks ;)
Faydal has maybe not correctly configured wxTGTK, and in gentoo, the good way is to work with ebuilds
-
I used the ebuild from the Code::Blocks .tar.gz on the forums.
I did './bootstrap', then './configure --enable-contrib' before 'make'
'wx-config --cppflags' showed the right include dirs, but it seemed that several of the libs were missing. So right now I'm recompiling with USE="X"... Let's see what happens. -_-
-
Okay, recompiling wxGTK with USE="X" fixed it. :)
-
yeah, not a good idea to compile wxGTK without X support ;)
-
Of course... It makes me wonder... What's the point? If wxGTK is an x-lib, shouldn't X support be required?
-
Not necessarily. wxWidgets has some "core functionalities" (classes, functions, ...) that don't require a GUI to work.
-
yes, but without X11 support, you wouldn't compile and run C::B ;)