Search found 2 matches

by _Marc0_
14 Jan 2018, 18:55
Forum: Coding
Topic: cmake build problem: "error: No repo or cache detected."
Replies: 0
Views: 3591

cmake build problem: "error: No repo or cache detected."

I hope this will help others. I cloned the master branch from github.com and wanted to build using cmake using a build directory: cmake ../warzone2100-github cmake exited without an error: -- The C compiler identification is GNU 7.2.1 -- The CXX compiler identification is GNU 7.2.1 -- Check for work...
by _Marc0_
13 Jan 2018, 17:14
Forum: Development
Topic: linux compile error: No repo or cache detected
Replies: 4
Views: 5195

Re: linux compile error: No repo or cache detected

I see a similar behaviour when compiling from git ("$SRCDIR") using cmake and a build directory ("$BUILDDIR") not being the source directory. The files src/autorevision.cache and src/autorevision.h are missing after running cmake, calling make will result in the given error: $ ma...