Newbie Questins

"wrongry" <[email protected]> Wed, 05 Mar 2003 11:19:53 -0000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Hi Everyone,
I know there is probably some very simple solution to these questions 
and I'm stuck so any help would be very appreciated.

On my system I have:
C:\MSYS
C:\MinGW
C:\gtkWin32

I have pkg-config in the base gtkWin32 directory but get the 
following error when compiling a simple gtk+ app.

sh-2.04$ gcc -Wall -g iv.c -o iv `pkg-config --cflags gtk+-2.0` \ 
`pkg-config --libs gtk+-2.0`
gcc.exe:  -LC;C:\MSYS\1.0\GTKWIN32\lib: No such file or directory


I know pkg-config sends the correct flags from these two comands:

sh-2.04$ pkg-config --cflags gtk+-2.0
-IC:/GTKWIN32/include/gtk-2.0 -IC:/GTKWIN32/include -
IC:/GTKWIN32/lib/gtk-2.0/include -IC:/GTKWIN32/include/atk-1.0 -
IC:/GTKWIN32/include/pango-1.0 -IC:/GTKWIN32/include/glib-2.0 -
IC:/GTKWIN32/lib/glib-2.0/include  
sh-2.04$              
sh-2.04$ pkg-config --libs gtk+-2.0
-LC:/GTKWIN32/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -
lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -
lgmodule-2.0 -lglib-2.0 -lintl -liconv

Where is the problem?


The other question is that when I compile the app with a standard 
makefile and include all the libraries myself it compiles file, when 
I try to run the app the following error is produced when I use 
pixbuf to load a jpeg image:

Unable to load image-loading module: C:\GTKWIN32/lib/gtk-
2.0/2.2.0/loaders/libpixbufloader-jpeg.dll: One of the library files 
needed to run this application cannot be found.


Thanks in advance,
Daniel