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

compiling failed with CUDA #62

Open
qiang-zhang-neu opened this issue Jan 21, 2020 · 0 comments
Open

compiling failed with CUDA #62

qiang-zhang-neu opened this issue Jan 21, 2020 · 0 comments
Assignees

Comments

@qiang-zhang-neu
Copy link

I want to compile this code with CUDA, and my environment is:
win 10 64 bit
vs 2015 64 bit

The compiling is OK if the USE_CUDA is setted to off. But if the USE_CUDA is setted to on, the compiling is failed, and the information is:

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB6006	"cmd.exe" exited with code 1.	_reg_common_cuda	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	MSB6006	"cmd.exe" exited with code 1.	_reg_cuda_kernels	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets	171	
Error	LNK1104	cannot open file '..\reg-lib\cuda\Debug\_reg_common_cuda.lib'	reg_gpuinfo	C:\Users\qiang_zhang.neu\Desktop\niftyreg-master\bin\reg-apps\LINK	1	
Error	LNK1104	cannot open file '..\reg-lib\cuda\Debug\_reg_cuda_kernels.lib'	reg_aladin	C:\Users\qiang_zhang.neu\Desktop\niftyreg-master\bin\reg-apps\LINK	1	

How to fix this error?

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

No branches or pull requests

2 participants