Building on Windows - CMake Error Could NOT find hdhomerun (missing: HDHOMERUN_LI ...
#1
What's required to build this add-on on Windows, and then integrate it into a Kodi instance? I'd like to take a stab at fixing a few issues, but I haven't gotten it to build.

I have cloned the repo from https://github.com/kodi-pvr/pvr.hdhomerun.git and attempted to follow the instructions.
I have VS2015 Professional installed (14.0.25431.01 Update 3) and cmake 3.7.2.


In the output from the command-line build is the following text, then report of the error at the very end of the run.

Code:
Building Custom Rule D:/Kodi-Dev/xbmc/cmake/addons/CMakeLists.txt
  CMake does not need to re-run because D:\Kodi-Dev\pvr.hdhomerun\CMakeFiles\ge
  nerate.stamp is up-to-date.
  Creating directories for 'hdhomerun'
  Performing gitconfig step: Disabling autocrlf to enable patching for 'hdhomer
  un'
  fatal: pathspec '.' did not match any files
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(171,5): error MSB6006: "cmd.exe" exited with code 128. [D:\Kodi-Dev\pvr.hdh
omerun\hdhomerun.vcxproj]

Using the "ALL_BUILD" target in the IDE shows some errors that may be meaningful:

Code:
8>  -- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
8>  -- Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
8>  CMake Error at C:/Program Files/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
8>    Could NOT find hdhomerun (missing: HDHOMERUN_LIBRARIES
8>    HDHOMERUN_INCLUDE_DIRS)
8>  Call Stack (most recent call first):
8>    C:/Program Files/CMake/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
8>    Findhdhomerun.cmake:13 (find_package_handle_standard_args)
8>    CMakeLists.txt:13 (find_package)
8>
8>
8>  -- Configuring incomplete, errors occurred!
8>  See also "D:/Kodi-Dev/pvr.hdhomerun/build/pvr.hdhomerun-prefix/src/pvr.hdhomerun-build/CMakeFiles/CMakeOutput.log".

There aren't any errors in that log file.

Any clues as to what I have missed?
Reply


Messages In This Thread
Building on Windows - CMake Error Could NOT find hdhomerun (missing: HDHOMERUN_LI ... - by MatthewLundberg - 2017-04-09, 22:39
Logout Mark Read Team Forum Stats Members Help
Building on Windows - CMake Error Could NOT find hdhomerun (missing: HDHOMERUN_LI ...0