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

Error in compiling GEGL in windows using MSYS/MinGW

This discussion is connected to the gegl-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.

Sayak
2011-05-25 03:04:04 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

Hi all,
I was trying to compile GEGL in windows using MSYS/MinGW. i have compiled Babl perfectly, but when i tried to compile GEGL, i had the following errors..

$ make -j4 make all-recursive
make[1]: Entering directory `/home/stable-sources/gegl-0.1.2' Making all in gegl
make[2]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl' Making all in buffer
make[3]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' CC gegl-tile-backend-tiledir.lo CC gegl-buffer.lo
CC gegl-buffer-access.lo
CC gegl-buffer-share.lo
In file included from gegl-buffer-share.c:25:0: ../../gegl/gegl.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated.
make[3]: *** [gegl-buffer-share.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from gegl-buffer-access.c:29:0: ../../gegl/gegl.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated.
In file included from gegl-buffer.c:49:0: ../../gegl/gegl.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated.
make[3]: *** [gegl-buffer.lo] Error 1 make[3]: *** [gegl-buffer-access.lo] Error 1 In file included from gegl-tile-backend.h:22:0, from gegl-tile-backend-tiledir.c:26: gegl-tile-source.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated.
make[3]: *** [gegl-tile-backend-tiledir.lo] Error 1 make[3]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stable-sources/gegl-0.1.2' make: *** [all] Error 2

Martin Nordholts
2011-05-25 04:46:48 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

2011/5/25 Sayak :

Hi all,
I was trying to compile GEGL in windows using MSYS/MinGW. i have compiled Babl perfectly, but when i tried to compile GEGL, i had the following errors..

$ make -j4 make all-recursive
make[1]: Entering directory `/home/stable-sources/gegl-0.1.2' Making all in gegl
make[2]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl' Making all in buffer
make[3]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' CC gegl-tile-backend-tiledir.lo CC gegl-buffer.lo
CC gegl-buffer-access.lo
CC gegl-buffer-share.lo
In file included from gegl-buffer-share.c:25:0: ../../gegl/gegl.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated.

babl/babl.h is not on the compiler include path, probably because you haven't setup PKG_CONFIG_PATH properly before running configure. The weird thing is that you are able to make at all; configure should have failed if it didn't find babl.

You should also setup some other environment variables to allow the babl files to be found, refer to
http://www.chromecode.com/2009/12/best-way-to-keep-up-with-gimp-from-git_26.html for some inspiration.

/ Martin

Sayak
2011-05-25 06:32:35 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

Thanks for your tips. But since i dont have much experience in MSYS/MinGW, i am giving you the commands that i have used. from your weblink i can see that i need to add ACLOCAL_FLAGS and XDG_DATA_DIRS?? if babl/babl.h is not found, then why no error in ./configure?

export GIMP_BETA_DIR=/C/gimp-win-beta export DOWNLOADS_DIR=$GIMP_BETA_DIR/downloads export BUILD_DIR=$GIMP_BETA_DIR/build export MSYS_DIR=$BUILD_DIR/msys/1.0
export INSTALL_PREFIX=/opt
export PATH=$INSTALL_PREFIX/bin:$PATH export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH export LD_LIBRARY_PATH=$INSTALL_PREFIX/bin:$LD_LIBRARY_PATH export CFLAGS=-I$INSTALL_PREFIX/include $CFLAGS export CPPFLAGS=-I$INSTALL_PREFIX/include $CPPFLAGS export LIBS=-L$INSTALL_PREFIX/lib $LIBS mkdir $DOWNLOADS_DIR/src
cd $DOWNLOADS_DIR/src
wget ftp://ftp.gimp.org/pub/babl/0.1/babl-0.1.2.tar.bz2

mkdir ~/stable-sources tar -xf $DOWNLOADS_DIR/src/babl-0.1.2.tar.bz2 -C ~/stable-sources cd ~/stable-sources/babl-0.1.2
./configure --prefix=$INSTALL_PREFIX -C make -j4
make install -j4

cd $DOWNLOADS_DIR/src wget ftp://ftp.gimp.org/pub/gegl/0.1/gegl-0.1.2.tar.bz2 tar -xf $DOWNLOADS_DIR/src/gegl-0.1.2.tar.bz2 -C ~/stable-sources cd ~/stable-sources/gegl-0.1.2
./configure --prefix=$INSTALL_PREFIX -C make -j4
make install –j4

Sayak
2011-05-25 07:26:21 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

These are the steps that i have followed inspired from this link..http://lightningismyname.blogspot.com/p/compiling-gimp.html... and some other links...

steps for compiling GEGL

1. Create the following directories

C:\gimp-win-beta C:\gimp-win-beta\build
C:\gimp-win-beta\downloads
C:\gimp-win-beta\perl

2. Install MinGW @ C:\gimp-win-beta\build

3. Install MinGW packages @ C:\gimp-win-beta\build

4. give PATH variable C:\gimp-win-beta\build\bin

5. Install MSYS, MSYS Development Kit, MSYS core

6. give HOME variable C:\gimp-win-beta\build\msys\1.0\home

7. Unzip Gtk+ bundle @ C:\gimp-win-beta\build\msys\1.0 (for updated pkg-config)

8. configure && make && make install babl copy babl.pc and babl.pc.in @ \lib\pkg-config after ./configure

9. configure && make && make install gegl copy gegl.pc and gegl.pc.in @ \lib\pkg-config after ./configure

Sayak
2011-05-26 03:29:15 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

Sayak writes:

i tried to use "make -j4 -k" command. this time the process goes for a longer time and it does loads of things... but the basic problem remains the same... fatal error: babl/babl.h: No such file or directory...

Sayak
2011-05-27 02:47:15 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

after giving this command for GEGL... ./configure --prefix=$INSTALL_PREFIX -C i got the following .... please tell me why i cannot compile GEGL. what is my mistake?

$ ./configure --prefix=$INSTALL_PREFIX -C configure: loading cache config.cache checking for a BSD-compatible install... (cached) /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) gcc
checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking for g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking build system type... (cached) i686-pc-mingw32 checking host system type... (cached) i686-pc-mingw32 checking for as... (cached) as
checking for dlltool... (cached) dlltool checking for objdump... (cached) objdump checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) c:/gimp-win-beta/build/mingw32/bin/ld.exe checking if the linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) is GNU ld... (cached) yes
checking for BSD- or MS-compatible name lister (nm)... (cached) /mingw/bin/nm checking the name lister (/mingw/bin/nm) interface... (cached) BSD nm checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for c:/gimp-win-beta/build/mingw32/bin/ld.exe option to reload object files... (cached) -r
checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) file_magic ^x86 archive import|^x86 DLL
checking for ar... (cached) ar
checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /mingw/bin/nm output from gcc object... (cached) ok checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) no
checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) c:/gimp-win-beta/build/mingw32/bin/ld.exe checking if the linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) is GNU ld... (cached) yes
checking whether the g++ linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC checking if g++ PIC flag -DDLL_EXPORT -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether to enable maintainer-specific portions of Makefiles... no checking for library containing strerror... (cached) none required checking whether make sets $(MAKE)... (cached) yes checking for special C compiler options needed for large files... (cached) no checking for _FILE_OFFSET_BITS value needed for large files... (cached) unknown checking for _LARGE_FILES value needed for large files... (cached) unknown checking for GNUC variadic macros... (cached) yes checking for ISO C99 variadic macros in C... (cached) yes checking for ISO C99 variadic macros in C++... (cached) yes checking whether to turn on debugging... no checking whether to turn on profiling... no checking whether to enable multi threading... no checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Winit-self... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wold-style-definition... yes checking for aclocal flags... (cached) -I/opt/share/aclocal checking for target architecture... i686-pc-mingw32 checking for dynamic library filename suffix... .dll checking for some Darwin platform... no checking for some Win32 platform... yes checking for native Win32... yes
checking whether gcc understands -mmmx... yes checking whether we can compile MMX code... yes checking whether gcc understands -msse... yes checking whether we can compile SSE code... yes checking for pkg-config... (cached) /bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for BABL... yes
checking for pkg-config... (cached) /bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB - version >= 2.22.0... yes (version 2.26.1) checking for DEP... yes
checking for GIO... yes
checking for GTK... yes
checking for bind_textdomain_codeset... (cached) yes checking if GLib is version 2.21.0 or newer... yes checking for perl5... (cached) perl
checking for ruby... (cached) no
configure: WARNING:
*** Could not find Ruby interpreter. The HTML API reference will not be updated.

checking for enscript... (cached) no *** Check for enscript command failed. checking for asciidoc... (cached) no *** Check for asciidoc failed.
checking for dot... (cached) no
*** Check for dot command failed.
checking for CAIRO... yes
checking for PANGO... yes
checking for PANGOCAIRO... yes
checking for GDK_PIXBUF... yes
checking for jpeg_destroy_decompress in -ljpeg... (cached) no with_png '', with_libpng ''
checking for PNG... yes
checking for RSVG... no
checking for OPENEXR... no
checking for sdl-config... (cached) no *** Check for SDL library failed.
checking for OPENRAW... no
checking for dot... (cached) no
*** Check for dot command from graphviz failed. checking for LUA... no
checking for LUA... no
checking for AVFORMAT... no
checking for linux/videodev.h... (cached) no checking for run_spiro in -lspiro... (cached) no checking for w3m... (cached) no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bin/Makefile config.status: creating gegl/Makefile config.status: creating gegl/gegl-version.h config.status: creating gegl/buffer/Makefile config.status: creating gegl/graph/Makefile config.status: creating gegl/module/Makefile config.status: creating gegl/operation/Makefile config.status: creating gegl/process/Makefile config.status: creating gegl/property-types/Makefile config.status: creating operations/Makefile config.status: creating operations/affine/Makefile config.status: creating operations/core/Makefile config.status: creating operations/common/Makefile config.status: creating operations/common/perlin/Makefile config.status: creating operations/external/Makefile config.status: creating operations/generated/Makefile config.status: creating operations/workshop/Makefile config.status: creating operations/workshop/external/Makefile config.status: creating operations/workshop/generated/Makefile config.status: creating tools/Makefile config.status: creating docs/Makefile config.status: creating docs/index-static.txt config.status: creating docs/gallery/Makefile config.status: creating docs/gallery/data/Makefile config.status: creating examples/Makefile config.status: creating examples/data/Makefile config.status: creating tests/Makefile config.status: creating tests/buffer/Makefile config.status: creating tests/compositions/Makefile config.status: creating tests/compositions/data/Makefile config.status: creating gegl.pc
config.status: creating gegl-uninstalled.pc config.status: creating config.h
config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands

Building GEGL with prefix=/opt

Optional features: GEGL docs: yes
Build workshop: no
Build website: no (asciidoc not found) SIMD: sse:yes mmx:yes
Multi threading: no

Optional dependencies: asciidoc: no (asciidoc not found) enscript: no (enscript not found) GIO: yes
GTK+: yes
Ruby: no
Lua: no (usable lua not found) Cairo: yes
Pango: yes
pangocairo: yes
GDKPixbuf: yes
JPEG: no (usable JPEG library not found) PNG: yes
OpenEXR: no (OpenEXR library not found) rsvg: no (usable librsvg not found) SDL: no (SDL library not found) openraw: no (openraw library not found) graphviz: no (graphviz not found) avformat: no (libavformat not found) V4L: no
spiro: no (usable SPIRO library not found)

Martin Nordholts
2011-05-27 05:15:51 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

2011/5/27 Sayak :

after giving this command for GEGL... ./configure --prefix=$INSTALL_PREFIX -C i got the following .... please tell me why i cannot compile GEGL. what is my mistake?

It says:

checking for BABL... yes

Look in config.log for BABL_CFLAGS and BABL_LIBS. What are they set to?

/ Martin

Sayak
2011-05-27 05:30:29 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

Martin Nordholts writes:

2011/5/27 Sayak :

after giving this command for GEGL... ./configure --prefix=$INSTALL_PREFIX -C i got the following .... please tell me why i cannot compile GEGL. what is my mistake?

It says:

checking for BABL... yes

Look in config.log for BABL_CFLAGS and BABL_LIBS. What are they set to?

/ Martin

Hello Martin,
i have checked the config.log file. 'BABL_CFLAGS='-IC:/gimp-win-beta/build/msys/1.0/include/babl-0.1 'BABL_LIBS='-LC:/gimp-win-beta/build/msys/1.0/lib -lbabl-0.1

Martin Nordholts
2011-05-27 05:35:14 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

2011/5/27 Sayak :

Hello Martin,
i have checked the config.log file.
'BABL_CFLAGS='-IC:/gimp-win-beta/build/msys/1.0/include/babl-0.1 'BABL_LIBS='-LC:/gimp-win-beta/build/msys/1.0/lib -lbabl-0.1

That looks correct (assuming mingw gcc can interpret those paths). Are the values of these variables passed to the compiler when you make? Run make with V=1 to find out.

/ Martin

Sayak
2011-05-27 05:45:03 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

Martin Nordholts writes:

2011/5/27 Sayak :

after giving this command for GEGL... ./configure --prefix=$INSTALL_PREFIX -C i got the following .... please tell me why i cannot compile GEGL. what is my mistake?

It says:

checking for BABL... yes

Look in config.log for BABL_CFLAGS and BABL_LIBS. What are they set to?

/ Martin

$ make V=1
make all-recursive
make[1]: Entering directory `/home/stable-sources/gegl-0.1.2' Making all in gegl
make[2]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl' Making all in buffer
make[3]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gegl -I../../gegl -I.. /../gegl/property-types -I../../gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfield s -IC:/gimp-win-beta/build/msys/1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include -IC:/gimp- win-beta/build/msys/1.0/include/babl-0.1 -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmis sing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -M P -MF .deps/gegl-tile-backend-tiledir.Tpo -c -o gegl-tile-backend-tiledir.lo gegl-tile-backend-tiledir.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gegl -I../../gegl -I../../gegl/property-types -I../.. /gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfields -IC:/gimp-win-beta/build/msys /1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include -IC:/gimp-win-beta/build/msys/1.0/include/b abl-0.1 -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpoi nter-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -MP -MF .deps/gegl-tile-backend-tiled ir.Tpo -c gegl-tile-backend-tiledir.c -DDLL_EXPORT -DPIC -o .libs/gegl-tile-backend-tiledir.o
In file included from gegl-tile-backend.h:22:0, from gegl-tile-backend-tiledir.c:26: gegl-tile-source.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated.
make[3]: *** [gegl-tile-backend-tiledir.lo] Error 1 make[3]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stable-sources/gegl-0.1.2' make: *** [all] Error 2

Martin Nordholts
2011-05-27 05:53:28 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

2011/5/27 Sayak :

$ make V=1
make  all-recursive
make[1]: Entering directory `/home/stable-sources/gegl-0.1.2' Making all in gegl
make[2]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl' Making all in buffer
make[3]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' /bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../gegl -I../../gegl -I.. /../gegl/property-types -I../../gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfield s -IC:/gimp-win-beta/build/msys/1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include   -IC:/gimp- win-beta/build/msys/1.0/include/babl-0.1   -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmis sing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -M P -MF .deps/gegl-tile-backend-tiledir.Tpo -c -o gegl-tile-backend-tiledir.lo gegl-tile-backend-tiledir.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gegl -I../../gegl -I../../gegl/property-types -I../.. /gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfields -IC:/gimp-win-beta/build/msys /1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include -IC:/gimp-win-beta/build/msys/1.0/include/b abl-0.1 -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpoi nter-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -MP -MF .deps/gegl-tile-backend-tiled ir.Tpo -c gegl-tile-backend-tiledir.c  -DDLL_EXPORT -DPIC -o .libs/gegl-tile-backend-tiledir.o
In file included from gegl-tile-backend.h:22:0,                 from gegl-tile-backend-tiledir.c:26: gegl-tile-source.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated.
make[3]: *** [gegl-tile-backend-tiledir.lo] Error 1 make[3]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stable-sources/gegl-0.1.2' make: *** [all] Error 2

Weird, it looks like libtool is invoked with babl on the include path, but then when libtool actually does the compilation, the babl include path is missing. Perhaps libtool thinks the include path is invalid and don't pass it on to gcc? Are you using the latest version of a mingw supported libtool? If you are, someone more experienced in Win32 compilation needs to take over. You could try copy the command libtool runs and add the babl compiler flags yourself.

/ Martin

My GIMP Blog:
http://www.chromecode.com/
"GIMP 2.8 schedule on tasktaste.com"
_______________________________________________
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer
Sayak
2011-05-27 05:57:34 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

Martin Nordholts writes:

Weird, it looks like libtool is invoked with babl on the include path, but then when libtool actually does the compilation, the babl include path is missing. Perhaps libtool thinks the include path is invalid and don't pass it on to gcc? Are you using the latest version of a mingw supported libtool? If you are, someone more experienced in Win32 compilation needs to take over. You could try copy the command libtool runs and add the babl compiler flags yourself.

/ Martin

i will check the versions of all. please tell me which command i have to give to run libtool and add the babl compiler flags myself? after i do that i will report back.

Sayak
2011-05-27 06:51:28 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

Martin Nordholts writes:

Weird, it looks like libtool is invoked with babl on the include path, but then when libtool actually does the compilation, the babl include path is missing. Perhaps libtool thinks the include path is invalid and don't pass it on to gcc? Are you using the latest version of a mingw supported libtool? If you are, someone more experienced in Win32 compilation needs to take over. You could try copy the command libtool runs and add the babl compiler flags yourself.

/ Martin

Hi Martin,
I have downloaded all the packages from this link.. http://www.mingw.org/wiki/InstallationHOWTOforMinGW this should be updated versions...

Sayak
2011-05-27 09:09:43 UTC (almost 14 years ago)

Error in compiling GEGL in windows using MSYS/MinGW

In my scrip, i set INSTALL_PREFIX=/opt But in the config.log, the path become: C:/gimp-win-beta/build/msys/1.0/lib If variable INSTALL_PREFIX is set correct, the lib path must have this pattern: BABL_CFLAGS='-I$INSTALL_PREFIX/include/babl-0.1 '