Kodi Community Forum
cmake missing iso9660 check - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: cmake missing iso9660 check (/showthread.php?tid=310285)



cmake missing iso9660 check - memeka - 2017-03-23

Leia as of 23/03/2017, configuration was ok, but compiling resulted in error due to missing iso9660 library.
I think cmake should check iso9660 too.


RE: cmake missing iso9660 check - memeka - 2017-03-24

Also, I found on ARM gcc 6.3 has issue compiling and linking DVDInputStreams. It needs the "-fPIC" flag which somehow is not added.
I had to:
Code:
diff --git a/xbmc/cores/VideoPlayer/DVDInputStreams/CMakeLists.txt b/xbmc/cores/VideoPlayer/DVDInputStreams/CMakeLists.txt
index 9385cb78f9..3ea5db7c64 100644
--- a/xbmc/cores/VideoPlayer/DVDInputStreams/CMakeLists.txt
+++ b/xbmc/cores/VideoPlayer/DVDInputStreams/CMakeLists.txt
@@ -1,3 +1,4 @@
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
set(SOURCES DVDFactoryInputStream.cpp
             DVDInputStream.cpp
             DVDInputStreamFFmpeg.cpp
but I assume this will not work for other architectures.