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

Visual Studio solution does not open or build without CUDA #67

Closed
Malthanatos opened this issue Oct 24, 2018 · 3 comments
Closed

Visual Studio solution does not open or build without CUDA #67

Malthanatos opened this issue Oct 24, 2018 · 3 comments
Assignees

Comments

@Malthanatos
Copy link

I get the following error attempting to open (never mind compile/build) the CARLsim solution file in Visual Studio:

C:\Users\USERNAME\Documents\working\CARLsim4\carlsim\kernel\carlsim.vcxproj(74,5): The imported project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 8.0.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

I tried on VS 2015 and 2017

@hkashyap
Copy link
Contributor

@tingshuc hi Ting, can you please look into this VS issue? People were trying to build carlsim.sln in the class and got these issues. Is cuda 8.0 hardcoded and how to build on Windows without GPU?

@tingshuc
Copy link
Member

It might be the setting in VS. Right click on project and find out "Build Dependencies" > "Build Customizations" and make sure CUDA 8.0 is selected.

@hkashyap hkashyap closed this as completed Apr 5, 2019
@hkashyap
Copy link
Contributor

hkashyap commented Jun 6, 2019

Another suggestion from @tingshuc

If VS GUI can't solve the problem, another way to fix is open *.vcxproj by text editor. Make sure these two lines are set to CUDA 8.0.
<Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 8.0.props" /> <Import Project="$(VCTargetsPath)\BuildCustomizations\CUDA 8.0.targets" />

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