Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler Errors WRT json.hpp and CPP version 14 requirement #73

Open
sc0m3r opened this issue Mar 28, 2022 · 3 comments
Open

Compiler Errors WRT json.hpp and CPP version 14 requirement #73

sc0m3r opened this issue Mar 28, 2022 · 3 comments

Comments

@sc0m3r
Copy link

sc0m3r commented Mar 28, 2022

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

@Tom94
Copy link
Collaborator

Tom94 commented Apr 1, 2022

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.

@xuxmin
Copy link

xuxmin commented Apr 1, 2022

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

@sc0m3r
Copy link
Author

sc0m3r commented Apr 4, 2022

VS2019 Version16.8.3, cuda 11.4, sm86 - 3090
and
VS2019 Version 16.11.5, cuda 10.2 sm70 - TitanV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants