News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The latest SVN (2809) does not build on GNU/Linux

Started by vesselin_peev, August 03, 2006, 04:16:13 PM

Previous topic - Next topic

vesselin_peev

It built fine up to this SVN revision. gcc 3.4.4 used.

Quotegdb_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

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.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

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.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

mandrav

Be patient!
This bug will be fixed soon...


mandrav

Be patient!
This bug will be fixed soon...

vesselin_peev

After a distclean, building 2810 fails with "src/plugins/debuggergdb/Makefile.am:16: linker flags such as `--libs' belong in`libdebuggergdb_la_LDFLAGS
make[3]: *** [Makefile.in] Error 1".

mandrav

Darn, I couldn't test it before.
Moved it where it suggested and commited again. Let's hope it works now  :o
Be patient!
This bug will be fixed soon...

TheTuxKeeper

Quote from: mandrav on August 03, 2006, 06:50:34 PM
Darn, I couldn't test it before.
Moved it where it suggested and commited again. Let's hope it works now  :o
Debuggergdb in rev2811 compiles fine for me. :)
Nightly builds for openSUSE