J'ai un probleme d'installation avec gtkguitune:
C'est quoi ce gtkmm ?
Je suis sous slack10.2, et gtk+ 2.2.6.7
[jul@darkstar:~/tmp/gtkguitune-0.7] $ make
c++ -DHAVE_CONFIG_H -I. -I. -I. `gtkmm-config --cflags` -g -O2 -c main.cc
/bin/sh: gtkmm-config: command not found
main.cc:29:21: gtk/gtk.h: No such file or directory
main.cc:30:26: gtk--/window.h: No such file or directory
main.cc:31:27: gtk--/menubar.h: No such file or directory
main.cc:32:24: gtk--/menu.h: No such file or directory
main.cc:33:24: gtk--/main.h: No such file or directory
main.cc:34:23: gtk--/box.h: No such file or directory
In file included from main.cc:38:
aboutbox.h:2:21: gtk/gtk.h: No such file or directory
In file included from main.cc:40:
guitune.h:23:29: gtk--/container.h: No such file or directory
guitune.h:24:23: gtk--/box.h: No such file or directory
guitune.h:25:25: gtk--/label.h: No such file or directory
guitune.h:26:30: gtk--/adjustment.h: No such file or directory
guitune.h:27:31: gtk--/checkbutton.h: No such file or directory
In file included from guitune.h:29,
from main.cc:40:
osziview.h:20:31: gtk--/drawingarea.h: No such file or directory
In file included from guitune.h:29,
from main.cc:40:
osziview.h:23: error: `Gtk' is not a class or namespace
osziview.h:24: error: `DrawingArea' is not a class or namespace
osziview.h:24: error: invalid base-class specification
osziview.h:45: error: `GdkEventExpose' was not declared in this scope
osziview.h:45: error: `p0' was not declared in this scope
osziview.h:45: error: 'gint' is used as a type, but is not defined as a type.
osziview.h:58: error: 'Gdk_GC' is used as a type, but is not defined as a type.
osziview.h:59: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:60: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:61: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:62: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:63: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:64: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:65: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
In file included from guitune.h:30,
from main.cc:40:
logview.h:24:31: gtk--/drawingarea.h: No such file or directory
In file included from guitune.h:30,
from main.cc:40:
logview.h:30: error: `Gtk' is not a class or namespace
logview.h:31: error: `DrawingArea' is not a class or namespace
logview.h:31: error: invalid base-class specification
logview.h:52: error: `GdkEventExpose' was not declared in this scope
logview.h:52: error: `p0' was not declared in this scope
logview.h:52: error: 'gint' is used as a type, but is not defined as a type.
logview.h:54: error: `GdkEventButton' was not declared in this scope
logview.h:54: error: `p0' was not declared in this scope
logview.h:54: error: 'gint' is used as a type, but is not defined as a type.
logview.h:65: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:66: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:67: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:68: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:69: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:70: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:71: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:72: error: 'Gdk_GC' is used as a type, but is not defined as a type.
In file included from guitune.h:31,
from main.cc:40:
lcdview.h:25:31: gtk--/drawingarea.h: No such file or directory
lcdview.h:26:25: gtk--/style.h: No such file or directory
lcdview.h:27:25: gdk--/color.h: No such file or directory
In file included from guitune.h:31,
from main.cc:40:
lcdview.h:30: error: `Gtk' is not a class or namespace
lcdview.h:31: error: `DrawingArea' is not a class or namespace
lcdview.h:31: error: invalid base-class specification
lcdview.h:42: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
lcdview.h:43: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
lcdview.h:50: error: 'Gdk_GC' is used as a type, but is not defined as a type.
In file included from main.cc:40:
guitune.h:35: error: `Gtk' is not a class or namespace
guitune.h:36: error: `VBox' is not a class or namespace
guitune.h:36: error: invalid base-class specification
guitune.h:83: error: syntax error before `::' token
guitune.h:84: error: syntax error before `::' token
guitune.h:85: error: syntax error before `::' token
guitune.h:86: error: syntax error before `::' token
guitune.h:90: error: `GdkEventAny' was not declared in this scope
guitune.h:90: error: `event' was not declared in this scope
guitune.h:90: error: invalid data member initialization
guitune.h:90: error: (use `=' to initialize static data members)
main.cc:42: error: syntax error before `::' token
main.cc:46: error: syntax error before `::' token
main.cc: In function `void process_option(int)':
main.cc:116: error: `exit' undeclared (first use this function)
main.cc:116: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cc: In function `int load_config(char***, int*, char**, int)':
main.cc:150: error: `getenv' undeclared (first use this function)
main.cc:172: error: `malloc' undeclared (first use this function)
main.cc: In function `void destroy_cb()':
main.cc:212: error: `Gtk' undeclared (first use this function)
main.cc:212: error: syntax error before `::' token
main.cc: In function `void setRecInput()':
main.cc:223: error: syntax error before `::' token
main.cc:223: error: `menu_input_rec' undeclared (first use this function)
main.cc: In function `int main(int, char**)':
main.cc:269: error: syntax error before `::' token
main.cc:273: error: `set_usize' undeclared (first use this function)
main.cc:282: error: syntax error before `::' token
main.cc:286: error: `<type error>' is not a namespace
main.cc:287: error: namespace `Menu_Helpers' undeclared
main.cc:290: error: `Menu' undeclared (first use this function)
main.cc:290: error: `menu_file' undeclared (first use this function)
main.cc:290: error: syntax error before `(' token
main.cc:291: error: `MenuList' undeclared (first use this function)
main.cc:291: error: `list_file' undeclared (first use this function)
main.cc:292: error: `slot' undeclared (first use this function)
main.cc:292: error: `MenuElem' undeclared (first use this function)
main.cc:296: error: `menu_tuning' undeclared (first use this function)
main.cc:296: error: syntax error before `(' token
main.cc:297: error: `list_tuning' undeclared (first use this function)
main.cc:298: error: `RadioMenuItem' undeclared (first use this function)
main.cc:298: error: syntax error before `::' token
main.cc:299: error: `gr3' undeclared (first use this function)
main.cc:300: error: `RadioMenuElem' undeclared (first use this function)
main.cc:305: error: `SeparatorElem' undeclared (first use this function)
main.cc:306: error: syntax error before `::' token
main.cc:307: error: `gr2' undeclared (first use this function)
main.cc:314: error: `menu_scale' undeclared (first use this function)
main.cc:314: error: syntax error before `(' token
main.cc:315: error: `list_scale' undeclared (first use this function)
main.cc:316: error: syntax error before `::' token
main.cc:317: error: `gr1' undeclared (first use this function)
main.cc:328: error: syntax error before `(' token
main.cc:329: error: `list_input_rec' undeclared (first use this function)
main.cc:330: error: syntax error before `::' token
main.cc:345: error: `gr0' undeclared (first use this function)
main.cc:356: error: `menu_options' undeclared (first use this function)
main.cc:356: error: syntax error before `(' token
main.cc:357: error: `list_opt' undeclared (first use this function)
main.cc:363: error: `menu_help' undeclared (first use this function)
main.cc:363: error: syntax error before `(' token
main.cc:364: error: `list_help' undeclared (first use this function)
main.cc:374: error: `list_bar' undeclared (first use this function)
main.cc:374: error: `menubar' undeclared (first use this function)
main.cc:383: error: syntax error before `::' token
main.cc:384: error: `vbox' undeclared (first use this function)
main.cc:391: error: syntax error before `::' token
main.cc:393: error: `win' undeclared (first use this function)
main.cc:400: error: `kit' undeclared (first use this function)
make: *** [main.o] Error 1
# Merci
Posté par transpi . En réponse au message accordeur a la guitare pro. Évalué à 1.
J'ai un probleme d'installation avec gtkguitune:
C'est quoi ce gtkmm ?
Je suis sous slack10.2, et gtk+ 2.2.6.7
[jul@darkstar:~/tmp/gtkguitune-0.7] $ make
c++ -DHAVE_CONFIG_H -I. -I. -I. `gtkmm-config --cflags` -g -O2 -c main.cc
/bin/sh: gtkmm-config: command not found
main.cc:29:21: gtk/gtk.h: No such file or directory
main.cc:30:26: gtk--/window.h: No such file or directory
main.cc:31:27: gtk--/menubar.h: No such file or directory
main.cc:32:24: gtk--/menu.h: No such file or directory
main.cc:33:24: gtk--/main.h: No such file or directory
main.cc:34:23: gtk--/box.h: No such file or directory
In file included from main.cc:38:
aboutbox.h:2:21: gtk/gtk.h: No such file or directory
In file included from main.cc:40:
guitune.h:23:29: gtk--/container.h: No such file or directory
guitune.h:24:23: gtk--/box.h: No such file or directory
guitune.h:25:25: gtk--/label.h: No such file or directory
guitune.h:26:30: gtk--/adjustment.h: No such file or directory
guitune.h:27:31: gtk--/checkbutton.h: No such file or directory
In file included from guitune.h:29,
from main.cc:40:
osziview.h:20:31: gtk--/drawingarea.h: No such file or directory
In file included from guitune.h:29,
from main.cc:40:
osziview.h:23: error: `Gtk' is not a class or namespace
osziview.h:24: error: `DrawingArea' is not a class or namespace
osziview.h:24: error: invalid base-class specification
osziview.h:45: error: `GdkEventExpose' was not declared in this scope
osziview.h:45: error: `p0' was not declared in this scope
osziview.h:45: error: 'gint' is used as a type, but is not defined as a type.
osziview.h:58: error: 'Gdk_GC' is used as a type, but is not defined as a type.
osziview.h:59: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:60: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:61: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:62: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:63: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:64: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
osziview.h:65: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
In file included from guitune.h:30,
from main.cc:40:
logview.h:24:31: gtk--/drawingarea.h: No such file or directory
In file included from guitune.h:30,
from main.cc:40:
logview.h:30: error: `Gtk' is not a class or namespace
logview.h:31: error: `DrawingArea' is not a class or namespace
logview.h:31: error: invalid base-class specification
logview.h:52: error: `GdkEventExpose' was not declared in this scope
logview.h:52: error: `p0' was not declared in this scope
logview.h:52: error: 'gint' is used as a type, but is not defined as a type.
logview.h:54: error: `GdkEventButton' was not declared in this scope
logview.h:54: error: `p0' was not declared in this scope
logview.h:54: error: 'gint' is used as a type, but is not defined as a type.
logview.h:65: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:66: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:67: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:68: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:69: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:70: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:71: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
logview.h:72: error: 'Gdk_GC' is used as a type, but is not defined as a type.
In file included from guitune.h:31,
from main.cc:40:
lcdview.h:25:31: gtk--/drawingarea.h: No such file or directory
lcdview.h:26:25: gtk--/style.h: No such file or directory
lcdview.h:27:25: gdk--/color.h: No such file or directory
In file included from guitune.h:31,
from main.cc:40:
lcdview.h:30: error: `Gtk' is not a class or namespace
lcdview.h:31: error: `DrawingArea' is not a class or namespace
lcdview.h:31: error: invalid base-class specification
lcdview.h:42: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
lcdview.h:43: error: 'Gdk_Color' is used as a type, but is not defined as a
type.
lcdview.h:50: error: 'Gdk_GC' is used as a type, but is not defined as a type.
In file included from main.cc:40:
guitune.h:35: error: `Gtk' is not a class or namespace
guitune.h:36: error: `VBox' is not a class or namespace
guitune.h:36: error: invalid base-class specification
guitune.h:83: error: syntax error before `::' token
guitune.h:84: error: syntax error before `::' token
guitune.h:85: error: syntax error before `::' token
guitune.h:86: error: syntax error before `::' token
guitune.h:90: error: `GdkEventAny' was not declared in this scope
guitune.h:90: error: `event' was not declared in this scope
guitune.h:90: error: invalid data member initialization
guitune.h:90: error: (use `=' to initialize static data members)
main.cc:42: error: syntax error before `::' token
main.cc:46: error: syntax error before `::' token
main.cc: In function `void process_option(int)':
main.cc:116: error: `exit' undeclared (first use this function)
main.cc:116: error: (Each undeclared identifier is reported only once for each
function it appears in.)
main.cc: In function `int load_config(char***, int*, char**, int)':
main.cc:150: error: `getenv' undeclared (first use this function)
main.cc:172: error: `malloc' undeclared (first use this function)
main.cc: In function `void destroy_cb()':
main.cc:212: error: `Gtk' undeclared (first use this function)
main.cc:212: error: syntax error before `::' token
main.cc: In function `void setRecInput()':
main.cc:223: error: syntax error before `::' token
main.cc:223: error: `menu_input_rec' undeclared (first use this function)
main.cc: In function `int main(int, char**)':
main.cc:269: error: syntax error before `::' token
main.cc:273: error: `set_usize' undeclared (first use this function)
main.cc:282: error: syntax error before `::' token
main.cc:286: error: `<type error>' is not a namespace
main.cc:287: error: namespace `Menu_Helpers' undeclared
main.cc:290: error: `Menu' undeclared (first use this function)
main.cc:290: error: `menu_file' undeclared (first use this function)
main.cc:290: error: syntax error before `(' token
main.cc:291: error: `MenuList' undeclared (first use this function)
main.cc:291: error: `list_file' undeclared (first use this function)
main.cc:292: error: `slot' undeclared (first use this function)
main.cc:292: error: `MenuElem' undeclared (first use this function)
main.cc:296: error: `menu_tuning' undeclared (first use this function)
main.cc:296: error: syntax error before `(' token
main.cc:297: error: `list_tuning' undeclared (first use this function)
main.cc:298: error: `RadioMenuItem' undeclared (first use this function)
main.cc:298: error: syntax error before `::' token
main.cc:299: error: `gr3' undeclared (first use this function)
main.cc:300: error: `RadioMenuElem' undeclared (first use this function)
main.cc:305: error: `SeparatorElem' undeclared (first use this function)
main.cc:306: error: syntax error before `::' token
main.cc:307: error: `gr2' undeclared (first use this function)
main.cc:314: error: `menu_scale' undeclared (first use this function)
main.cc:314: error: syntax error before `(' token
main.cc:315: error: `list_scale' undeclared (first use this function)
main.cc:316: error: syntax error before `::' token
main.cc:317: error: `gr1' undeclared (first use this function)
main.cc:328: error: syntax error before `(' token
main.cc:329: error: `list_input_rec' undeclared (first use this function)
main.cc:330: error: syntax error before `::' token
main.cc:345: error: `gr0' undeclared (first use this function)
main.cc:356: error: `menu_options' undeclared (first use this function)
main.cc:356: error: syntax error before `(' token
main.cc:357: error: `list_opt' undeclared (first use this function)
main.cc:363: error: `menu_help' undeclared (first use this function)
main.cc:363: error: syntax error before `(' token
main.cc:364: error: `list_help' undeclared (first use this function)
main.cc:374: error: `list_bar' undeclared (first use this function)
main.cc:374: error: `menubar' undeclared (first use this function)
main.cc:383: error: syntax error before `::' token
main.cc:384: error: `vbox' undeclared (first use this function)
main.cc:391: error: syntax error before `::' token
main.cc:393: error: `win' undeclared (first use this function)
main.cc:400: error: `kit' undeclared (first use this function)
make: *** [main.o] Error 1