"cmake --build" could not build entire project
I build caffe after you instruction:
cmake --build .
At the end of the compilation, I got the following errors:
"C:\caffe-builder\build\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\caffe-builder\build\Boost.vcxproj" (default target) (2) ->
(CustomBuild target) ->
libs\config\checks\architecture\arm.cpp(12): fatal error C1189: #error : "No
t ARM" [C:\caffe-builder\build\Boost.vcxproj]
libs\config\checks\architecture\mips1.cpp(10): fatal error C1189: #error : "
Not MIPS1" [C:\caffe-builder\build\Boost.vcxproj]
libs\config\checks\architecture\power.cpp(13): fatal error C1189: #error : "
Not PPC" [C:\caffe-builder\build\Boost.vcxproj]
libs\config\checks\architecture\sparc.cpp(10): fatal error C1189: #error : "
Not SPARC" [C:\caffe-builder\build\Boost.vcxproj]
libs\regex\build\has_icu_test.cpp(12): fatal error C1083: Cannot open include
file: 'unicode/uversion.h': No such file or directory [C:\caffe-builder\build\
Boost.vcxproj]
816 Warning(s)
5 Error(s)
According to you instruction, they can be ignored. So, I assume I have finished the compilation successfully. However, I could not find a caffe.exe file, or any other file that could allow me to start working on the examples provided by caffe project.
However, if I execute:
msbuild caffe-builder.sln
I could get everything in .\install\bin.
This is strange. cmake --build . should translate to msbuild caffe-builder.sln or something close to that. I don't remember if I use the IDE or built from the command line.
I did a clean re-build, using msbuild only, and I noticed msbuild could
not build everything at once. I think the problem is not caused by cmake --build .. I think the problem is project build dependency issue.
When I ran msbuild the first time, only part of the projects are build.
Then I ran it again, and more files appeared in the ./install/bin
directory. So I think some of the projects could not be build when I ran
msbuild the first time.
The funny thing is that the error messages at the tail in the first run consists with the caveats you left on the README. So I think the first run completely succeed.
On Tue, Sep 15, 2015 at 11:32 PM Guillaume Dumont [email protected] wrote:
This is strange. cmake --build . should translate to msbuild caffe-builder.sln or something close to that. I don't remember if I use the IDE or built from the command line.
— Reply to this email directly or view it on GitHub https://github.com/willyd/caffe-builder/issues/11#issuecomment-140433567 .
Regards, David