PrincetonVision / marvin

Marvin: A Minimalist GPU-only N-Dimensional ConvNets Framework
MIT License
421 stars 137 forks source link

error with nvcc.exe when build marvin on windows #42

Open Tanghaocheng opened 7 years ago

Tanghaocheng commented 7 years ago
  Error 151 error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\bin\nvcc.exe" -gencode=arch=compute_20,code=\"sm_20,compute_20\" --use-local-env --cl-version 2013 -ccbin "D:\programming\vs2013\VC\bin\x86_amd64"  -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\include"  -G   --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart static  -g   -DWIN32 -DWIN64 -D_DEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd " -o x64\Debug\marvin.cu.obj "E:\marvin\marvin-windows\marvin.cu"" exited with code 2.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 7.5.targets 604 9   marvin

There also has some other error in concrt.h like:

Error 111 error C2001: newline in constant D:\programming\vs2013\VC\include\concrt.h 5658 1 marvin Error 116 error C2015: too many characters in constant D:\programming\vs2013\VC\include\concrt.h 5679 1 marvin Error 125 error C2143: syntax error : missing ')' before ';' D:\programming\vs2013\VC\include\concrt.h 5696 1 marvin

hitsjt commented 7 years ago

have you solved it?