Closed autopr3z closed 2 months ago
Adding #include <algorithm>
to src/bstone_saved_game.cpp
solves the missing 'copy_n' issue for me on Manjaro Linux.
Fixed in 8fc3bceaec1b992905b601e139c42da37a3a4f45.
Works for me! Thanks for the quick response, now I can finally blake the stone.
Hi! I'm getting a compile error on the main branch. Below is the error it gives me.
[ 80%] Building CXX object src/CMakeFiles/bstone.dir/bstone_saved_game.cpp.o /home/dan/Git/bstone/src/bstone_saved_game.cpp: In function ‘void bstone::sg_delete_chunk(FourCc, MemoryStream&)’: /home/dan/Git/bstone/src/bstone_saved_game.cpp:116:14: error: ‘copy_n’ is not a member of ‘std’; did you mean ‘copy’? 116 | std::copy_n( | ^
~| copyI gather 'copy_n' isn't part of std. I am using Debian 12.
Thanks so much for your hard work on this engine! The pace of development is wild, and it's really exciting to see all these improvements.