 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
tadeboro Never Seen the Sunlight
Joined: 23 Jul 2008 Posts: 2114 Location: Slovenia
|
Posted: Tue Jun 16, 2009 6:37 am Post subject: |
|
|
Hi.
Even with no theme installed, glade should load some default icons from it's data directory. Can you check if you have any files in C:\devel\gtk\share\glade3\pixmaps\hicolor\22x22\actions (replace C:\devel\gtk with your gtk installation path)? |
|
| Back to top |
|
 |
michaeltm
Joined: 15 Jun 2009 Posts: 4
|
Posted: Tue Jun 16, 2009 7:51 am Post subject: They're there. |
|
|
| tadeboro wrote: | Hi.
Even with no theme installed, glade should load some default icons from it's data directory. Can you check if you have any files in C:\devel\gtk\share\glade3\pixmaps\hicolor\22x22\actions (replace C:\devel\gtk with your gtk installation path)? |
Hi,
The icons are there as png-images. Should I move them to a more appropriate folder? |
|
| Back to top |
|
 |
tadeboro Never Seen the Sunlight
Joined: 23 Jul 2008 Posts: 2114 Location: Slovenia
|
Posted: Thu Jun 18, 2009 6:51 am Post subject: |
|
|
Hi.
Sorry for late response.
Those pngs are fine and should be loaded by glade. I reinstalled my windows gtk installation in attempt to replicate your errors, but everything works fine here. (I installed from all-in-one C-only installer listed at the end of my tutorial.)
Did you try to install GTK+ this way? |
|
| Back to top |
|
 |
michaeltm
Joined: 15 Jun 2009 Posts: 4
|
Posted: Thu Jun 18, 2009 8:50 am Post subject: No all-in-one C-only installer |
|
|
| tadeboro wrote: | Hi.
Sorry for late response.
Those pngs are fine and should be loaded by glade. I reinstalled my windows gtk installation in attempt to replicate your errors, but everything works fine here. (I installed from all-in-one C-only installer listed at the end of my tutorial.)
Did you try to install GTK+ this way? |
Hi,
My MinGW was installed separately a month ago. Then I stumbled upon this forum when searching for a way to install gtk+ and followed the steps that you have wrote.
I did not install everything with the all-in-one C-only installer but downloaded the seperate packages and copied the contents to the folders specified.
Everything seems to work fine except for glade that generates the error messages you have seen before. |
|
| Back to top |
|
 |
harinath88 GTK+ Geek
Joined: 30 Jul 2009 Posts: 88
|
Posted: Fri Jul 31, 2009 5:32 am Post subject: problem in installing |
|
|
hi,
iam very glad for ur kind info about installation gtk in windows.
iam very new to gtk .
i followed ur instructions ,but i am facing problem with glade
if i give glade-3 command in msys it is giving error like bellow
sh:glade-3:command not found
plz help me where i did mistake
thanks,
harianth |
|
| Back to top |
|
 |
tadeboro Never Seen the Sunlight
Joined: 23 Jul 2008 Posts: 2114 Location: Slovenia
|
Posted: Fri Jul 31, 2009 9:43 am Post subject: |
|
|
Hello and welcome to the GTK+ forums.
Is glade-3 executable present in your bin folder? |
|
| Back to top |
|
 |
suityou01 Familiar Face
Joined: 30 Dec 2008 Posts: 32
|
Posted: Sat Oct 10, 2009 6:51 pm Post subject: |
|
|
Oh dear oh dear. I started out on a project using GTK over a year ago. I am virtualising my development environment and need to reinstall all my development tools. Everything is going great apart from this bit.
I now have a hug mess on my HDD from following the walkthroughs on here. Are we using mingw or ghc? Are we hacking environment variables or not?
I have some kind of bastardisation of the first and second walkthroughs that just gives me thousands of compile time errors, and I have have lost two entire days on this now.
It's an awful lot of code to put in the bin and go to .Net, so can someone please put together a definitive walkthrough, or installer or something. I hope to go release my project to the public but get a sick to the pit of my stomach feeling when I feel that I have invested so much time and effort in these tools and they are just so flaky and troublesome as to be unmaintainable.
Having followed the walkthrough, and overcoming the CC1 file error, I now get
| Quote: |
C:/gtk/include/glib-2.0/glib/gmacros.h:40:20: stddef.h: No such file or director
y
In file included from /mingw/include/float.h:19,
from /mingw/lib/gcc/mingw32/../../../include/float.h:19,
from C:/gtk/lib/glib-2.0/include/glibconfig.h:13,
from C:/gtk/include/glib-2.0/glib/gtypes.h:34,
from C:/gtk/include/glib-2.0/glib/galloca.h:34,
from C:/gtk/include/glib-2.0/glib.h:32,
from C:/gtk/include/glib-2.0/gobject/gtype.h:26,
from C:/gtk/include/glib-2.0/gobject/gboxed.h:26,
from C:/gtk/include/glib-2.0/glib-object.h:25,
from C:/gtk/include/glib-2.0/gio/gioenums.h:30,
from C:/gtk/include/glib-2.0/gio/giotypes.h:30,
from C:/gtk/include/glib-2.0/gio/gio.h:28,
from C:/gtk/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from C:/gtk/include/gtk-2.0/gdk/gdk.h:32,
from C:/gtk/include/gtk-2.0/gtk/gtk.h:32,
from main.c:1:
/mingw/include/float.h:19:23: no include path in which to search for float.h
In file included from C:/gtk/include/glib-2.0/glib/gthread.h:36,
from C:/gtk/include/glib-2.0/glib/gasyncqueue.h:34,
from C:/gtk/include/glib-2.0/glib.h:34,
from C:/gtk/include/glib-2.0/gobject/gtype.h:26,
from C:/gtk/include/glib-2.0/gobject/gboxed.h:26,
from C:/gtk/include/glib-2.0/glib-object.h:25,
from C:/gtk/include/glib-2.0/gio/gioenums.h:30,
from C:/gtk/include/glib-2.0/gio/giotypes.h:30,
from C:/gtk/include/glib-2.0/gio/gio.h:28,
from C:/gtk/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from C:/gtk/include/gtk-2.0/gdk/gdk.h:32,
from C:/gtk/include/gtk-2.0/gtk/gtk.h:32,
from main.c:1:
C:/gtk/include/glib-2.0/glib/gutils.h:35:20: stdarg.h: No such file or directory
In file included from C:/gtk/include/glib-2.0/glib/gthread.h:36,
from C:/gtk/include/glib-2.0/glib/gasyncqueue.h:34,
from C:/gtk/include/glib-2.0/glib.h:34,
from C:/gtk/include/glib-2.0/gobject/gtype.h:26,
from C:/gtk/include/glib-2.0/gobject/gboxed.h:26,
from C:/gtk/include/glib-2.0/glib-object.h:25,
from C:/gtk/include/glib-2.0/gio/gioenums.h:30,
from C:/gtk/include/glib-2.0/gio/giotypes.h:30,
from C:/gtk/include/glib-2.0/gio/gio.h:28,
from C:/gtk/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from C:/gtk/include/gtk-2.0/gdk/gdk.h:32,
from C:/gtk/include/gtk-2.0/gtk/gtk.h:32,
from main.c:1:
C:/gtk/include/glib-2.0/glib/gutils.h:214: error: syntax error before "va_list"
In file included from C:/gtk/include/glib-2.0/glib/gbookmarkfile.h:28,
from C:/gtk/include/glib-2.0/glib.h:38,
from C:/gtk/include/glib-2.0/gobject/gtype.h:26,
from C:/gtk/include/glib-2.0/gobject/gboxed.h:26,
from C:/gtk/include/glib-2.0/glib-object.h:25,
from C:/gtk/include/glib-2.0/gio/gioenums.h:30,
from C:/gtk/include/glib-2.0/gio/giotypes.h:30,
from C:/gtk/include/glib-2.0/gio/gio.h:28,
from C:/gtk/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from C:/gtk/include/gtk-2.0/gdk/gdk.h:32,
from C:/gtk/include/gtk-2.0/gtk/gtk.h:32,
from main.c:1:
/mingw/lib/gcc/mingw32/../../../include/time.h:104: error: syntax error before "
strftime"
/mingw/lib/gcc/mingw32/../../../include/time.h:198: error: syntax error before '
*' token
/mingw/lib/gcc/mingw32/../../../include/time.h:199: error: syntax error before '
*' token
/mingw/lib/gcc/mingw32/../../../include/time.h:200: error: syntax error before '
*' token
/mingw/lib/gcc/mingw32/../../../include/time.h:200: error: syntax error before '
*' token
/mingw/lib/gcc/mingw32/../../../include/time.h:201: error: syntax error before '
*' token
/mingw/lib/gcc/mingw32/../../../include/time.h:201: error: syntax error before '
*' token
/mingw/lib/gcc/mingw32/../../../include/time.h:207: error: syntax error before "
wcsftime"
In file included from C:/gtk/include/glib-2.0/glib/giochannel.h:36,
from C:/gtk/include/glib-2.0/glib.h:50,
from C:/gtk/include/glib-2.0/gobject/gtype.h:26,
from C:/gtk/include/glib-2.0/gobject/gboxed.h:26,
from C:/gtk/include/glib-2.0/glib-object.h:25,
from C:/gtk/include/glib-2.0/gio/gioenums.h:30,
from C:/gtk/include/glib-2.0/gio/giotypes.h:30,
from C:/gtk/include/glib-2.0/gio/gio.h:28,
from C:/gtk/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
from C:/gtk/include/gtk-2.0/gdk/gdk.h:32,
from C:/gtk/include/gtk-2.0/gtk/gtk.h:32,
from main.c:1:
|
This is just the tip of the iceberg.
If someone could give me a decent walkthrough I would happily scrape all this crud of my HDD and start again. |
|
| Back to top |
|
 |
suityou01 Familiar Face
Joined: 30 Dec 2008 Posts: 32
|
Posted: Sun Oct 11, 2009 8:59 am Post subject: |
|
|
Still battling away at this. I have managed to plug some holes in the environment variables and install missing libs but now I am stumped with this one
\mingw\lib\gcc\mingw32\..\..\..\mingw32\bin\ld.exe: cannot find -lfontconfig
On the front page of GTK download screen FontConfig is listed as a download but the zip contains no lib file! Nor is there any hint given as to what to do with the contents of the zip file.
After all this time, has no one written an installer? Please help. I really wanted my project to be all open source, but I am losing sooooo much time on this stuff I am seriously thinking about bailing and going down the .Net route, which would be a great pity. |
|
| Back to top |
|
 |
suityou01 Familiar Face
Joined: 30 Dec 2008 Posts: 32
|
Posted: Sun Oct 11, 2009 9:23 am Post subject: |
|
|
I have extracted the GTK all in one bundle from http://www.gtk.org/download-windows.html to the c:\gtk directory. This has cured most of the missing libs.
Now I am getting
\mingw\lib\gcc\mingw32\..\..\..\mingw32\bin\ld.exe: cannot find -lgcc
Nearly in tears :roll: |
|
| Back to top |
|
 |
suityou01 Familiar Face
Joined: 30 Dec 2008 Posts: 32
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|