FastNoise2 icon indicating copy to clipboard operation
FastNoise2 copied to clipboard

Does not build with gcc 7.

Open MalikuMane opened this issue 2 years ago • 2 comments

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

MalikuMane avatar Nov 25 '21 15:11 MalikuMane

@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

caseymcc avatar Jan 08 '22 17:01 caseymcc

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

Auburn avatar Jan 17 '22 20:01 Auburn