Building rigs of rods on Debian

Today, I tried to build Rigs Of Rods from sources.While building dependencies with the official wiki documentation worked but I had a strange issue with the cmake . command :
CMake Error at source/version_info/CMakeLists.txt:45 (add_library):

Cannot find source file:


Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp

.hxx .in .txx

It seems that cmake needs this file to generate the source/version_info/ files. The solution is quite simple, call this command from the RoR root directory :

touch source/version_info/version_info.cpp

This creates an empty file and you'll be able to correctly run cmake again.


Popular posts from this blog

How to make a map of variant in C++