Re: Newbie Questins

"wrongry" <[email protected]> Thu, 06 Mar 2003 02:58:55 -0000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
> Might be a MSYS problem. pkg-config outputs -LC:/GTKWIN32/lib, but
> MSYS for some reason turns that into -LC;C:\MSYS\1.0\GTKWIN32\lib
> before invoking gcc.
>
> Are you using the latest version of MSYS? Write a
> test program that simply prints out its argv, and invoke it like gcc
> above, and see if the -L flag gets mangled oddly.

I have the latest version of MSYS.  The test program outputs all the 
correct paths.  The problem seems to go away if I compile and link 
separately but now in the linking stage I get the following error:

sh-2.04$ gcc -o iv iv.o -mwindows `pkg-config --libs gtk+-2.0`
c:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32
\bin\ld.exe: cannot find -lintl

I can work around this by editing the glib.pc file and set the libs 
to -lintl-1 instead of -lintl
Is this ok or should I be doing something else?

> Do you have the libjpeg.dll that libpixbufloader-jpeg.dll requires 
in
> your PATH?

I have the jpeg lib linked from your site.  The libjpeg6b.dll file 
there isn't found unless I rename it libjpeg.dll but then I get the 
following error:

Failed to load image 'pic.jpg': Error interpreting JPEG image file 
(JPEG parameter struct mismatch: library thinks size is 432, caller 
expects 464)

thanks again
Daniel


------------------------ Yahoo! Groups Sponsor ---------------------~-->
New Yahoo! Mail Plus. More flexibility. More control. More power.
Get POP access, more storage, more filters, and more.
http://us.click.yahoo.com/Hcb0iA/P.iFAA/46VHAA/NhFolB/TM
---------------------------------------------------------------------~->

To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to: [email protected] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/