-
Notifications
You must be signed in to change notification settings - Fork 116
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
protobuf compilation errors #17
Comments
I only tested with VS2013. Your problem looks related to std::tuple. Look for any differences between VS2013 and VS2012 on MSDN. I had a problem with GTest in caffe and I fixed it with the following lines of CMake code: if(NOT MSVC) # rely on gtest header to determine what to do
add_definitions(-DGTEST_USE_OWN_TR1_TUPLE)
endif(NOT MSVC) Maybe you can try to add this to the protobuf CMakeLists.txt?
CMake does not make multi platform solution. You have to select Visual Studio 11 2012 Win64 to get the 64 bit platform. |
Installed VS2013 and recompiled everything. Boost log:
Protobuf log:
Caffe log:
There were 1459 warnings and 6 errors now:
So basically only 2 failed: Boost and Caffe, but Caffe says that it cant fine Protobuf, so im confused. Rest of the dependencies succeeded to build. Any hints now? Where i could check to get more info? |
Boost actually succeeded. These are known issues, see the README.md. As for why caffe fails to find protobuf, can you confirm that you have the |
I had same problem and solved it. |
I am getting the following error on trying to install Caffe on Windows 10 with 2015 Visual Studio The system cannot find the drive specified.
|
Hi,
i have some protobuf similar errors in VS2012:
C:!DOWNLOAD\Caffe\WILLYD\build\DownloadCache\protobuf\gtest\include\gtest/gtest-printers.h(550): error C2977: std::tuple:
C:!DOWNLOAD\Caffe\WILLYD\build\DownloadCache\protobuf\gtest\include\gtest/internal/gtest-param-util-generated.h(4338): error C2977: std::tuple:
And i can't choose 64bit release, there is 32bit only in solution.
At the end of compilation:
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- thread
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Using custom FindGFlags module
-- Using custom FindGlog module
-- Could NOT find PROTOBUF (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
CMake Error at cmake/ProtoBuf.cmake:13 (message):
Could not find PROTOBUF Compiler
Call Stack (most recent call first):
cmake/Dependencies.cmake:27 (include)
CMakeLists.txt:28 (include)
Any ideas what's wrong here?
The text was updated successfully, but these errors were encountered: