• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Error when trying to compile Nekiro 1.5 downgrade

Gunmetalx

Member
Joined
Sep 13, 2016
Messages
56
Reaction score
8
Im getting an error that cmakepresets.json cant be found. Checking the github shows its not there. Where can I find this file?
 
Solved. Was using the wrong command. Also found that using GCC version 14 to compile was giving me errors at 61%. Had to install GCC version 12. The tutorial is rather old, so if anyone comes across this post, GCC 14 will not compile, download it alongside GCC 14 with

sudo apt update
sudo apt install gcc-12 g++-12


Then verify with
g++-12 --version

Then rerun cmake and the commands below in your project directory


rm -rf build
mkdir build
cd build


Then run
cmake -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12 ..

Build with make


-----------------------------------------------
If its still giving you an error check with
grep CXX_COMPILER CMakeCache.txt

Should output

CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-12
 
Last edited:
Back
Top