Linux kodi17 cmake failed incorrect file name kodiConfig.cmake
#1
Hi,

I do a full compile of Kodi17 with all pvr, audio and visualization addons on Ubuntu 14.04
if kodi and pvr compile as well
audio and visualization failed due to a missing cmake file
Quote:CMake Error at CMakeLists.txt:7 (find_package):
By not providing "Findkodi.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "kodi", but
CMake did not find one.

Could not find a package configuration file provided by "kodi" with any of
the following names:

kodiConfig.cmake
kodi-config.cmake

Add the installation prefix of "kodi" to CMAKE_PREFIX_PATH or set
"kodi_DIR" to a directory containing one of the above files. If "kodi"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!
See also "/root/sources/kodi17/kodi-visualization-goom-1.0.0/CMakeFiles/CMakeOutput.log".

The problem is linked to the fact that file in named : KodiConfig.cmake and NOT kodiConfig.cmake as require

A simple copy (in lib/kodi) solve the problem ... but a little annoying when compile is done using a bash script .... Huh

So just For Your Information ...

Philippe.
Reply
#2
kodi-config.cmake has been renamed to KodiConfig.cmake a few months ago. But all affected addons have been adapted afaik. They have to use find_package(Kodi) now with upper case K.
For Goom this was the PR: https://github.com/notspiff/visualization.goom/pull/5. Can it be that you're trying to build an older version of the addon?
Reply
#3
Hi,

I use source for ubuntu 14.04 from repository :
team-xbmc-unstable-trusty
the kodi version available is :
kodi-17.0~git20160801.0855-alpha3

goom source is for goom 1.0.0-1~trusty ...

This is NOT only for goom ... but for all visualization and audio encoder/decoder ... but all works for PVR addons
after the change the addons (all) compile well and can be used without visible problem (functional test only)

Thanks for your interest.
Philippe.
Reply
#4
the PPA has not been updated after this change, because there is no need.
If you don't want to use our binary packages use the source from github.
Reply
#5
Hi,

OK ... thanks for advice ...

Philippe.
NB no need Huh is not clear (for me) ... except if addons are inside the github and don't request external source ...
Reply

Logout Mark Read Team Forum Stats Members Help
kodi17 cmake failed incorrect file name kodiConfig.cmake0