Scanning dependencies of target playerwritemap
[ 97%] Building C object utils/playerwritemap/CMakeFiles/playerwritemap.dir/playerwritemap.o
/home/newchief/psg3/src/player-20100827/utils/playerwritemap/playerwritemap.c:46:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
$ rpm -q gtk2-devel
gtk2-devel-2.12.12-2.fc9.ppc
gtk2-devel-2.12.12-2.fc9.ppc64
$ pkg-config gdk-pixbuf-2.0 --cflags
-I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
$ cd /usr/include/gtk-2.0
$ ls gdk-pixbuf/gdk-pixbuf.h
gdk-pixbuf/gdk-pixbuf.h
$ rpm -q cmake
cmake-2.6.3-3.fc9.ppc
cmake didn't listen what pkgconfig says? looks like cmake spec for playerwritemap is broken
can you issue make VERBOSE=1 and paste the gcc command that gets invoked here?
Here it is:
[ 97%] Building C object utils/playerwritemap/CMakeFiles/playerwritemap.dir/playerwritemap.o
cd /home/newchief/psg3/src/build/utils/playerwritemap && /usr/lib/ccache/gcc -Wall -I/home/newchief/psg3/src/player-20100901 -I/home/newchief/psg3/src/buil
d -I/home/newchief/psg3/src/build/libplayercore -I/home/newchief/psg3/src/player-20100901/client_libs -o CMakeFiles/playerwritemap.dir/playerwritemap.o -
c /home/newchief/psg3/src/player-20100901/utils/playerwritemap/playerwritemap.c
/home/newchief/psg3/src/player-20100901/utils/playerwritemap/playerwritemap.c:46:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
I also found that cmake looks for gdk-pixbuf twice and it is found properly in both cases:
1:
-- Check if the system is big endian - big endian
-- checking for module 'libgnomecanvas-2.0'
-- package 'libgnomecanvas-2.0' not found
-- checking for module 'gtk+-2.0'
-- package 'gtk+-2.0' not found
-- checking for module 'gdk-pixbuf-2.0'
-- found gdk-pixbuf-2.0, version 2.12.12
-- Looking for include files HAVE_PTHREAD_H
-- Looking for include files HAVE_PTHREAD_H - found
-- Large file support is disabled.
-- Found PythonInterp: /usr/bin/python2.5
2:
-- Looking for include files HAVE_LINUX_SERIAL_H
-- Looking for include files HAVE_LINUX_SERIAL_H - found
-- Looking for main in roboop
-- Looking for main in roboop - not found
-- checking for module 'gdk-pixbuf-2.0'
-- found gdk-pixbuf-2.0, version 2.12.12
-- Performing Test HAVE_COMPATIBLE_CXX
-- Performing Test HAVE_COMPATIBLE_CXX - Success
-- Looking for include files HAVE_HDR_ASM_IOCTLS_H
-- Looking for include files HAVE_HDR_ASM_IOCTLS_H - found
-- checking for module 'libgarcia'
-- package 'libgarcia' not found