Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Package gtk+-2.0 was not found in the pkg-config search path.
Pecan:
SVN 2839; Ubuntu Breezy
I'm getting the following compile errors:
note: the "’" does not show up on Linux, I copy/pasted/posted to windows.
--- Code: ----------------- Build: Debugger in Code::Blocks - Unix ---------------
Compiling: plugins/debuggergdb/gdb_tipwindow.cpp
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
plugins/debuggergdb/gdb_tipwindow.cpp:40:25: error: gtk/gtk.h: No such file or directory
plugins/debuggergdb/gdb_tipwindow.cpp: In constructor ‘GDBTipWindow::GDBTipWindow(wxWindow*, const wxString&, const wxString&, const wxString&, const wxString&, wxCoord, GDBTipWindow**, wxRect*)’:
plugins/debuggergdb/gdb_tipwindow.cpp:190: error: ‘GTK_WIDGET_HAS_GRAB’ was not declared in this scope
plugins/debuggergdb/gdb_tipwindow.cpp:191: error: ‘gtk_grab_add’ was not declared in this scope
plugins/debuggergdb/gdb_tipwindow.cpp: In destructor ‘virtual GDBTipWindow::~GDBTipWindow()’:
plugins/debuggergdb/gdb_tipwindow.cpp:207: error: ‘GTK_WIDGET_HAS_GRAB’ was not declared in this scope
plugins/debuggergdb/gdb_tipwindow.cpp:208: error: ‘gtk_grab_remove’ was not declared in this scope
plugins/debuggergdb/gdb_tipwindow.cpp: In member function ‘void GDBTipWindow::Close()’:
plugins/debuggergdb/gdb_tipwindow.cpp:261: error: ‘GTK_WIDGET_HAS_GRAB’ was not declared in this scope
plugins/debuggergdb/gdb_tipwindow.cpp:262: error: ‘gtk_grab_remove’ was not declared in this scope
Process terminated with status 1 (0 minutes, 44 seconds)
7 errors, 0 warnings
--- End code ---
Is this legit? If so, how do I find "gtk+-2.0.pc" directory, and add it to PKG_CONFIG_PATH?
mandrav:
You need the gtk2 development package, and we need to test for it in configure...
Pecan:
--- Quote from: mandrav on August 12, 2006, 06:40:55 pm ---You need the gtk2 development package, and we need to test for it in configure...
--- End quote ---
Does this mean I have to rebuild CB all over again, ie, the ./bootstrap thingie?
When did all this change? I've been compiling CB with CB for 6 months now. I thought I'd followed the wiki correctly.
How do I get the gtk2 development package. I'm not very Ubuntu savy.
thanks
I've just searched the wiki again. There is no info on how to get a gtk2 dev package. And there are only 3 messages on the forum about PKG_CONFIG_PATH; which seem to apply only to fedora.
mandrav:
--- Quote ---Does this mean I have to rebuild CB all over again, ie, the ./bootstrap thingie?
--- End quote ---
No, no...
What I meant was that we should add a check for it in configure (the gtk2 devel files).
--- Quote ---How do I get the gtk2 development package. I'm not very Ubuntu savy.
--- End quote ---
sudo apt-get install libgtk2.0-dev
afb:
--- Quote from: mandrav on August 12, 2006, 07:21:20 pm ---
What I meant was that we should add a check for it in configure (the gtk2 devel files).
--- End quote ---
Sounds like a good idea, as it shows the same thing for wxMac too... :-)
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Navigation
[0] Message Index
[#] Next page
Go to full version