squish.h: No such file or directory
#1
I'm sorry if this is the wrong forum or media to post this, but I'm not sure where else to post it.

I have a problem when compiling Kodi. The error looks like this:

Code:
CPP     xbmc/guilib/DDSImage.o
DDSImage.cpp:24:20: fatal error: squish.h: No such file or directory
compilation terminated.

My Make.include file contains a section which looks something like this

Code:
[..]
INCLUDES+=-I/home/builder/xbmc-imx-git/src/xbmc/addons/library.xbmc.codec
INCLUDES+=$(sort  -I/usr/include/mysql   -I/usr/include/yajl -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include/libpng16   -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/taglib   -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/alsa  -I/usr/include/samba-4.0  -I/usr/include/libcec
-I  -I/home/builder/xbmc-imx-git/src/xbmc/tools/depends/target/ffmpeg/ffmpeg-install/include -I/home/builder/xbmc-imx-git/src/xbmc/tools/depends/native/libsquish-native/squish-install/include)
INCLUDES+=-I/home/builder/xbmc-imx-git/src/xbmc/xbmc/linux
[..]

For some reason there is section above contains "-I -I" (two include arguments in a row), and removing one of the "-I" arguments solves the issue.
Bonus info: config.log can be downloaded here: http://filebin.ca/2ToIvcWhU2UY/config.log

Question: Does anybody have an idea why I get the double include arguments? Is it some dependency that is not resolved properly? Or something else?
Reply
#2
CEC_CFLAGS='-I/usr/include/libcec -I'
Reply
#3
Spot on wsnipex, thanks a lot. The Pulse-Eight platform produced a pkg-config file without a value for the -I argument. I have created a pull request to hopefully have the issue fixed: https://github.com/Pulse-Eight/platform/pull/22
Thanks for the quick feedback.
Reply
#4
nice, thanks!
Reply
#5
wnsipex, would you suggest just adding the build flag you mentioned or waiting to see what upstream says about adding the PR patch to the old release before the p8 rename?
Reply
#6
I've asked opdenkamp if he can create a branch with the old name and this patch backported.
Reply
#7
there you go: https://github.com/Pulse-Eight/platform/commits/oldname
Reply
#8
Got it, saw his response to me. Thank you sir.
Reply

Logout Mark Read Team Forum Stats Members Help
squish.h: No such file or directory0