cmake missing iso9660 check
#1
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.
Reply
#2
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.
Reply

Logout Mark Read Team Forum Stats Members Help
cmake missing iso9660 check0