facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.95k forks source link

Error compiling with cuda under windows #1073

Open dlahmad opened 7 years ago

dlahmad commented 7 years ago

Trying to compile caffe with cuda under windows i get the following error message:

"...caffe2\build\ALL_BUILD.vcxproj" (standard target) (1) ->
"...caffe2\build\caffe2\Caffe2_GPU.vcxproj" (standard target) (6)
->
(CostumBuild Target) ->
...caffe2/operators/pool_op_cudnn.cu(405): error : expected an identifier [...caffe2\build\caffe2\Caffe2_GPU.vcxproj]

Does anyone know how to avoid this? It compiles for nearly 30 minutes unil this happens.

Yangqing commented 7 years ago

What is your build environment?

dlahmad commented 7 years ago

I'm using Visual Studio 2015 build tools with anaconda as a python environment. I don't compile it with opencv support or something else. The CPU version works. My operating system is windows 10.

Am 10.08.2017 9:06 nachm. schrieb "Yangqing Jia" notifications@github.com:

What is your build environment?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/caffe2/caffe2/issues/1073#issuecomment-321644722, or mute the thread https://github.com/notifications/unsubscribe-auth/AU93K87xzL7mI3-FOOcNkE0ji0Jb6a9Oks5sW1TKgaJpZM4OzZzS .

ugionet commented 7 years ago

See https://github.com/caffe2/caffe2/issues/1018 ... Its practically the same issue, hence the same solution.

liyemei commented 7 years ago

@Vedaevolution Had you solved the problem alreadly? ,as the issue #1018