Compiler Errors WRT json.hpp and CPP version 14 requirement
problem seems to stem from :
CUDACOMPILE : nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored. [P:\opensource\tiny-cuda-nn\build\src\tiny-cuda-nn.vcxproj]
json cpp which needs c++14
is there a way to tweak the nvcc compiler ?
this also happens when compiling instant-ngp
Tried to build on multiple systems, specs listed
- cuda 11.4, sm86 - 3090
- cuda 10.2 sm70 - TitanV
build output: tiny-cuda-nn_build.log
Could you let us know which host compiler (+ version) you are using? That might shed light on why nvcc reports that it doesn't support C++14.
I met the same compiler error in vs2019 16.11 and cuda 10.2, and finally compile success when I change cuda version to 11.4
VS2019 Version16.8.3, cuda 11.4, sm86 - 3090 and VS2019 Version 16.11.5, cuda 10.2 sm70 - TitanV