facebookarchive / caffe2

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

Compilation error in commit 1b77bd4a7289f59e8ea4bf72ab530972a1fcf32c #874

Open cgpoh opened 7 years ago

cgpoh commented 7 years ago

I'm having the following compilation error when building on Windows platform:

"D:\ML\caffe2\build\ALL_BUILD.vcxproj" (default target) (1) -> "D:\ML\caffe2\build\caffe2\Caffe2_GPU.vcxproj" (default target) (7) -> (CustomBuild target) -> D:/ML/caffe2\caffe2/operators/top_k_radix_selection.cuh(359): error : a value of type "caffe2::TIndex *" cannot be used to initialize an entity of type "long *" [D:\ML\caffe2\build\caffe2\Caffe2_GPU.vcxproj] 814 Warning(s) 1 Error(s)

I'm pulling from the latest commit

commit 1b77bd4a7289f59e8ea4bf72ab530972a1fcf32c (HEAD -> master, origin/master, origin/HEAD) Author: Aaron Markham <aaronmarkham@fb.com> Date: Mon Jun 26 13:24:35 2017 -0700 reapplying #836 changes on binary locations Summary: Closes https://github.com/caffe2/caffe2/pull/870 Differential Revision: D5322956 Pulled By: JoelMarcey fbshipit-source-id: 0dc4c27b9188e1a63b12912c5268f03c6178f6d9

Anyone facing the same problem?

cuepi commented 7 years ago

Yes.

https://github.com/caffe2/caffe2/issues/875

Update: Fixed compilation problem.