#1 Le 01/06/2007, à 18:17
- zozo_serieux
problèmes de compilation après réinstallation ubuntu 6.06
Bonsoir,
j'ai réinstallé ubuntu 6.06 que j'utilisais depuis 1 an et j'ai perdu tout ce que j'avais installé.
Mes problèmes actuels:
après réinstallation de build-essentail pour compiler
1) quand je compile un petit programme en C tout bête avec "gcc helloworld.c -o helloworld" par exemple qui écrit "helloworld", l'exécutable produit ne s'exécute pas ensuite. La console me renvoie "bash: helloworld : commande introuvable"
QU'ai-je fait comme bêtise ?
2) il m'est impossible de faire un "make" correct avec DBP (david's bash processor" pour gimp que j'utilisais pour automatiser le traitement par lot des photos.
J'obtiens
gui.cc:353: erreur: «_selector» was not declared in this scope
gui.cc:353: erreur: «GTK_DIALOG» was not declared in this scope
gui.cc:353: erreur: «gtk_dialog_run» was not declared in this scope
gui.cc:354: erreur: «GTK_RESPONSE_ACCEPT» was not declared in this scope
gui.cc:358: erreur: «GTK_RESPONSE_OK» was not declared in this scope
gui.cc:361: erreur: «gtk_widget_hide» was not declared in this scope
gui.cc: In member function «void Dbp::InputGui::closeFileSelector()»:
gui.cc:366: erreur: «_selector» was not declared in this scope
gui.cc:366: erreur: «gtk_widget_hide» was not declared in this scope
gui.cc: At global scope:
gui.cc:377: erreur: variable or field «removeSelectedFile» declared void
gui.cc:377: erreur: «int Dbp::InputGui::removeSelectedFile» is not a static member of «struct Dbp::InputGui»
gui.cc:377: erreur: «GtkTreeModel» was not declared in this scope
gui.cc:377: erreur: «model» was not declared in this scope
gui.cc:377: erreur: «GtkTreePath» was not declared in this scope
gui.cc:377: erreur: «path» was not declared in this scope
gui.cc:377: erreur: «GtkTreeIter» was not declared in this scope
gui.cc:377: erreur: «iter» was not declared in this scope
gui.cc:377: erreur: «gpointer» was not declared in this scope
gui.cc:377: erreur: initializer liste d'expressions traitée comme une expression composée
gui.cc:378: erreur: expected «,» or «;» before «{» token
gui.cc: In member function «void Dbp::InputGui::removeFiles()»:
gui.cc:393: erreur: «_inputListView» was not declared in this scope
gui.cc:393: erreur: «GTK_TREE_VIEW» was not declared in this scope
gui.cc:393: erreur: «gtk_tree_view_get_selection» was not declared in this scopegui.cc:394: erreur: «gtk_tree_selection_selected_foreach» was not declared in this scope
gui.cc: In member function «void Dbp::InputGui::rebuildInputList()»:
gui.cc:407: erreur: «_inputList» was not declared in this scope
gui.cc:407: erreur: «gtk_list_store_clear» was not declared in this scope
gui.cc:411: erreur: «GtkTreeIter» was not declared in this scope
gui.cc:411: erreur: expected `;' before «newItem»
gui.cc:412: erreur: «newItem» was not declared in this scope
gui.cc:412: erreur: «gtk_list_store_append» was not declared in this scope
gui.cc:413: erreur: «gtk_list_store_set» was not declared in this scope
gui.cc:417: erreur: «_removeButton» was not declared in this scope
gui.cc:417: erreur: «FALSE» was not declared in this scope
gui.cc:417: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:418: erreur: «_clearButton» was not declared in this scope
gui.cc:420: erreur: «_removeButton» was not declared in this scope
gui.cc:420: erreur: «TRUE» was not declared in this scope
gui.cc:420: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:421: erreur: «_clearButton» was not declared in this scope
gui.cc: At global scope:
gui.cc:435: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::TurnGui::setEnabled()»:
gui.cc:467: erreur: «gint» was not declared in this scope
gui.cc:467: erreur: expected `;' before «enabled»
gui.cc:468: erreur: «enabled» was not declared in this scope
gui.cc:470: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:470: erreur: «TRUE» was not declared in this scope
gui.cc:470: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:473: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:473: erreur: «FALSE» was not declared in this scope
gui.cc:473: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc: At global scope:
gui.cc:480: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::BlurGui::setEnabled()»:
gui.cc:501: erreur: «gint» was not declared in this scope
gui.cc:501: erreur: expected `;' before «enabled»
gui.cc:502: erreur: «enabled» was not declared in this scope
gui.cc:504: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:504: erreur: «TRUE» was not declared in this scope
gui.cc:504: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:507: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:507: erreur: «FALSE» was not declared in this scope
gui.cc:507: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc: At global scope:
gui.cc:514: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::RecolourGui::setEnabled()»:
gui.cc:557: erreur: «gint» was not declared in this scope
gui.cc:557: erreur: expected `;' before «enabled»
gui.cc:558: erreur: «enabled» was not declared in this scope
gui.cc:560: erreur: «_controls» was not declared in this scope
gui.cc:560: erreur: «TRUE» was not declared in this scope
gui.cc:560: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:563: erreur: «_controls» was not declared in this scope
gui.cc:563: erreur: «FALSE» was not declared in this scope
gui.cc:563: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc: In member function «void Dbp::RecolourGui::setAuto()»:
gui.cc:569: erreur: «gint» was not declared in this scope
gui.cc:569: erreur: expected `;' before «autoLevels»
gui.cc:570: erreur: «autoLevels» was not declared in this scope
gui.cc:572: erreur: «_manualFrame» was not declared in this scope
gui.cc:572: erreur: «FALSE» was not declared in this scope
gui.cc:572: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:575: erreur: «_manualFrame» was not declared in this scope
gui.cc:575: erreur: «TRUE» was not declared in this scope
gui.cc:575: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc: At global scope:
gui.cc:590: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::ResizeGui::addFitOption(std::string, int*)»:
gui.cc:669: erreur: «GtkWidget» was not declared in this scope
gui.cc:669: erreur: «item» was not declared in this scope
gui.cc:669: erreur: «gtk_menu_item_new_with_label» was not declared in this scope
gui.cc:670: erreur: «G_OBJECT» was not declared in this scope
gui.cc:670: erreur: «dataKey» was not declared in this scope
gui.cc:670: erreur: «g_object_set_data» was not declared in this scope
gui.cc:671: erreur: «_fitOptions» was not declared in this scope
gui.cc:671: erreur: «GTK_MENU_SHELL» was not declared in this scope
gui.cc:671: erreur: «gtk_menu_shell_append» was not declared in this scope
gui.cc:672: erreur: «gtkSignal» was not declared in this scope
gui.cc: In member function «void Dbp::ResizeGui::setEnabled()»:
gui.cc:677: erreur: «gint» was not declared in this scope
gui.cc:677: erreur: expected `;' before «enabled»
gui.cc:678: erreur: «enabled» was not declared in this scope
gui.cc:680: erreur: «_controls» was not declared in this scope
gui.cc:680: erreur: «TRUE» was not declared in this scope
gui.cc:680: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:682: erreur: «_relativeFrame» was not declared in this scope
gui.cc:683: erreur: «_absoluteFrame» was not declared in this scope
gui.cc:683: erreur: «FALSE» was not declared in this scope
gui.cc:685: erreur: «_relativeFrame» was not declared in this scope
gui.cc:685: erreur: «FALSE» was not declared in this scope
gui.cc:686: erreur: «_absoluteFrame» was not declared in this scope
gui.cc:690: erreur: «_controls» was not declared in this scope
gui.cc:690: erreur: «FALSE» was not declared in this scope
gui.cc:690: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:691: erreur: «_relativeFrame» was not declared in this scope
gui.cc:692: erreur: «_absoluteFrame» was not declared in this scope
gui.cc: In member function «void Dbp::ResizeGui::selectMode()»:
gui.cc:698: erreur: «_relativeToggle» was not declared in this scope
gui.cc:698: erreur: «GTK_TOGGLE_BUTTON» was not declared in this scope
gui.cc:700: erreur: «_relativeFrame» was not declared in this scope
gui.cc:700: erreur: «TRUE» was not declared in this scope
gui.cc:700: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:701: erreur: «_absoluteFrame» was not declared in this scope
gui.cc:701: erreur: «FALSE» was not declared in this scope
gui.cc:704: erreur: «_relativeFrame» was not declared in this scope
gui.cc:704: erreur: «FALSE» was not declared in this scope
gui.cc:704: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:705: erreur: «_absoluteFrame» was not declared in this scope
gui.cc:705: erreur: «TRUE» was not declared in this scope
gui.cc: In member function «void Dbp::ResizeGui::selectAspect()»:
gui.cc:713: erreur: «_yAdjust» was not declared in this scope
gui.cc:713: erreur: «GTK_ADJUSTMENT» was not declared in this scope
gui.cc:713: erreur: «_xAdjust» was not declared in this scope
gui.cc:713: erreur: «gtk_adjustment_set_value» was not declared in this scope
gui.cc: In member function «void Dbp::ResizeGui::handleXAdjust()»:
gui.cc:719: erreur: «GtkAdjustment» was not declared in this scope
gui.cc:719: erreur: «x» was not declared in this scope
gui.cc:719: erreur: «_xAdjust» was not declared in this scope
gui.cc:719: erreur: «GTK_ADJUSTMENT» was not declared in this scope
gui.cc:720: erreur: «y» was not declared in this scope
gui.cc:720: erreur: «_yAdjust» was not declared in this scope
gui.cc:722: erreur: «gtk_adjustment_set_value» was not declared in this scope
gui.cc: In member function «void Dbp::ResizeGui::handleYAdjust()»:
gui.cc:728: erreur: «GtkAdjustment» was not declared in this scope
gui.cc:728: erreur: «x» was not declared in this scope
gui.cc:728: erreur: «_xAdjust» was not declared in this scope
gui.cc:728: erreur: «GTK_ADJUSTMENT» was not declared in this scope
gui.cc:729: erreur: «y» was not declared in this scope
gui.cc:729: erreur: «_yAdjust» was not declared in this scope
gui.cc:731: erreur: «gtk_adjustment_set_value» was not declared in this scope
gui.cc: In member function «void Dbp::ResizeGui::selectFit()»:
gui.cc:737: erreur: «GtkWidget» was not declared in this scope
gui.cc:737: erreur: «currentItem» was not declared in this scope
gui.cc:737: erreur: «_fitOptions» was not declared in this scope
gui.cc:737: erreur: «GTK_MENU» was not declared in this scope
gui.cc:737: erreur: «gtk_menu_get_active» was not declared in this scope
gui.cc:738: erreur: «G_OBJECT» was not declared in this scope
gui.cc:738: erreur: «dataKey» was not declared in this scope
gui.cc:738: erreur: «g_object_get_data» was not declared in this scope
gui.cc: In member function «void Dbp::ResizeGui::setWarning()»:
gui.cc:747: erreur: «_warning» was not declared in this scope
gui.cc:747: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:747: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc: At global scope:
gui.cc:764: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::CropGui::setEnabled()»:
gui.cc:789: erreur: «gint» was not declared in this scope
gui.cc:789: erreur: expected `;' before «enabled»
gui.cc:790: erreur: «enabled» was not declared in this scope
gui.cc:792: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:792: erreur: «TRUE» was not declared in this scope
gui.cc:792: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:795: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:795: erreur: «FALSE» was not declared in this scope
gui.cc:795: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc: At global scope:
gui.cc:802: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::SharpenGui::setEnabled()»:
gui.cc:826: erreur: «gint» was not declared in this scope
gui.cc:826: erreur: expected `;' before «enabled»
gui.cc:827: erreur: «enabled» was not declared in this scope
gui.cc:829: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:829: erreur: «TRUE» was not declared in this scope
gui.cc:829: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:832: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:832: erreur: «FALSE» was not declared in this scope
gui.cc:832: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc: At global scope:
gui.cc:841: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::RenameGui::recalcDirName()»:
gui.cc:914: erreur: «_dirLabel» was not declared in this scope
gui.cc:914: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:914: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc:916: erreur: «_dirLabel» was not declared in this scope
gui.cc:916: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:916: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc: In member function «void Dbp::RenameGui::recalcExample()»:
gui.cc:924: erreur: «_example» was not declared in this scope
gui.cc:924: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:924: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc: In member function «void Dbp::RenameGui::setPrefix()»:
gui.cc:929: erreur: «_prefix» was not declared in this scope
gui.cc:929: erreur: «GTK_ENTRY» was not declared in this scope
gui.cc:929: erreur: «gtk_entry_get_text» was not declared in this scope
gui.cc: In member function «void Dbp::RenameGui::setPostfix()»:
gui.cc:935: erreur: «_postfix» was not declared in this scope
gui.cc:935: erreur: «GTK_ENTRY» was not declared in this scope
gui.cc:935: erreur: «gtk_entry_get_text» was not declared in this scope
gui.cc: In member function «void Dbp::RenameGui::okDirSelector()»:
gui.cc:952: erreur: «_dirSelector» was not declared in this scope
gui.cc:952: erreur: «GTK_FILE_SELECTION» was not declared in this scope
gui.cc:952: erreur: «gtk_file_selection_get_filename» was not declared in this scope
gui.cc:960: erreur: «gtk_widget_hide» was not declared in this scope
gui.cc: In member function «void Dbp::RenameGui::cancelDirSelector()»:
gui.cc:967: erreur: «_dirSelector» was not declared in this scope
gui.cc:967: erreur: «gtk_widget_hide» was not declared in this scope
gui.cc: In member function «void Dbp::RenameGui::raiseDirSelector()»:
gui.cc:972: erreur: «_dirSelector» was not declared in this scope
gui.cc:972: erreur: «gtk_widget_show» was not declared in this scope
gui.cc: At global scope:
gui.cc:979: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::OutputGui::addOption(std::string, int*)»:
gui.cc:1060: erreur: «GtkWidget» was not declared in this scope
gui.cc:1060: erreur: «item» was not declared in this scope
gui.cc:1060: erreur: «gtk_menu_item_new_with_label» was not declared in this scope
gui.cc:1061: erreur: «G_OBJECT» was not declared in this scope
gui.cc:1061: erreur: «dataKey» was not declared in this scope
gui.cc:1061: erreur: «g_object_set_data» was not declared in this scope
gui.cc:1062: erreur: «_options» was not declared in this scope
gui.cc:1062: erreur: «GTK_MENU_SHELL» was not declared in this scope
gui.cc:1062: erreur: «gtk_menu_shell_append» was not declared in this scope
gui.cc:1063: erreur: «gtkSignal» was not declared in this scope
gui.cc: In member function «void Dbp::OutputGui::selectOption()»:
gui.cc:1068: erreur: «GtkWidget» was not declared in this scope
gui.cc:1068: erreur: «current» was not declared in this scope
gui.cc:1068: erreur: «_options» was not declared in this scope
gui.cc:1068: erreur: «GTK_MENU» was not declared in this scope
gui.cc:1068: erreur: «gtk_menu_get_active» was not declared in this scope
gui.cc:1069: erreur: «G_OBJECT» was not declared in this scope
gui.cc:1069: erreur: «dataKey» was not declared in this scope
gui.cc:1069: erreur: «g_object_get_data» was not declared in this scope
gui.cc:1074: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:1074: erreur: «gtk_widget_show» was not declared in this scope
gui.cc:1076: erreur: «class Dbp::ControlLayout» has no member named «widget»
gui.cc:1076: erreur: «gtk_widget_hide» was not declared in this scope
gui.cc: At global scope:
gui.cc:1094: erreur: expected constructor, destructor, or type conversion before «*» token
gui.cc: In member function «void Dbp::DbpGui::add(const std::string&, Dbp::Gui*)»:
gui.cc:1174: erreur: «GtkWidget» was not declared in this scope
gui.cc:1174: erreur: «pageLabel» was not declared in this scope
gui.cc:1174: erreur: «gtk_label_new» was not declared in this scope
gui.cc:1175: erreur: «_notebook» was not declared in this scope
gui.cc:1175: erreur: «GTK_NOTEBOOK» was not declared in this scope
gui.cc:1175: erreur: «class Dbp::Gui» has no member named «widget»
gui.cc:1175: erreur: «gtk_notebook_append_page» was not declared in this scope
gui.cc: In member function «void Dbp::DbpGui::setBusy(bool)»:
gui.cc:1181: erreur: «_test» was not declared in this scope
gui.cc:1181: erreur: «FALSE» was not declared in this scope
gui.cc:1181: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:1182: erreur: «_start» was not declared in this scope
gui.cc:1183: erreur: «_cancel» was not declared in this scope
gui.cc:1183: erreur: «TRUE» was not declared in this scope
gui.cc:1185: erreur: «_test» was not declared in this scope
gui.cc:1185: erreur: «TRUE» was not declared in this scope
gui.cc:1185: erreur: «gtk_widget_set_sensitive» was not declared in this scope
gui.cc:1186: erreur: «_start» was not declared in this scope
gui.cc:1187: erreur: «_cancel» was not declared in this scope
gui.cc:1187: erreur: «FALSE» was not declared in this scope
gui.cc: At global scope:
gui.cc:1191: erreur: «gboolean» does not name a type
gui.cc: In member function «void Dbp::DbpGui::test()»:
gui.cc:1202: erreur: «_messageText» was not declared in this scope
gui.cc:1202: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:1202: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc:1206: erreur: «_show» was not declared in this scope
gui.cc:1206: erreur: «GTK_TOGGLE_BUTTON» was not declared in this scope
gui.cc:1206: erreur: «TRUE» was not declared in this scope
gui.cc:1206: erreur: «gtk_toggle_button_set_active» was not declared in this scope
gui.cc:1209: erreur: «_idleProcess» was not declared in this scope
gui.cc:1209: erreur: «idleProcess» was not declared in this scope
gui.cc:1209: erreur: «g_idle_add» was not declared in this scope
gui.cc: In member function «void Dbp::DbpGui::start()»:
gui.cc:1217: erreur: «_messageText» was not declared in this scope
gui.cc:1217: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:1217: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc:1223: erreur: «_idleProcess» was not declared in this scope
gui.cc:1223: erreur: «idleProcess» was not declared in this scope
gui.cc:1223: erreur: «g_idle_add» was not declared in this scope
gui.cc: In member function «bool Dbp::DbpGui::step()»:
gui.cc:1229: erreur: «_messageText» was not declared in this scope
gui.cc:1229: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:1229: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc:1233: erreur: «_messageText» was not declared in this scope
gui.cc:1233: erreur: «GTK_LABEL» was not declared in this scope
gui.cc:1233: erreur: «gtk_label_set_text» was not declared in this scope
gui.cc:1234: erreur: «_progress» was not declared in this scope
gui.cc:1234: erreur: «GTK_PROGRESS_BAR» was not declared in this scope
gui.cc:1234: erreur: «gtk_progress_bar_set_fraction» was not declared in this scope
gui.cc: In member function «void Dbp::DbpGui::cancel()»:
gui.cc:1241: erreur: «_idleProcess» was not declared in this scope
gui.cc:1242: erreur: «g_source_remove» was not declared in this scope
gui.cc: In member function «void Dbp::DbpGui::show()»:
gui.cc:1250: erreur: «_show» was not declared in this scope
gui.cc:1250: erreur: «GTK_TOGGLE_BUTTON» was not declared in this scope
gui.cc:1250: erreur: «gtk_toggle_button_get_active» was not declared in this scope
gui.cc: At global scope:
gui.cc:1264: erreur: expected «,» or «...» before «*» token
gui.cc:1264: erreur: ISO C++ forbids declaration of «gchar» with no type
gui.cc: In static member function «static void Dbp::DbpGui::gimpProgressStartCallback(int)»:
gui.cc:1266: erreur: «user_data» was not declared in this scope
gui.cc:1267: erreur: «message» was not declared in this scope
gui.cc: At global scope:
gui.cc:1272: erreur: variable or field «gimpProgressEndCallback» declared void
gui.cc:1272: erreur: «int Dbp::DbpGui::gimpProgressEndCallback» is not a static member of «class Dbp::DbpGui»
gui.cc:1272: erreur: «gpointer» was not declared in this scope
gui.cc:1273: erreur: expected «,» or «;» before «{» token
gui.cc:1279: erreur: expected «,» or «...» before «*» token
gui.cc:1279: erreur: ISO C++ forbids declaration of «gchar» with no type
gui.cc: In static member function «static void Dbp::DbpGui::gimpProgressTextCallback(int)»:
gui.cc:1281: erreur: «user_data» was not declared in this scope
gui.cc:1282: erreur: «message» was not declared in this scope
gui.cc: At global scope:
gui.cc:1286: erreur: variable or field «gimpProgressValueCallback» declared voidgui.cc:1286: erreur: «int Dbp::DbpGui::gimpProgressValueCallback» is not a static member of «class Dbp::DbpGui»
gui.cc:1286: erreur: «gdouble» was not declared in this scope
gui.cc:1286: erreur: «gpointer» was not declared in this scope
gui.cc:1286: erreur: initializer liste d'expressions traitée comme une expression composée
gui.cc:1287: erreur: expected «,» or «;» before «{» token
gui.cc: In member function «void Dbp::DbpGui::run()»:
gui.cc:1295: erreur: expected initializer before «*» token
gui.cc:1302: erreur: «gtk_main» was not declared in this scope
gui.cc:1304: erreur: «progressCallbacks» was not declared in this scope
gui.cc:1304: erreur: «gimp_progress_uninstall» was not declared in this scope
Dans le fichier inclus à partir de op.h:26,
à partir de op.cc:20:
gimpCall.h:25:26: erreur: libgimp/gimp.h : Aucun fichier ou répertoire de ce type
gimpCall.h:26:28: erreur: libgimp/gimpui.h : Aucun fichier ou répertoire de ce type
gimpCall.h:47: erreur: expected «,» or «...» before «&» token
gimpCall.h:47: erreur: ISO C++ forbids declaration of «GimpParam» with no type
gimpCall.h:47: erreur: «GimpCall& GimpCall::param(int)» cannot be overloaded
gimpCall.h:39: erreur: with «GimpCall& GimpCall::param(int)»
gimpCall.h:56: erreur: «GimpParam» has not been declared
gimpCall.h:62: erreur: ISO C++ forbids declaration of «GimpParam» with no type
gimpCall.h:62: erreur: expected «;» before «*» token
gimpCall.h:64: erreur: ISO C++ forbids declaration of «GimpParam» with no type
gimpCall.h:64: erreur: expected «;» before «*» token
op.h:178: erreur: «GimpParam» does not name a type
op.cc: In constructor «Dbp::Location::Location(const std::string&)»:
op.cc:37: erreur: «G_DIR_SEPARATOR» was not declared in this scope
op.cc: In member function «std::string Dbp::Location::fullPath() const»:
op.cc:79: erreur: «G_DIR_SEPARATOR_S» was not declared in this scope
op.cc: In member function «virtual bool Dbp::Filter::execute(int&, int&, Dbp::Location&)»:
op.cc:106: erreur: «GIMP_RUN_NONINTERACTIVE» was not declared in this scope
op.cc: In member function «virtual bool Dbp::InputOp::execute(int&, int&, Dbp::Location&)»:
op.cc:126: erreur: «gchar» was not declared in this scope
op.cc:126: erreur: «path» was not declared in this scope
op.cc:126: erreur: expected type-specifier before «gchar»
op.cc:126: erreur: expected `;' before «gchar»
op.cc:128: erreur: «GIMP_RUN_NONINTERACTIVE» was not declared in this scope
op.cc:128: erreur: «gimp_file_load» was not declared in this scope
op.cc:129: erreur: type «<type error>» argument given to «delete», expected pointer
op.cc:132: erreur: «gimp_image_undo_disable» was not declared in this scope
op.cc:135: erreur: «gint» was not declared in this scope
op.cc:135: erreur: expected `;' before «numLayers»
op.cc:136: erreur: «layers» was not declared in this scope
op.cc:136: erreur: «numLayers» was not declared in this scope
op.cc:136: erreur: «gimp_image_get_layers» was not declared in this scope
op.cc:138: erreur: «gimp_image_delete» was not declared in this scope
op.cc:141: erreur: «GIMP_CLIP_TO_IMAGE» was not declared in this scope
op.cc:141: erreur: «gimp_image_merge_visible_layers» was not declared in this scope
op.cc:145: erreur: «g_free» was not declared in this scope
op.cc: In member function «virtual bool Dbp::TurnOp::execute(int&, int&, Dbp::Location&)»:
op.cc:161: erreur: «GimpRotationType» was not declared in this scope
op.cc:161: erreur: «gimp_image_rotate» was not declared in this scope
op.cc: In member function «virtual void Dbp::BlurOp::addParams(GimpCall&)»:
op.cc:173: erreur: «TRUE» was not declared in this scope
op.cc: In member function «virtual bool Dbp::RecolourOp::execute(int&, int&, Dbp::Location&)»:
op.cc:189: erreur: «gimp_levels_stretch» was not declared in this scope
op.cc:196: erreur: «gimp_brightness_contrast» was not declared in this scope
op.cc:201: erreur: «GimpHueRange» was not declared in this scope
op.cc:201: erreur: expected `;' before «hueRange»
op.cc:205: erreur: «hueRange» was not declared in this scope
op.cc:205: erreur: «gimp_hue_saturation» was not declared in this scope
op.cc:209: erreur: «gimp_image_convert_grayscale» was not declared in this scopeop.cc: In member function «virtual bool Dbp::ResizeOp::execute(int&, int&, Dbp::Location&)»:
op.cc:238: erreur: «gimp_image_width» was not declared in this scope
op.cc:239: erreur: «gimp_image_height» was not declared in this scope
op.cc:247: erreur: «gimp_image_scale» was not declared in this scope
op.cc:262: erreur: «gimp_image_scale» was not declared in this scope
op.cc:275: erreur: «gimp_image_resize» was not declared in this scope
op.cc:277: erreur: «gimp_layer_resize_to_image_size» was not declared in this scope
op.cc: In member function «virtual bool Dbp::RenameOp::execute(int&, int&, Dbp::Location&)»:
op.cc:356: erreur: «gimp_image_flatten» was not declared in this scope
op.cc: In member function «void Dbp::OutputFormat::param(std::string, bool)»:
op.cc:381: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc:381: erreur: «GIMP_PDB_INT32» was not declared in this scope
op.cc:382: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc: In member function «void Dbp::OutputFormat::param(std::string, int, int, int)»:
op.cc:391: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc:391: erreur: «GIMP_PDB_INT32» was not declared in this scope
op.cc:392: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc: In member function «void Dbp::OutputFormat::param(std::string, float, float, float, int)»:
op.cc:404: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc:404: erreur: «GIMP_PDB_FLOAT» was not declared in this scope
op.cc:405: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc: In member function «void Dbp::OutputFormat::param(std::string, std::string)»:
op.cc:417: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc:417: erreur: «GIMP_PDB_STRING» was not declared in this scope
op.cc:421: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc:421: erreur: «gchar» was not declared in this scope
op.cc:421: erreur: expected primary-expression before «)» token
op.cc: In member function «Dbp::OpParam& Dbp::OutputFormat::param(std::string)»:op.cc:430: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc:430: erreur: «GIMP_PDB_INT32» was not declared in this scope
op.cc:431: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc: In member function «void Dbp::OpParam::choose(int)»:
op.cc:445: erreur: «_gimpType» was not declared in this scope
op.cc: In member function «virtual bool Dbp::OutputOp::execute(int&, int&, Dbp::Location&)»:
op.cc:565: erreur: «GIMP_RUN_NONINTERACTIVE» was not declared in this scope
op.cc:574: erreur: «struct Dbp::OpParam» has no member named «_gimpType»
op.cc: In member function «void Dbp::DbpData::removeDisplay()»:
op.cc:612: erreur: «gimp_display_delete» was not declared in this scope
op.cc:616: erreur: «gimp_image_delete» was not declared in this scope
op.cc: In member function «void Dbp::DbpData::step()»:
op.cc:681: erreur: «gimp_image_set_filename» was not declared in this scope
op.cc:684: erreur: «gimp_display_new» was not declared in this scope
op.cc:686: erreur: «gimp_displays_reconnect» was not declared in this scope
op.cc:690: erreur: «gimp_display_delete» was not declared in this scope
op.cc:695: erreur: «gimp_image_delete» was not declared in this scope
op.cc:743: erreur: «gimp_image_clean_all» was not declared in this scope
op.cc:745: erreur: «gimp_displays_flush» was not declared in this scope
make: *** [dbp] Erreur 1
Cela vous éclairerait-il sur mon problème? J'ai désinstallé/réinstallé build-essential, rien n'y fait alors qu'avant je ne me posais aucune question, tout marchait.
Merci d'avance.
#2 Le 01/06/2007, à 23:31
- zozo_serieux
Re : problèmes de compilation après réinstallation ubuntu 6.06
Résolu! je suis nul...
1) je lisais mal et il y avait un "pause" dans mon source qui venait d'un vilain zzindowzz et qui n'existe pas sous nunux
2)pour le plugin de gimp, j'avais oublié de réinstaller libgimp2.0-dev et ses dépendances. Et ensuite, un petit make et hop! juste ne pas oublier de déplacer le beau dbp produit dans le répertoire des plugins et ça marche.
24h d'énervement s'envolent winktongue
ps désolé je ne peux indiquer "résolu" car je me suis réinscrit sur le forum après le post.
Dernière modification par zozo_serieux (Le 01/06/2007, à 23:32)
Hors ligne