Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 16:28

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 25 posts ] 
Author Message
 Post subject: Menu for Q3Fill
PostPosted: 06 Sep 2008 07:20 

Joined: 24 Aug 2008 11:06
Posts: 38
Hi all.Aluigi can you make a menu for q3fill (like q3dirtrav)?


Top
 Profile  
 
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 06 Sep 2008 11:48 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
no
you can try using THEGUI although it's not exactly the same:

http://aluigi.org/mytoolz.htm#thegui

in case you want to try it remember to follow the step-by-step for GTK explained there


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 06 Sep 2008 18:50 

Joined: 24 Aug 2008 11:06
Posts: 38
:'(


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 23 Oct 2008 14:51 

Joined: 24 Aug 2008 11:06
Posts: 38
huh...I download this THEGUI,but:
Code:
ERROR:libgdk-win32-2.0-0.dll not found

:(
what I can do?


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 23 Oct 2008 17:14 

Joined: 24 Aug 2008 11:06
Posts: 38
nothing,nothing...now I can use Thegui,but I have a problem:
Image


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 23 Oct 2008 22:18 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
ah ah ah hard to read 8-)
it's the first time I see problems with the font in THEGUI and no, at the moment I don't have solutions or work-arounds for that... except using a magnifier lent :)


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 24 Oct 2008 08:07 

Joined: 24 Aug 2008 11:06
Posts: 38
XD


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 24 Oct 2008 12:16 

Joined: 24 Aug 2008 11:06
Posts: 38
and can I modify the font size?


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 24 Oct 2008 13:08 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
in attachment there is a quickly recompiled thegui.exe which uses the previous implementation of the font (the commented font at line 1321 of thegui.c), try it and let me know if this solves the problem.

EDIT: attachment removed, check the new version on my website


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 24 Oct 2008 14:37 

Joined: 24 Aug 2008 11:06
Posts: 38
thanks thanks!many thanks :D
it works!!!!


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 24 Oct 2008 18:41 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
ok, can you upload a new screenshot of the current screen as you did previously?
so I can see if the visualized font and its size is like that one visualized on my pc


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 24 Oct 2008 19:21 

Joined: 24 Aug 2008 11:06
Posts: 38
yeah,its here:
Image


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 25 Oct 2008 18:18 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
ok thanx
I have released a new version of thegui which uses that font and I have added support for drag'n'drop but unfortunately works only on Linux for some unknown reasons


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 11:28 

Joined: 24 Aug 2008 11:06
Posts: 38
ok
And my old question:
How can I compile THEGUI?:)
I tried this:
Code:
  gcc -o thegui thegui.c `gtk-config --cflags --libs`
but
Code:
gcc: `gtk-config: No such file or directory
cc1.exe: error: unrecognized command line option "-fcflags"
cc1.exe: error: unrecognized command line option "-flibs`"

so?


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 12:33 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
on Windows you must run the MSYS environment of mingw (msys.bat) for having gtk-config working.

oh, and in case someone has problems to run THEGUI download first the GTK+ installer from here:

http://sourceforge.net/project/showfile ... _id=119698


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 13:10 

Joined: 24 Aug 2008 11:06
Posts: 38
I installed this Msys stuff,but how can I use it?


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 14:08 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
now you should have a link called msys on the desktop or somewhere else which points to c:\mingw\msys.bat
when you execute it you will see an unix like environment, so if you have thegui.c in c:\thegui\thegui.c you must type "cd /c/thegui" for entering in that folder.
now you need to download all the gtk development stuff which is in various separated packages, so probably is more simple for you to download directly the "All-in-one bundle" package available here:

http://www.gtk.org/download-windows.html

now you must verify if you have gtk-config, so type it and if you don't have it don't worry because you can use directly the following command for building THEGUI:
Code:
  gcc -o thegui thegui.c `pkg-config gtk-2.0 --cflags --libs`
or if it fails:
Code:
  gcc -o thegui thegui.c `pkg-config gtk-1.2 --cflags --libs`


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 14:37 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
in case you don't want to use msys or you have problems with the above suggestions use directly the following:
Code:
gcc -o thegui.exe thegui.c -mwindows -s -O2 -mtune=pentium -Wall -Wno-pointer-sign -Wunused-function -mms-bitfields -Ic:/mingw/include/gtk-2.0 -Ic:/mingw/lib/gtk-2.0/include -Ic:/mingw/include/atk-1.0 -Ic:/mingw/include/cairo -Ic:/mingw/include/pango-1.0 -Ic:/mingw/include/glib-2.0 -Ic:/mingw/lib/glib-2.0/include -user32 -Wl,-luuid -Lc:/mingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv c:\mingw\lib\stristr.o
this one is the exact command used by me except for the icon which has been removed to make the package smaller and less confusing


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 14:58 

Joined: 24 Aug 2008 11:06
Posts: 38
I did this:
I opened msys.bat and I wrote cd /c/thegui in it.
I downloaded these files:
GLib
GTK+
Pango
ATK
cairo
zlib
libpng
pkg-config
and I pasted it to C:\MinGW.
I wrote this to msys:
gcc -o thegui thegui.c 'pkg-config gtk-2.0 -cflags -libs'
but
thegui.c:26:21: gtk/gtk.h: No such file or directory
thegui.c:82: error: syntax error before '*' token
thegui.c:88: warning: data definition has no type or storage class
thegui.c:89: error: syntax error before '*' token
thegui.c:89: warning: data definition has no type or storage class
thegui.c: In function `dialogbox':
thegui.c:126: error: `GtkWidget' undeclared (first use in this function)
thegui.c:126: error: (Each undeclared identifier is reported only once
thegui.c:126: error: for each function it appears in.)
thegui.c:126: error: `dlgwin' undeclared (first use in this function)
thegui.c:127: error: `label' undeclared (first use in this function)
thegui.c:129: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this functio n)
thegui.c:130: error: `GTK_WIN_POS_CENTER' undeclared (first use in this function )
thegui.c:134: error: `gtk_main_quit' undeclared (first use in this function)
thegui.c:135: error: `gtk_widget_destroy' undeclared (first use in this function )
thegui.c:138: error: `GTK_JUSTIFY_LEFT' undeclared (first use in this function)
thegui.c: At top level:
thegui.c:176: error: syntax error before '*' token
thegui.c: In function `file_ok_sel':
thegui.c:177: error: `data' undeclared (first use in this function)
thegui.c: In function `select_file':
thegui.c:185: error: `GtkWidget' undeclared (first use in this function)
thegui.c:185: error: `filew' undeclared (first use in this function)
thegui.c:188: error: `GTK_WIN_POS_CENTER' undeclared (first use in this function )
thegui.c:189: error: `gtk_main_quit' undeclared (first use in this function)
thegui.c:190: error: invalid type argument of `->'
thegui.c:190: error: `GtkSignalFunc' undeclared (first use in this function)
thegui.c:190: error: syntax error before "file_ok_sel"
thegui.c:191: error: invalid type argument of `->'
thegui.c:191: error: syntax error before "gtk_widget_destroy"
thegui.c: At top level:
thegui.c:198: error: syntax error before '*' token
thegui.c: In function `get_file':
thegui.c:205: error: `data' undeclared (first use in this function)
thegui.c: At top level:
thegui.c:210: error: syntax error before '*' token
thegui.c: In function `get_folder':
thegui.c:217: error: `data' undeclared (first use in this function)
thegui.c: In function `save_output':
thegui.c:236: error: invalid type argument of `->'
thegui.c: In function `find_row_usage':
thegui.c:279: warning: assignment makes pointer from integer without a cast
thegui.c: At top level:
thegui.c:526: error: syntax error before '*' token
thegui.c: In function `write_output':
thegui.c:547: error: invalid type argument of `->'
thegui.c:548: error: invalid type argument of `->'
thegui.c:548: error: invalid type argument of `->'
thegui.c: At top level:
thegui.c:721: error: syntax error before '*' token
thegui.c: In function `activate':
thegui.c:722: error: `data' undeclared (first use in this function)
thegui.c: At top level:
thegui.c:727: error: syntax error before '*' token
thegui.c:734: error: syntax error before '*' token
thegui.c:740: error: syntax error before '*' token
thegui.c:769: error: syntax error before "runcmd"
thegui.c:769: error: syntax error before "data"
thegui.c:787: error: syntax error before '*' token
thegui.c:921: error: syntax error before '*' token
thegui.c:928: error: syntax error before '*' token
thegui.c:961: error: syntax error before '*' token
thegui.c:1068: error: syntax error before '*' token
thegui.c: In function `loadfile':
thegui.c:1121: error: `GtkWidget' undeclared (first use in this function)
thegui.c:1121: error: syntax error before ')' token
thegui.c:1122: error: syntax error before ')' token
thegui.c: At top level:
thegui.c:1137: error: syntax error before '*' token
thegui.c: In function `startwindow':
thegui.c:1184: error: `GtkWidget' undeclared (first use in this function)
thegui.c:1184: error: `vbox' undeclared (first use in this function)
thegui.c:1185: error: `hbox' undeclared (first use in this function)
thegui.c:1186: error: `paned' undeclared (first use in this function)
thegui.c:1187: error: `button' undeclared (first use in this function)
thegui.c:1188: error: `label' undeclared (first use in this function)
thegui.c:1189: error: `scroll' undeclared (first use in this function)
thegui.c:1190: error: `separator' undeclared (first use in this function)
thegui.c:1191: error: `GtkTooltips' undeclared (first use in this function)
thegui.c:1191: error: `tooltip' undeclared (first use in this function)
thegui.c:1194: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this functi on)
thegui.c:1194: warning: assignment makes pointer from integer without a cast
thegui.c:1195: error: `GTK_WIN_POS_CENTER' undeclared (first use in this functio n)
thegui.c:1201: error: `gtk_widget_destroy' undeclared (first use in this functio n)
thegui.c:1215: warning: assignment makes pointer from integer without a cast
thegui.c:1226: warning: assignment makes pointer from integer without a cast
thegui.c:1236: warning: assignment makes pointer from integer without a cast
thegui.c:1254: warning: assignment makes pointer from integer without a cast
thegui.c:1259: warning: assignment makes pointer from integer without a cast
thegui.c:1277: warning: assignment makes pointer from integer without a cast
thegui.c:1292: warning: assignment makes pointer from integer without a cast
thegui.c:1298: error: invalid type argument of `->'
thegui.c: In function `main':
thegui.c:1322: warning: assignment makes pointer from integer without a cast
gcc.exe: pkg-config gtk-2.0 -cflags -libs: No such file or directory

any ideas?


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 15:04 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
read my latest post with the direct full command


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 15:07 

Joined: 24 Aug 2008 11:06
Posts: 38
I did this in the simple MinGW:
Code:
gcc -o thegui.exe thegui.c -mwindows -s -O2 -mtune=pentium -Wall -Wno-pointer-sign -Wunused-function -mms-bitfields -Ic:/mingw/include/gtk-2.0 -Ic:/mingw/lib/gtk-2.0/include -Ic:/mingw/include/atk-1.0 -Ic:/mingw/include/cairo -Ic:/mingw/include/pango-1.0 -Ic:/mingw/include/glib-2.0 -Ic:/mingw/lib/glib-2.0/include -user32 -Wl,-luuid -Lc:/mingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv c:\mingw\lib\stristr.o

but
Code:
gcc: c:\mingw\lib\stristr.o: No such file or directory
cc1.exe: error: unrecognized command line option "-Wno-pointer-sign"


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 26 Oct 2008 17:09 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
stristr.c is available here:

http://aluigi.org/mytoolz/stristr.c

then susbstituite stristr.o with stristr.c in the command (stristr.o is only the pre-compiled version)

remove -Wno-pointer-sign from the command


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 27 Oct 2008 10:59 

Joined: 24 Aug 2008 11:06
Posts: 38
huh....
I did this:
Code:
gcc -o thegui.exe thegui.c -mwindows -s -O2 -mtune=pentium -Wall  -Wunused-function -mms-bitfields -Ic:/mingw/include/gtk-2.0 -Ic:/mingw/lib/gtk-2.0/include -Ic:/mingw/include/atk-1.0 -Ic:/mingw/include/cairo -Ic:/mingw/include/pango-1.0 -Ic:/mingw/include/glib-2.0 -Ic:/mingw/lib/glib-2.0/include -user32 -Wl,-luuid -Lc:/mingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv c:\mingw\lib\stristr.c

but
Code:
thegui.c:26:21: gtk/gtk.h: No such file or directory
thegui.c:82: error: syntax error before '*' token
thegui.c:82: warning: type defaults to `int' in declaration of `window'
thegui.c:83: warning: type defaults to `int' in declaration of `arg_entry'
thegui.c:84: warning: type defaults to `int' in declaration of `opt_entry'
thegui.c:85: warning: type defaults to `int' in declaration of `manual_entry'
thegui.c:86: warning: type defaults to `int' in declaration of `view'
thegui.c:87: warning: type defaults to `int' in declaration of `runlabel'
thegui.c:88: warning: type defaults to `int' in declaration of `inputentry'
thegui.c:88: warning: data definition has no type or storage class
thegui.c:89: error: syntax error before '*' token
thegui.c:89: warning: type defaults to `int' in declaration of `fixed_font'
thegui.c:89: warning: data definition has no type or storage class
thegui.c: In function `dialogbox':
thegui.c:126: error: `GtkWidget' undeclared (first use in this function)
thegui.c:126: error: (Each undeclared identifier is reported only once
thegui.c:126: error: for each function it appears in.)
thegui.c:126: error: `dlgwin' undeclared (first use in this function)
thegui.c:127: error: `label' undeclared (first use in this function)
thegui.c:127: warning: left-hand operand of comma expression has no effect
thegui.c:129: warning: implicit declaration of function `gtk_window_new'
thegui.c:129: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this funct
n)
thegui.c:130: warning: implicit declaration of function `gtk_window_set_positi
'
thegui.c:130: warning: implicit declaration of function `GTK_WINDOW'
thegui.c:130: error: `GTK_WIN_POS_CENTER' undeclared (first use in this functi
)
thegui.c:131: warning: implicit declaration of function `gtk_window_set_title'
thegui.c:132: warning: implicit declaration of function `gtk_container_set_bor
r_width'
thegui.c:132: warning: implicit declaration of function `GTK_CONTAINER'
thegui.c:133: warning: implicit declaration of function `gtk_window_set_policy
thegui.c:134: warning: implicit declaration of function `gtk_signal_connect'
thegui.c:134: warning: implicit declaration of function `GTK_OBJECT'
thegui.c:134: warning: implicit declaration of function `GTK_SIGNAL_FUNC'
thegui.c:134: error: `gtk_main_quit' undeclared (first use in this function)
thegui.c:135: error: `gtk_widget_destroy' undeclared (first use in this functi
)
thegui.c:137: warning: implicit declaration of function `gtk_label_new'
thegui.c:138: warning: implicit declaration of function `gtk_label_set_justify
thegui.c:138: warning: implicit declaration of function `GTK_LABEL'
thegui.c:138: error: `GTK_JUSTIFY_LEFT' undeclared (first use in this function
thegui.c:139: warning: implicit declaration of function `gtk_container_add'
thegui.c:141: warning: implicit declaration of function `gtk_widget_show_all'
thegui.c:142: warning: implicit declaration of function `gtk_main'
thegui.c: At top level:
thegui.c:176: error: syntax error before '*' token
thegui.c: In function `file_ok_sel':
thegui.c:177: warning: implicit declaration of function `gtk_file_selection_ge
filename'
thegui.c:177: warning: implicit declaration of function `GTK_FILE_SELECTION'
thegui.c:177: error: `data' undeclared (first use in this function)
thegui.c:178: warning: implicit declaration of function `gtk_widget_destroy'
thegui.c:178: warning: implicit declaration of function `GTK_WIDGET'
thegui.c:179: warning: implicit declaration of function `gtk_main_quit'
thegui.c: In function `select_file':
thegui.c:185: error: `GtkWidget' undeclared (first use in this function)
thegui.c:185: error: `filew' undeclared (first use in this function)
thegui.c:187: warning: implicit declaration of function `gtk_file_selection_ne

thegui.c:188: error: `GTK_WIN_POS_CENTER' undeclared (first use in this functi
)
thegui.c:189: error: `gtk_main_quit' undeclared (first use in this function)
thegui.c:190: error: invalid type argument of `->'
thegui.c:190: error: `GtkSignalFunc' undeclared (first use in this function)
thegui.c:190: error: syntax error before "file_ok_sel"
thegui.c:191: warning: implicit declaration of function `gtk_signal_connect_ob
ct'
thegui.c:191: error: invalid type argument of `->'
thegui.c:191: error: syntax error before "gtk_widget_destroy"
thegui.c: At top level:
thegui.c:198: error: syntax error before '*' token
thegui.c: In function `get_file':
thegui.c:205: warning: implicit declaration of function `gtk_entry_set_text'
thegui.c:205: warning: implicit declaration of function `GTK_ENTRY'
thegui.c:205: error: `data' undeclared (first use in this function)
thegui.c: At top level:
thegui.c:210: error: syntax error before '*' token
thegui.c: In function `get_folder':
thegui.c:217: error: `data' undeclared (first use in this function)
thegui.c: In function `save_output':
thegui.c:236: warning: implicit declaration of function `GTK_TEXT'
thegui.c:236: error: invalid type argument of `->'
thegui.c:238: warning: implicit declaration of function `gtk_text_get_length'
thegui.c: In function `find_row_usage':
thegui.c:279: warning: implicit declaration of function `stristr'
thegui.c:279: warning: assignment makes pointer from integer without a cast
thegui.c: At top level:
thegui.c:526: error: syntax error before '*' token
thegui.c: In function `stop_process':
thegui.c:538: warning: implicit declaration of function `gtk_label_set_text'
thegui.c: In function `write_output':
thegui.c:545: warning: implicit declaration of function `gtk_text_insert'
thegui.c:546: warning: implicit declaration of function `gtk_adjustment_set_va
e'
thegui.c:547: error: invalid type argument of `->'
thegui.c:548: error: invalid type argument of `->'
thegui.c:548: error: invalid type argument of `->'
thegui.c: At top level:
thegui.c:721: error: syntax error before '*' token
thegui.c: In function `activate':
thegui.c:722: error: `data' undeclared (first use in this function)
thegui.c: At top level:
thegui.c:727: error: syntax error before '*' token
thegui.c: In function `clear_view':
thegui.c:728: warning: implicit declaration of function `gtk_text_set_point'
thegui.c:729: warning: implicit declaration of function `gtk_text_forward_dele
'
thegui.c: At top level:
thegui.c:734: error: syntax error before '*' token
thegui.c:740: error: syntax error before '*' token
thegui.c:769: error: syntax error before "runcmd"
thegui.c:769: error: syntax error before "data"
thegui.c:769: warning: return type defaults to `int'
thegui.c:787: error: syntax error before '*' token
thegui.c: In function `run_process':
thegui.c:807: warning: implicit declaration of function `gtk_entry_get_text'
thegui.c: At top level:
thegui.c:921: error: syntax error before '*' token
thegui.c:928: error: syntax error before '*' token
thegui.c:961: error: syntax error before '*' token
thegui.c:1068: error: syntax error before '*' token
thegui.c: In function `loadfile':
thegui.c:1121: error: `GtkWidget' undeclared (first use in this function)
thegui.c:1121: error: syntax error before ')' token
thegui.c:1122: error: syntax error before ')' token
thegui.c:1124: warning: implicit declaration of function `gdk_screen_width'
thegui.c: At top level:
thegui.c:1137: error: syntax error before '*' token
thegui.c: In function `startwindow':
thegui.c:1184: error: `GtkWidget' undeclared (first use in this function)
thegui.c:1184: error: `vbox' undeclared (first use in this function)
thegui.c:1185: error: `hbox' undeclared (first use in this function)
thegui.c:1186: error: `paned' undeclared (first use in this function)
thegui.c:1187: error: `button' undeclared (first use in this function)
thegui.c:1188: error: `label' undeclared (first use in this function)
thegui.c:1189: error: `scroll' undeclared (first use in this function)
thegui.c:1190: error: `separator' undeclared (first use in this function)
thegui.c:1190: warning: left-hand operand of comma expression has no effect
thegui.c:1190: warning: left-hand operand of comma expression has no effect
thegui.c:1190: warning: left-hand operand of comma expression has no effect
thegui.c:1190: warning: left-hand operand of comma expression has no effect
thegui.c:1190: warning: left-hand operand of comma expression has no effect
thegui.c:1190: warning: left-hand operand of comma expression has no effect
thegui.c:1191: error: `GtkTooltips' undeclared (first use in this function)
thegui.c:1191: error: `tooltip' undeclared (first use in this function)
thegui.c:1194: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this func
on)
thegui.c:1194: warning: assignment makes pointer from integer without a cast
thegui.c:1195: error: `GTK_WIN_POS_CENTER' undeclared (first use in this funct
n)
thegui.c:1199: warning: implicit declaration of function `gtk_window_set_defau
_size'
thegui.c:1201: error: `gtk_widget_destroy' undeclared (first use in this funct
n)
thegui.c:1204: warning: implicit declaration of function `gtk_hpaned_new'
thegui.c:1206: warning: implicit declaration of function `gtk_vpaned_new'
thegui.c:1210: warning: implicit declaration of function `gtk_vbox_new'
thegui.c:1211: warning: implicit declaration of function `gtk_paned_add1'
thegui.c:1211: warning: implicit declaration of function `GTK_PANED'
thegui.c:1212: warning: implicit declaration of function `gtk_tooltips_new'
thegui.c:1212: warning: implicit declaration of function `gtk_tooltips_set_del
'
thegui.c:1212: warning: implicit declaration of function `gtk_tooltips_set_tip
thegui.c:1214: warning: implicit declaration of function `gtk_hbox_new'
thegui.c:1215: warning: implicit declaration of function `gtk_entry_new'
thegui.c:1215: warning: assignment makes pointer from integer without a cast
thegui.c:1218: warning: implicit declaration of function `gtk_entry_set_max_le
th'
thegui.c:1219: warning: implicit declaration of function `gtk_box_pack_start'
thegui.c:1219: warning: implicit declaration of function `GTK_BOX'
thegui.c:1223: warning: implicit declaration of function `gtk_button_new_with_
bel'
thegui.c:1226: warning: assignment makes pointer from integer without a cast
thegui.c:1236: warning: assignment makes pointer from integer without a cast
thegui.c:1248: warning: implicit declaration of function `gtk_hseparator_new'
thegui.c:1254: warning: implicit declaration of function `gtk_check_button_new
ith_label'
thegui.c:1254: warning: assignment makes pointer from integer without a cast
thegui.c:1259: warning: assignment makes pointer from integer without a cast
thegui.c:1277: warning: assignment makes pointer from integer without a cast
thegui.c:1278: warning: implicit declaration of function `gtk_button_new'
thegui.c:1291: warning: implicit declaration of function `gtk_paned_add2'
thegui.c:1292: warning: implicit declaration of function `gtk_text_new'
thegui.c:1292: warning: assignment makes pointer from integer without a cast
thegui.c:1293: warning: implicit declaration of function `gtk_widget_set_usize
thegui.c:1294: warning: implicit declaration of function `gtk_text_set_editabl

thegui.c:1295: warning: implicit declaration of function `gtk_text_set_word_wr
'
thegui.c:1296: warning: implicit declaration of function `gtk_text_set_line_wr
'
thegui.c:1298: warning: implicit declaration of function `gtk_vscrollbar_new'
thegui.c:1298: error: invalid type argument of `->'
thegui.c:1302: warning: implicit declaration of function `g_timeout_add'
thegui.c: In function `main':
thegui.c:1317: warning: implicit declaration of function `gtk_init'
thegui.c:1319: warning: implicit declaration of function `gdk_font_load'
thegui.c:1322: warning: assignment makes pointer from integer without a cast
thegui.c: In function `dialogbox':
thegui.c:126: warning: statement with no effect
thegui.c: In function `startwindow':
thegui.c:1184: warning: statement with no effect

Im very very very low in programming :(


Top
 Profile  
 
 Post subject: uh
PostPosted: 27 Oct 2008 11:17 

Joined: 24 Aug 2008 11:06
Posts: 38
uh I installed this gtk+-2.14.4.tar.bz2 and when I write this
Code:
gcc -o thegui.exe thegui.c -mwindows -s -O2 -mtune=pentium -Wall  -Wunu
sed-function -mms-bitfields -Ic:/mingw/include/gtk-2.0 -Ic:/mingw/lib/gtk-2.0/in
clude -Ic:/mingw/include/atk-1.0 -Ic:/mingw/include/cairo -Ic:/mingw/include/pan
go-1.0 -Ic:/mingw/include/glib-2.0 -Ic:/mingw/lib/glib-2.0/include -user32 -Wl,-
luuid -Lc:/mingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -lgdi32 -limm32 -lshell32 -
lole32 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv c:\mingw\lib\stris
tr.c

it writes a nice long error:
Code:
thegui.c:1228: warning: left-hand operand of comma expression has no effect
thegui.c:1228: error: syntax error before ')' token
thegui.c:1234: error: syntax error before "GtkContainer"
thegui.c:1234: error: too few arguments to function `gtk_container_add'
thegui.c:1234: error: syntax error before ')' token
thegui.c:1237: error: syntax error before "GtkObject"
thegui.c:1237: warning: left-hand operand of comma expression has no effect
thegui.c:1237: warning: left-hand operand of comma expression has no effect
thegui.c:1237: warning: left-hand operand of comma expression has no effect
thegui.c:1237: warning: left-hand operand of comma expression has no effect
thegui.c:1237: warning: left-hand operand of comma expression has no effect
thegui.c:1237: error: syntax error before ')' token
thegui.c:1238: error: syntax error before "GtkEntry"
thegui.c:1238: error: too few arguments to function `gtk_entry_set_max_length'
thegui.c:1238: error: syntax error before ')' token
thegui.c:1242: error: syntax error before "GtkBox"
thegui.c:1242: warning: left-hand operand of comma expression has no effect
thegui.c:1242: warning: left-hand operand of comma expression has no effect
thegui.c:1242: warning: left-hand operand of comma expression has no effect
thegui.c:1242: error: syntax error before ')' token
thegui.c:1243: error: syntax error before "GtkBox"
thegui.c:1243: warning: left-hand operand of comma expression has no effect
thegui.c:1243: warning: left-hand operand of comma expression has no effect
thegui.c:1243: warning: left-hand operand of comma expression has no effect
thegui.c:1243: error: syntax error before ')' token
thegui.c:1244: error: syntax error before "GtkObject"
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: error: syntax error before ')' token
thegui.c:1244: error: syntax error before "GtkBox"
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: error: syntax error before ')' token
thegui.c:1244: error: syntax error before "GtkObject"
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: error: syntax error before ')' token
thegui.c:1244: error: syntax error before "GtkBox"
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: warning: left-hand operand of comma expression has no effect
thegui.c:1244: error: syntax error before ')' token
thegui.c:1248: error: syntax error before "GtkBox"
thegui.c:1248: warning: left-hand operand of comma expression has no effect
thegui.c:1248: warning: left-hand operand of comma expression has no effect
thegui.c:1248: warning: left-hand operand of comma expression has no effect
thegui.c:1248: error: syntax error before ')' token
thegui.c:1252: error: syntax error before "GtkContainer"
thegui.c:1252: error: too few arguments to function `gtk_container_add'
thegui.c:1252: error: syntax error before ')' token
thegui.c:1255: error: syntax error before "GtkObject"
thegui.c:1255: warning: left-hand operand of comma expression has no effect
thegui.c:1255: warning: left-hand operand of comma expression has no effect
thegui.c:1255: warning: left-hand operand of comma expression has no effect
thegui.c:1255: warning: left-hand operand of comma expression has no effect
thegui.c:1255: warning: left-hand operand of comma expression has no effect
thegui.c:1255: error: syntax error before ')' token
thegui.c:1256: error: syntax error before "GtkBox"
thegui.c:1256: warning: left-hand operand of comma expression has no effect
thegui.c:1256: warning: left-hand operand of comma expression has no effect
thegui.c:1256: warning: left-hand operand of comma expression has no effect
thegui.c:1256: error: syntax error before ')' token
thegui.c:1260: error: syntax error before "GtkObject"
thegui.c:1260: warning: left-hand operand of comma expression has no effect
thegui.c:1260: warning: left-hand operand of comma expression has no effect
thegui.c:1260: warning: left-hand operand of comma expression has no effect
thegui.c:1260: warning: left-hand operand of comma expression has no effect
thegui.c:1260: warning: left-hand operand of comma expression has no effect
thegui.c:1260: error: syntax error before ')' token
thegui.c:1264: error: syntax error before "GtkEntry"
thegui.c:1264: error: syntax error before ')' token
thegui.c:1265: error: syntax error before "GtkBox"
thegui.c:1265: warning: left-hand operand of comma expression has no effect
thegui.c:1265: warning: left-hand operand of comma expression has no effect
thegui.c:1265: warning: left-hand operand of comma expression has no effect
thegui.c:1265: error: syntax error before ')' token
thegui.c:1266: error: syntax error before "GtkObject"
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: error: syntax error before ')' token
thegui.c:1266: error: syntax error before "GtkBox"
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: error: syntax error before ')' token
thegui.c:1266: error: syntax error before "GtkObject"
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: error: syntax error before ')' token
thegui.c:1266: error: syntax error before "GtkBox"
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: warning: left-hand operand of comma expression has no effect
thegui.c:1266: error: syntax error before ')' token
thegui.c:1270: error: syntax error before "GtkContainer"
thegui.c:1270: error: too few arguments to function `gtk_container_add'
thegui.c:1270: error: syntax error before ')' token
thegui.c:1271: error: syntax error before "GtkObject"
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: error: syntax error before ')' token
thegui.c:1271: error: syntax error before "GtkBox"
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: warning: left-hand operand of comma expression has no effect
thegui.c:1271: error: syntax error before ')' token
thegui.c:1272: error: syntax error before "GtkObject"
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: error: syntax error before ')' token
thegui.c:1272: error: syntax error before "GtkBox"
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: warning: left-hand operand of comma expression has no effect
thegui.c:1272: error: syntax error before ')' token
thegui.c:1273: error: syntax error before "GtkObject"
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: error: syntax error before ')' token
thegui.c:1273: error: syntax error before "GtkBox"
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: warning: left-hand operand of comma expression has no effect
thegui.c:1273: error: syntax error before ')' token
thegui.c:1275: error: syntax error before "GtkObject"
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: error: syntax error before ')' token
thegui.c:1275: error: syntax error before "GtkBox"
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: warning: left-hand operand of comma expression has no effect
thegui.c:1275: error: syntax error before ')' token
thegui.c:1280: error: syntax error before "GtkObject"
thegui.c:1280: warning: left-hand operand of comma expression has no effect
thegui.c:1280: warning: left-hand operand of comma expression has no effect
thegui.c:1280: warning: left-hand operand of comma expression has no effect
thegui.c:1280: warning: left-hand operand of comma expression has no effect
thegui.c:1280: warning: left-hand operand of comma expression has no effect
thegui.c:1280: error: syntax error before ')' token
thegui.c:1281: error: syntax error before "GtkBox"
thegui.c:1281: warning: left-hand operand of comma expression has no effect
thegui.c:1281: warning: left-hand operand of comma expression has no effect
thegui.c:1281: warning: left-hand operand of comma expression has no effect
thegui.c:1281: error: syntax error before ')' token
thegui.c:1282: error: syntax error before "GtkContainer"
thegui.c:1282: error: too few arguments to function `gtk_container_add'
thegui.c:1282: error: syntax error before ')' token
thegui.c:1284: error: syntax error before "GtkObject"
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: error: syntax error before ')' token
thegui.c:1284: error: syntax error before "GtkBox"
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: warning: left-hand operand of comma expression has no effect
thegui.c:1284: error: syntax error before ')' token
thegui.c:1286: error: syntax error before "GtkObject"
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: error: syntax error before ')' token
thegui.c:1286: error: syntax error before "GtkBox"
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: warning: left-hand operand of comma expression has no effect
thegui.c:1286: error: syntax error before ')' token
thegui.c:1287: error: syntax error before "GtkObject"
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: error: syntax error before ')' token
thegui.c:1287: error: syntax error before "GtkBox"
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: warning: left-hand operand of comma expression has no effect
thegui.c:1287: error: syntax error before ')' token
thegui.c:1288: error: syntax error before "GtkObject"
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: error: syntax error before ')' token
thegui.c:1288: error: syntax error before "GtkBox"
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: warning: left-hand operand of comma expression has no effect
thegui.c:1288: error: syntax error before ')' token
thegui.c:1291: error: syntax error before "GtkPaned"
thegui.c:1291: error: too few arguments to function `gtk_paned_add2'
thegui.c:1291: error: syntax error before ')' token
thegui.c:1294: error: syntax error before "GtkText"
thegui.c:1294: error: too few arguments to function `gtk_text_set_editable'
thegui.c:1294: error: syntax error before ')' token
thegui.c:1295: error: syntax error before "GtkText"
thegui.c:1295: error: too few arguments to function `gtk_text_set_word_wrap'
thegui.c:1295: error: syntax error before ')' token
thegui.c:1296: error: syntax error before "GtkText"
thegui.c:1296: error: too few arguments to function `gtk_text_set_line_wrap'
thegui.c:1296: error: syntax error before ')' token
thegui.c:1297: error: syntax error before "GtkBox"
thegui.c:1297: warning: left-hand operand of comma expression has no effect
thegui.c:1297: warning: left-hand operand of comma expression has no effect
thegui.c:1297: warning: left-hand operand of comma expression has no effect
thegui.c:1297: error: syntax error before ')' token
thegui.c:1298: error: syntax error before "GtkText"
thegui.c:1298: error: dereferencing pointer to incomplete type
thegui.c:1298: error: syntax error before ')' token
thegui.c:1299: error: syntax error before "GtkBox"
thegui.c:1299: warning: left-hand operand of comma expression has no effect
thegui.c:1299: warning: left-hand operand of comma expression has no effect
thegui.c:1299: warning: left-hand operand of comma expression has no effect
thegui.c:1299: error: syntax error before ')' token
thegui.c:1302: warning: implicit declaration of function `g_timeout_add'
thegui.c: At top level:
c:/mingw/include/gtk-2.0/gtk/gtkclist.h:327: error: storage size of `area' isn't
known
c:/mingw/include/gtk-2.0/gdk/gdkwindow.h:280: error: storage size of `bg_color'
isn't known
c:/mingw/include/gtk-2.0/gtk/gtkrc.h:71: error: storage size of `fg' isn't known

c:/mingw/include/gtk-2.0/gtk/gtkrc.h:72: error: storage size of `bg' isn't known

c:/mingw/include/gtk-2.0/gtk/gtkstyle.h:81: error: storage size of `light' isn't
known
c:/mingw/include/gtk-2.0/gtk/gtkstyle.h:82: error: storage size of `dark' isn't
known
c:/mingw/include/gtk-2.0/gtk/gtkstyle.h:83: error: storage size of `mid' isn't k
nown
c:/mingw/include/gtk-2.0/gtk/gtkrc.h:73: error: storage size of `text' isn't kno
wn
c:/mingw/include/gtk-2.0/gtk/gtkrc.h:74: error: storage size of `base' isn't kno
wn
c:/mingw/include/gtk-2.0/gtk/gtkstyle.h:86: error: storage size of `text_aa' isn
't known
c:/mingw/include/gtk-2.0/gtk/gtkstyle.h:88: error: storage size of `black' isn't
known
c:/mingw/include/gtk-2.0/gtk/gtkstyle.h:89: error: storage size of `white' isn't
known
c:/mingw/include/gtk-2.0/gtk/gtksizegroup.h:56: error: storage size of `requisit
ion' isn't known
c:/mingw/include/gtk-2.0/gtk/gtkwidget.h:219: error: storage size of `allocation
' isn't known
c:/mingw/include/gtk-2.0/gtk/gtkframe.h:62: error: storage size of `child_alloca
tion' isn't known
c:/mingw/include/gtk-2.0/gtk/gtkaspectframe.h:60: error: storage size of `center
_allocation' isn't known
c:/mingw/include/gtk-2.0/gtk/gtktexttag.h:218: error: storage size of `appearanc
e' isn't known
c:/mingw/include/gtk-2.0/gtk/gtkhandlebox.h:77: error: storage size of `attach_a
llocation' isn't known
c:/mingw/include/gtk-2.0/gtk/gtkhandlebox.h:78: error: storage size of `float_al
location' isn't known
c:/mingw/include/gtk-2.0/gtk/gtkruler.h:109: error: storage size of `subdivide'
isn't known
c:/mingw/include/gtk-2.0/gtk/gtkrange.h:87: error: storage size of `range_rect'
isn't known
c:/mingw/include/gtk-2.0/gtk/gtktext.h:130: error: storage size of `point' isn't
known
c:/mingw/include/gtk-2.0/gtk/gtktext.h:145: error: storage size of `cursor_mark'
isn't known
c:/mingw/include/gtk-2.0/gtk/gtkclist.h:160: error: storage size of `internal_al
location' isn't known
c:/mingw/include/gtk-2.0/gtk/gtkclist.h:170: error: storage size of `column_titl
e_area' isn't known

(this isnt the full error)


Top
 Profile  
 
 Post subject: Re: Menu for Q3Fill
PostPosted: 27 Oct 2008 12:29 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
the last thing you can try is substituiting all the '/' chars in the command with '\'.
Other than this I don't have other ideas


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 25 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: