How to compile vfs.rar?
Hello,
I'm triying to compile the vfs.rar addon. But I get always the same error message (kodi_vfs_dll.h not found). Where is the problem?
P.S: I used this xbmc source.
lucas@vm-ubuntu-16:~$ make -C /home/lucas/vfs.rar/build
make: Entering directory '/home/lucas/vfs.rar/build'
make[1]: Entering directory '/home/lucas/vfs.rar/build'
make[2]: Entering directory '/home/lucas/vfs.rar/build'
make[2]: Leaving directory '/home/lucas/vfs.rar/build'
[ 24%] Built target tinyxml
make[2]: Entering directory '/home/lucas/vfs.rar/build'
make[2]: Leaving directory '/home/lucas/vfs.rar/build'
make[2]: Entering directory '/home/lucas/vfs.rar/build'
[ 27%] Performing update step for 'p8-platform'
[ 30%] Performing configure step for 'p8-platform'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build
[ 33%] Performing build step for 'p8-platform'
make[3]: Entering directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
make[4]: Entering directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
make[5]: Entering directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
make[5]: Leaving directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
[100%] Built target p8-platform
make[4]: Leaving directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
make[3]: Leaving directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
[ 36%] Performing install step for 'p8-platform'
make[3]: Entering directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
make[4]: Entering directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
make[5]: Entering directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
make[5]: Leaving directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
[100%] Built target p8-platform
make[4]: Leaving directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
Install the project...
-- Install configuration: "Debug"
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/lib/libp8-platform.a
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/os.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/posix/os-socket.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/posix/os-threads.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/posix/os-types.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/sockets/cdevsocket.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/sockets/socket.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/sockets/tcp.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/threads/atomics.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/threads/mutex.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/threads/threads.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/util/atomic.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/util/buffer.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/util/StringUtils.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/util/StdString.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/util/timeutils.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/p8-platform/util/util.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/lib/pkgconfig/p8-platform.pc
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/lib/p8-platform/p8-platform-config.cmake
make[3]: Leaving directory '/home/lucas/vfs.rar/build/build/p8-platform/src/p8-platform-build'
[ 39%] Completed 'p8-platform'
make[2]: Leaving directory '/home/lucas/vfs.rar/build'
[ 48%] Built target p8-platform
make[2]: Entering directory '/home/lucas/vfs.rar/build'
make[2]: Leaving directory '/home/lucas/vfs.rar/build'
make[2]: Entering directory '/home/lucas/vfs.rar/build'
[ 51%] Performing update step for 'kodi-platform'
[ 54%] Performing configure step for 'kodi-platform'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build
[ 57%] Performing build step for 'kodi-platform'
make[3]: Entering directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
make[4]: Entering directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
make[5]: Entering directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
make[5]: Leaving directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
[100%] Built target kodiplatform
make[4]: Leaving directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
make[3]: Leaving directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
[ 60%] Performing install step for 'kodi-platform'
make[3]: Entering directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
make[4]: Entering directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
make[5]: Entering directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
make[5]: Leaving directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
[100%] Built target kodiplatform
make[4]: Leaving directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
Install the project...
-- Install configuration: "Debug"
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/lib/libkodiplatform.a
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/include/kodi/util/XMLUtils.h
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/lib/pkgconfig/kodiplatform.pc
-- Up-to-date: /home/lucas/vfs.rar/build/build/depends/lib/kodiplatform/kodiplatform-config.cmake
make[3]: Leaving directory '/home/lucas/vfs.rar/build/build/kodi-platform/src/kodi-platform-build'
[ 63%] Completed 'kodi-platform'
make[2]: Leaving directory '/home/lucas/vfs.rar/build'
[ 72%] Built target kodi-platform
make[2]: Entering directory '/home/lucas/vfs.rar/build'
make[2]: Leaving directory '/home/lucas/vfs.rar/build'
make[2]: Entering directory '/home/lucas/vfs.rar/build'
[ 75%] Performing forcebuild step for 'vfs.rar'
Force build of vfs.rar
[ 78%] Performing build step for 'vfs.rar'
make[3]: Entering directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
make[4]: Entering directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
make[5]: Entering directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
make[5]: Leaving directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
[ 91%] Built target unrarxlib
make[5]: Entering directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
make[5]: Leaving directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
make[5]: Entering directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
[ 93%] Building CXX object CMakeFiles/vfs.rar.dir/src/RarFile.cpp.o
/home/lucas/vfs.rar/src/RarFile.cpp:37:31: fatal error: kodi/kodi_vfs_dll.h: No such file or directory
compilation terminated.
CMakeFiles/vfs.rar.dir/build.make:62: recipe for target 'CMakeFiles/vfs.rar.dir/src/RarFile.cpp.o' failed
make[5]: *** [CMakeFiles/vfs.rar.dir/src/RarFile.cpp.o] Error 1
make[5]: Leaving directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/vfs.rar.dir/all' failed
make[4]: *** [CMakeFiles/vfs.rar.dir/all] Error 2
make[4]: Leaving directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
Makefile:127: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/lucas/vfs.rar/build/vfs.rar-prefix/src/vfs.rar-build'
CMakeFiles/vfs.rar.dir/build.make:112: recipe for target 'vfs.rar-prefix/src/vfs.rar-stamp/vfs.rar-build' failed
make[2]: *** [vfs.rar-prefix/src/vfs.rar-stamp/vfs.rar-build] Error 2
make[2]: Leaving directory '/home/lucas/vfs.rar/build'
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/vfs.rar.dir/all' failed
make[1]: *** [CMakeFiles/vfs.rar.dir/all] Error 2
make[1]: Leaving directory '/home/lucas/vfs.rar/build'
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/home/lucas/vfs.rar/build'
lucas@vm-ubuntu-16:~$