Menu

#3 build failes on fedora

v1.0 (example)
open
nobody
None
5
2013-12-25
2013-12-25
No

bash-4.2$ make
gcc -Wall pkg-config --cflags --libs gtk+-3.0 -c -o src/misc.o src/misc.c
src/misc.c: In function ‘add_files’:
src/misc.c:143:124: error: ‘GTK_STOCK_CANCEL’ undeclared (first use in this function)
GtkWidget input_file_chooser = gtk_file_chooser_dialog_new ("Open File",GTK_WINDOW(mainwin),GTK_FILE_CHOOSER_ACTION_OPEN,GTK_STOCK_CANCEL,GTK_RESPONSE_CANCEL,GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,NULL);
^
src/misc.c:143:124: note: each undeclared identifier is reported only once for each function it appears in
src/misc.c:143:161: error: ‘GTK_STOCK_OPEN’ undeclared (first use in this function)
GtkWidget
input_file_chooser = gtk_file_chooser_dialog_new ("Open File",GTK_WINDOW(mainwin),GTK_FILE_CHOOSER_ACTION_OPEN,GTK_STOCK_CANCEL,GTK_RESPONSE_CANCEL,GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,NULL);
^
src/misc.c: In function ‘browse_path’:
src/misc.c:181:133: error: ‘GTK_STOCK_CANCEL’ undeclared (first use in this function)
GtkWidget ouput_file_chooser = gtk_file_chooser_dialog_new ("Open File",GTK_WINDOW(mainwin),GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,GTK_STOCK_CANCEL,GTK_RESPONSE_CANCEL,GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,NULL);
^
src/misc.c:181:170: error: ‘GTK_STOCK_OPEN’ undeclared (first use in this function)
GtkWidget
ouput_file_chooser = gtk_file_chooser_dialog_new ("Open File",GTK_WINDOW(mainwin),GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,GTK_STOCK_CANCEL,GTK_RESPONSE_CANCEL,GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,NULL);
^
make: *** [src/misc.o] Error 1
bash-4.2$

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.