I cloned the master branch from github.com and wanted to build using cmake using a build directory:
Code: Select all
cmake ../warzone2100-github
Code: Select all
-- The C compiler identification is GNU 7.2.1
-- The CXX compiler identification is GNU 7.2.1
-- Check for working C compiler: /opt/gcc-7.2.1/bin/gcc
-- Check for working C compiler: /opt/gcc-7.2.1/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/gcc-7.2.1/bin/c++
-- Check for working CXX compiler: /opt/gcc-7.2.1/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Looking for include file alloca.h
-- Looking for include file alloca.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/ucontext.h
-- Looking for include file sys/ucontext.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for gettext
-- Looking for gettext - found
-- Looking for iconv
-- Looking for iconv - found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Found PhysFS: /usr/lib/i386-linux-gnu/libphysfs.so
-- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.8")
-- Found PNG: /usr/lib/i386-linux-gnu/libpng.so (found version "1.2.50")
-- Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so
-- Found GLEW: /usr/include
-- Found Freetype: /usr/lib/i386-linux-gnu/libfreetype.so (found version "2.5.2")
-- Checking for module 'harfbuzz'
-- Found harfbuzz, version 0.9.27
-- Found SDL2: /opt/sdl2/include/SDL2
-- Found OpenAL: /usr/lib/i386-linux-gnu/libopenal.so
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/warzone2100-build
Code: Select all
$ make -j9
...
[ 53%] Generating moc_qtscriptdebug.cpp
error: No repo or cache detected.
make[2]: *** [src/autorevision.h] Error 1
make[2]: *** Deleting file `src/autorevision.h'
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/warzone2100.dir/all] Error 2
make: *** [all] Error 2