FastNoise2
FastNoise2 copied to clipboard
Does not build with gcc 7.
Apparently just using set(CMAKE_CXX_STANDARD 17) in cmake is not enough and i just installed gcc 8 to get it to build. The problem is that the path to the filesystem header and it's namespace need prefixed with "experimental" for 7. Leaving these resources here for reference. https://stackoverflow.com/questions/64945946 https://stackoverflow.com/questions/54290254
@Auburn I can fix it with something like this if you want, https://github.com/caseymcc/imglib/blob/main/cmake/Filesystem.cmake, https://github.com/caseymcc/imglib/blob/main/cmake/target_filesystem.h.in
The filesystem include is only used for a single file_exists
call, so that could probably be replaced by something else and the filesystem include removed completely