• Register
0 votes
54 views

Problem :

I want to run the NVCC to compile my CUDA program on my Mac.

But when I try to run the NVCC, I am facing below error message:

"nvcc fatal : The version ('70300') of the host compiler ('Apple clang') is not supported".

I tried updating the XCode version to 7.3, and the Mac version to 10.11.4.

But I am facing the same error.

How can I revert my Apple Clang Version?

6 5 3
7,540 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

To solve your issue please try to download the next to latest all command line tools and install them then write following command in the console:

sudo xcode-select --switch /Library/Developer/CommandLineTools

You can revert your Apple Clang to the original version of the tools. By writing following command in the console:

sudo xcode-select --switch /Applications/Xcode.app

OR

Please try the homebrew's version of llvm it will work for you. 

Just write following command:

brew install llvm37

After that try to set your compiler to homebrew's clang: /usr/local/bin/clang++-3.7

By this way you will be able to leave your OS X dev environment to defaults as they were

OR.

Just rename your Xcode existing in your mac as the Xcode-7.app in your /Applications folder. After that just download Xcode6.4 from below link:  https://developer.apple.com/download/more/ 

And just install it. And you will be sorted.

 

9 7 4
38,600 points

Related questions

1 vote
1 answer 2 views
2 views
Problem: Any remedy to this? Action cannot be completed because the file is open in system.
asked Mar 27 PkGuy 13.1k points
0 votes
1 answer 726 views
726 views
Problem : I am trying to install the visual studio code on the Ubuntu VM also I am using c++. But I am facing the following error message which is often covering my pages tab at the top and it is very frustrating: Please install [clang](http://clang.llvm. ... C++ support from the required packages. I am now completely confused have anyone ever faced the above error and have the solution on it ?
asked Dec 2, 2019 alecxe 7.5k points
0 votes
1 answer 10 views
10 views
Problem: when I click the install button on the Xcode from the app store, it's always shows the "Not enough storage disk space, you can't install the product" alert message. How to fix the problem in the MacOS Mojave(10.14.1)? Thank you very much.
asked Mar 19 ummesalma 22k points
0 votes
1 answer 902 views
902 views
Problem: Installation failed: Can’t Install the Software I am getting following message like: A software update is required to connect to your iPhone. Would you like to download and install this updatenow? Use of this software is subject to the original Software ... the software because it si not currently available from the softwre update server. Can any one help to sort this issue out?
asked Jul 16, 2020 quizzBabes 160 points
0 votes
1 answer 805 views
805 views
Problem : I got an error on Xcode saying that there was no information about the view controller as follows: Could not insert new outlet connection: Could not find any information for the class named Why am I getting this error?
asked Nov 28, 2019 alecxe 7.5k points
0 votes
1 answer 26 views
26 views
Problem: the file “info.plist” couldn’t be opened because there is no such file.
asked Feb 12 Dan phillip 4.1k points
0 votes
1 answer 2 views
2 views
Problem: My application is crashing with the following error. What does this mean? How can I fix it? *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x6e36ae0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key XXX.'
asked Mar 24 ummesalma 22k points
0 votes
1 answer 3 views
3 views
Problem: I am trying to upload an Apple TV App to the App Store for testing purposes, but I got the issue: This Action could not be completed. Try Again (-22421)
asked Mar 19 ummesalma 22k points
0 votes
1 answer 7 views
7 views
Problem: I tried to copy my Xcode project and pasted it into Backup Folder. I got this above issue: The operation can&rsquo;t be completed because an unexpected error occurred (error code -8058) Any Help appreciated. Thanks.
asked Mar 20 ummesalma 22k points
0 votes
1 answer 1 view
1 view
Problem,: please help to solve this wquestion... creating an image format with an unknown type is an error swift 3
asked Apr 1 Ifra 24.4k points