User forums > Using Code::Blocks

Need help with code::blocks and gtk

(1/3) > >>

nikel:
Hi, I installed gtk 3.0 dev (using apt-get install), libwxgtk (using synaptic) and codeblocks (using apt-get). I'm getting error for my gtk project:


--- Quote ---fatal error: gtk/gtk.h: no such file or directory
--- End quote ---

Here's a screenshot:

stahta01:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Is the GTK devel package installed?

Edit: After installing GTK devel package, did you exit out of Code::Blocks and reenter CB and try rebuilding.

Tim S.

nikel:
Thanks for the quick reply. No I don't think so. I just tried


--- Code: ---sudo apt-get install gtk-devel
--- End code ---

but I got error:


--- Quote ---E: Unable to locate package gtk-devel
--- End quote ---

nikel:
I installed codeblock after installing gtk. Anyway I tried dpkg-reconfigure codeblocks if you mean that, it still doesn't work. And searched a lot for rebuilding codeblocks however couldn't find anything useful. How can I rebuild CB?

stahta01:
POST A BUILD LOG!

Navigation

[0] Message Index

[#] Next page

Go to full version