Page 1 of 1

Trouble Compiling Mobile VLCKit

Posted: 31 Jan 2018 19:36
by jeff_m
Following the instructions here: https://wiki.videolan.org/VLCKit/

I ran

Code: Select all

./buildMobileVLCKit.sh -f -v
My OS: OSX 10.12.6 (16G1114)

Error Output:
-- Found Threads: TRUE
-- Looking for cbreak in /usr/lib/libncurses.dylib
-- Looking for cbreak in /usr/lib/libncurses.dylib - found
-- Looking for elf.h
-- Looking for elf.h - not found
-- Looking for CoreServices/CoreServices.h
-- Looking for CoreServices/CoreServices.h - found
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - NOTFOUND
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file

"/usr/local/.//mkspecs/macx-clang"

but this file does not exist. Possible reasons include:

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

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
/usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:141 (include)
Tests/RunCMake/CMakeLists.txt:248 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/jeffmcfadden/c/VLCKit/libvlc/vlc/extras/tools/cmake/CMakeFiles/CMakeOutput.log".
See also "/Users/jeffmcfadden/c/VLCKit/libvlc/vlc/extras/tools/cmake/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake
---------------------------------------------
make: *** [.cmake] Error 11
I do have homebrew installed, so I removed /usr/local from my path, deleted the source tree and retried, but got the same exact result.

Re: Trouble Compiling Mobile VLCKit

Posted: 12 Feb 2018 09:59
by mfkl
What are the logs saying? CMakeOutput and CMakeError?
Do you have gcc/clang installed?