RSS/Atom feed Twitter
Site is read-only, email is disabled

R: Error compiling gimp 2.3.3 with mingw on winxp

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Error compiling gimp 2.3.3 with mingw on winxp Paolo Magnoli 14 Sep 14:31
  Error compiling gimp 2.3.3 with mingw on winxp Tor Lillqvist 14 Sep 15:17
   R: Error compiling gimp 2.3.3 with mingw on winxp Paolo Magnoli 14 Sep 17:38
    R: Error compiling gimp 2.3.3 with mingw on winxp Tor Lillqvist 14 Sep 20:19
Paolo Magnoli
2005-09-14 14:31:20 UTC (over 18 years ago)

Error compiling gimp 2.3.3 with mingw on winxp

Hi, I'm trying to compile Gimp 2.3.3 with MinGW and I get the following error:

f ".deps/gimpselectiondata.Tpo"; exit 1; fi In file included from /mingw/include/unistd.h:13, from
/mingw/lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:13, from
d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:13, from gimpselectiondata.c:25: /mingw/include/unistd.h:13:27: no include path in which to search for unistd.h
gimpselectiondata.c: In function `gimp_selection_data_set_image': gimpselectiondata.c:379: warning: implicit declaration of function `getpid' make[3]: *** [gimpselectiondata.o] Error 1 make[3]: Leaving directory `/D/gimp/gimp-2.3.3/app/widgets' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/D/gimp/gimp-2.3.3/app' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/D/gimp/gimp-2.3.3' make: *** [all] Error 2

I'm referring to the instructions in the wiki, with some more recent packages, like:
MINGW_PACKAGES="libpng-1.2.8-bin libpng-1.2.8-dep libpng-1.2.8-lib jpeg-6b-4-bin jpeg-6b-4-dep jpeg-6b-4-lib tiff-3.7.3-bin tiff-3.7.3-lib freetype-2.1.10-bin freetype-2.1.10-lib zlib-1.2.3-bin zlib-1.2.3-lib libgw32c-0.4-lib libiconv-1.8-1-bin libiconv-1.8-1-lib" Thanks for any help (or a link to a precompiled binary ...)

Paolo

Tor Lillqvist
2005-09-14 15:17:58 UTC (over 18 years ago)

Error compiling gimp 2.3.3 with mingw on winxp

Paolo Magnoli writes:
> /mingw/include/unistd.h:13:27: no include path in which to search for > unistd.h

Huh? That's a very odd message. What happens if you compile a trivial source file that just contains the line "#include "?

--tml

Paolo Magnoli
2005-09-14 17:38:35 UTC (over 18 years ago)

R: Error compiling gimp 2.3.3 with mingw on winxp

Hi, I've put up a file with that line only in it and tried to compile it, I got the same error:
$ gcc -o include_unistd include_unistd.c In file included from /mingw/include/unistd.h:13, from
/mingw/lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:13, from
d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h:13, from include_unistd.c:1: /mingw/include/unistd.h:13:27: no include path in which to search for unistd.h

Regards

-----Messaggio originale----- Da: Tor Lillqvist [mailto:tml@iki.fi] Inviato: mercoledi 14 settembre 2005 15.18 A: Paolo Magnoli
Cc: gimp-developer@lists.xcf.berkeley.edu Oggetto: [Gimp-developer] Error compiling gimp 2.3.3 with mingw on winxp

Paolo Magnoli writes: > /mingw/include/unistd.h:13:27: no include path in which to search for > unistd.h

Huh? That's a very odd message. What happens if you compile a trivial source file that just contains the line "#include "?

--tml

Tor Lillqvist
2005-09-14 20:19:26 UTC (over 18 years ago)

R: Error compiling gimp 2.3.3 with mingw on winxp

Paolo Magnoli writes:
> Hi, I've put up a file with that line only in it and tried to compile it, I > got the same error:
> /mingw/include/unistd.h:13:27: no include path in which to search for > unistd.h

There must be something broken in your mingw installation. I have never seen that message myself, but some googling leads me to believe it is related to the #include_next directive? Does your unistd.h (the file d:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/unistd.h, i.e. d:/mingw/include/unistd.h) on line 13 have an #include_next directive? (That's funny, as I too have gcc 3.4.2, but my unistd.h does not contain any #include_next.)

If you can't find any other solution, my suggestion is removing all of mingw and re-install...

--tml