[mythtv-users] CMake remembers too much

James Abernathy jfabernathy at gmail.com
Tue Feb 11 17:43:09 UTC 2025


So after a build on mythtv using cmake on a RPI4, I decided to go back to
testing a build with mythtv-light using cmake.  So I deleted my ~/build
directory that contained the mythtv clone and also my output director that
was created by the -DCMAKE_INSTALL_PREFIX=/home/jim/build/jfa-build-out

However, when I did a new clone of mythtv and packaging then tried to build
mythtv-light I got errors that somewhere on my system it remembered to look
for stiff in my CMAKE_INSTALL_PREFIX directory as show below in the example
console output:

CMake Error in programs/mythfrontend/CMakeLists.txt:
  Imported target "PkgConfig::LIBAVFORMAT" includes non-existent path

    "/home/jim/build/jfa-build-out/include/mythtv"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

Not sure how to clear that short of reformatting the drive and rebuilding.

JIm A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20250211/fc921e69/attachment.htm>


More information about the mythtv-users mailing list