User forums > Help
The latest SVN (2809) does not build on GNU/Linux
vesselin_peev:
It built fine up to this SVN revision. gcc 3.4.4 used.
--- Quote ---gdb_tipwindow.cpp:40:25: gtk/gtk.h: No such file or directory
gdb_tipwindow.cpp: In constructor `GDBTipWindow::GDBTipWindow(wxWindow*, const wxString&, const wxString&, const wxString&, wxCoord, GDBTipWindow**, wxRect*)':
gdb_tipwindow.cpp:186: error: `GTK_WIDGET_HAS_GRAB' undeclared (first use this function)
gdb_tipwindow.cpp:186: error: (Each undeclared identifier is reported only oncefor each function it appears in.)
gdb_tipwindow.cpp:187: error: `gtk_grab_add' undeclared (first use this function)
gdb_tipwindow.cpp: In destructor `virtual GDBTipWindow::~GDBTipWindow()':
gdb_tipwindow.cpp:203: error: `GTK_WIDGET_HAS_GRAB' undeclared (first use this function)
gdb_tipwindow.cpp:204: error: `gtk_grab_remove' undeclared (first use this function)
gdb_tipwindow.cpp: In member function `void GDBTipWindow::Close()':
gdb_tipwindow.cpp:257: error: `GTK_WIDGET_HAS_GRAB' undeclared (first use this function)
gdb_tipwindow.cpp:258: error: `gtk_grab_remove' undeclared (first use this function)
make[4]: *** [gdb_tipwindow.lo] Error 1
--- End quote ---
Der Meister:
I can confirm this with gcc 3.4.6 on gentoo. It seems as if the include-directory for gtk is missing thus gcc cannot find gtk/gtk.h.
vesselin_peev:
Yes, the first error is obviously the cause for all the rest. Perhaps some include paths have been removed from the build scripts? I have gtk.h in /usr/include/gtk-2.0/gtk/gtk.h.
Der Meister:
No, they have not been removed. They never were there as Code::Blocks normally does not use GTK directly, it just uses wxGTK.
Unfortunately I'm not that familiar with autotools to correctly add this include-directory to the makefiles or to the configure script.
mandrav:
Sorry for this. I 'll fix this in a while...
Navigation
[0] Message Index
[#] Next page
Go to full version