Thank you zhongle.

I have a question about protobuf.

I get this error:

fatal error C1189: #error: This file was generated by an older version of protoc

It comes from core.pb.h

It seems like there's a requirement that only protobuf version 2005000 would be accepted since the libprotobuf.lib and protoc version 2005000 would be the only version that satisfies both of the following conditions. Am I correct? Should I download 200500 and rebuild using that?

#if GOOGLE_PROTOBUF_VERSION < 2005000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

Thanks,

Omar

On 11/8/2016 7:51 PM, Xiezhongle wrote:
Hi Omar,

You can refer to the document from our github repo.
The link is: 
https://github.com/apache/incubator-singa/blob/master/doc/en/docs/dependencies.md

Should you have any further questions, please let us know.

Have a good day.

Best,
zhongle

-----Original Message-----
From: Omar Eljumaily [mailto:[email protected]]
Sent: Wednesday, 9 November, 2016 4:14 AM
To: [email protected]
Subject: Singa build dependencies

Hello, I'm trying to build Singa on Windows.  I run the CMake command line and 
it complains about missing dependencies.  I tried to find the dependencies link 
on the Apache site and it seems to be missing.

https://singa.incubator.apache.org/en/docs/dependencies.md


-- Could NOT find PROTOBUF (missing:  PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
-- proto libs PROTOBUF_LIBRARY-NOTFOUND
-- Could NOT find GLOG (missing:  GLOG_INCLUDE_DIR GLOG_LIBRARIES) CMake Error 
at
D:/apps/cmake/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
    Could NOT find CBLAS (missing: CBLAS_INCLUDE_DIR CBLAS_LIBRARIES) Call 
Stack (most recent call first):
D:/apps/cmake/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
    cmake/Thirdparty/FindCBLAS.cmake:24 (find_package_handle_standard_args)
    cmake/Dependencies.cmake:50 (FIND_PACKAGE)
    CMakeLists.txt:49 (INCLUDE)

Thanks,

Omar



Reply via email to