Revert Apple Clang Version For NVCC

后端 未结 9 1648
说谎
说谎 2020-12-23 12:04

I am trying to run NVCC to compile a CUDA program on my Mac.

When I try to run NVCC, I am receiving the following error: \"nvcc fatal : The version (\'70300\') of

9条回答
  •  清酒与你
    2020-12-23 12:22

    Unfortunately, installing Command Line Tools from X-code version 7.2. currently is not solving this.

    Trying to compile results in:

    nvcc fatal : GNU C/C++ compiler is no longer supported as a host compiler on Mac OS X.

    What did the trick for me, was to uninstall Xcode 7.3 and install Xcode 6.2 from the Apple developer site.

提交回复
热议问题