So... I tried to compile this on Linux and CMake fails in cmake/util.cmake:22 several times.
Seems like the parameters for ADD_IMPORTED_LIB() are wrong.
I've attached the CMakeOuput.log and CMakeError.log.
The console output is:
-- The C compiler identification is GNU 4.9.0
-- The CXX compiler identification is GNU 4.9.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected compatibility for the AVX feature set. Optimizations are done accordingly.
-- NO FS2PATH environment variable found, you can define this to point to your freespace install but it it not required.
CMake Warning at CMakeLists.txt:60 (message):
CMAKE_BUILD_TYPE was not specified, defaulting to Release configuration.
-- cotire 1.5.2 loaded.
-- Doing configuration specific to gcc...
-- Performing Test COMPILER_SUPPORTS_CXX1Y
-- Performing Test COMPILER_SUPPORTS_CXX1Y - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX0X
-- Performing Test COMPILER_SUPPORTS_CXX0X - Success
-- Configuring UNIX specific things and stuff...
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
-- Performing Test HAS_CXX11_IS_TRIVIAL
-- Performing Test HAS_CXX11_IS_TRIVIAL - Success
-- Performing Test HAS_CXX11_IS_TRIVIALLY_COPYABLE
-- Performing Test HAS_CXX11_IS_TRIVIALLY_COPYABLE - Failed
-- Performing Test HAS_CXX11_STATIC_ASSERT
-- Performing Test HAS_CXX11_STATIC_ASSERT - Success
-- Performing Test HAS_CXX11_AUTO
-- Performing Test HAS_CXX11_AUTO - Success
-- Performing Test HAS_CXX11_OVERRIDE
-- Performing Test HAS_CXX11_OVERRIDE - Success
-- Performing Test HAS_CXX11_NOEXCEPT
-- Performing Test HAS_CXX11_NOEXCEPT - Success
CMake Error at cmake/util.cmake:22 (LIST):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
lib/libjpeg/CMakeLists.txt:77 (ADD_IMPORTED_LIB)
CMake Error at cmake/util.cmake:22 (LIST):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
lib/zlib/CMakeLists.txt:71 (ADD_IMPORTED_LIB)
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'ogg'
-- found ogg, version 1.3.1
-- checking for module 'theora'
-- found theora, version 1.1.1
-- checking for module 'vorbis'
-- found vorbis, version 1.3.4
-- checking for module 'vorbisfile'
-- found vorbisfile, version 1.3.4
CMake Error at cmake/util.cmake:22 (LIST):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
lib/oggvorbis/CMakeLists.txt:15 (ADD_IMPORTED_LIB)
CMake Error at cmake/util.cmake:22 (LIST):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
lib/oggvorbis/CMakeLists.txt:21 (ADD_IMPORTED_LIB)
CMake Error at cmake/util.cmake:22 (LIST):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
lib/oggvorbis/CMakeLists.txt:24 (ADD_IMPORTED_LIB)
-- Found OpenAL: /usr/lib64/libopenal.so
CMake Error at cmake/util.cmake:22 (LIST):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
lib/openal/CMakeLists.txt:93 (ADD_IMPORTED_LIB)
-- checking for one of the modules 'sdl2'
-- checking for module 'jansson>=2.2'
-- found jansson, version 2.6
CMake Error at cmake/util.cmake:22 (LIST):
list index: 1 out of range (-1, 0)
Call Stack (most recent call first):
lib/jansson/CMakeLists.txt:10 (ADD_IMPORTED_LIB)
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for dlsym
-- Looking for dlsym - not found
-- Looking for dlsym in dl
-- Looking for dlsym in dl - found
-- Doing configuration specific to gcc...
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- iostreams
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Doing configuration specific to gcc...
-- Found Lua51: /usr/lib64/liblua5.1.so;/usr/lib64/libm.so
-- Boost version: 1.55.0
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- iostreams
-- regex
-- CXX target code cotired without unity build excluding 24 files.
-- Boost version: 1.55.0
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.7")
-- Configuring incomplete, errors occurred!
See also "/home/tobias/dev/fs2/fs2-blink/build/CMakeFiles/CMakeOutput.log".
See also "/home/tobias/dev/fs2/fs2-blink/build/CMakeFiles/CMakeError.log".
[attachment kidnapped by pirates]