User forums > General (but related to Code::Blocks)

Problems compiling C::B source code

(1/2) > >>

diehard2:
Hello, I got the latest svn code, and installed all of the dev packages I should need to build codeblocks. I've run bootstrap, ./configure, and make. I'm getting an error

notebookstyles.cpp:19:25: fatal error: gtk/gtk.h: No such file or directory

I have in my usr/include gtk-2.0

Sorry if this is easy to fix (I'm new at developing in Linux), but how do I get C::B to compile. Thanks for any help.

Jenna:
Your system might miss the
--- Code: ---pkg-config
--- End code ---
package.
If that's the case you should get an error if you run ./configure.
I will correct it this eveneing.

If you have pkg-config installed, something different went wrong.

diehard2:
Hi, I have the latest version of pkg-config. I'm running ubuntu 11.1. I attached the output of configure. Thanks for the help.

MortenMacFly:
Jens, in this log I see this entry:
checking for wxWidgets version >= 2.8.0... yes (version 2.8.11)
I believe this is not good. IMHO C::B needs at least wxWidgets 2.8.9 (IIRC) to compile / work, it might even be 2.8.10. You might check this out, too.

Jenna:

--- Quote from: MortenMacFly on October 19, 2011, 08:43:54 pm ---Jens, in this log I see this entry:
checking for wxWidgets version >= 2.8.0... yes (version 2.8.11)
I believe this is not good. IMHO C::B needs at least wxWidgets 2.8.9 (IIRC) to compile / work, it might even be 2.8.10. You might check this out, too.

--- End quote ---
I will do, and I know the cause for the error.
A fix comes soon.

Navigation

[0] Message Index

[#] Next page

Go to full version