Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: diehard2 on October 19, 2011, 07:48:29 pm
-
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.
-
Your system might miss the 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.
-
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.
-
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.
-
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.
I will do, and I know the cause for the error.
A fix comes soon.
-
Should be fixed in svn r7504.
wxWidgets now has to be at least 2.8.8.
The other issue should be fixed also.
the use of gtk-notebook can be disabled, if ./configure is run with --enable-gtk-notebook=no or --disable-getk-notebook (see ./configure --help).
Don't forget to run ./bootstrap and ./configure again.
Maybe a make clean is also needed, at least src/src/main.o and src/src/notebookstyles.o (if they exist) should be removed.
-
Thanks, its fixed