Hi Omar, This path should be included in the project settings by cmake. So it is not a problem.
For your protobuf issue, please ensure that the version of your protoc compiler is the same as the protobuf libraries. I compiled protobuf version 2.6.1 and 2.7.1 and passed the test. So I think maybe you use a different version of protobuf libraries compared to the protoc compiler. Please let me know if you have further queries. Best, zhongle -----Original Message----- From: Omar Eljumaily [mailto:[email protected]] Sent: Saturday, 12 November, 2016 4:15 AM To: [email protected] Subject: Re: Singa build dependencies Sorry, also another related issue. in file include/singa/core/memory.h #include "singa/proto/core.pb.h" references core.pb.h but the core.pb.h resides in build/src Thanks, Omar On 11/11/2016 11:14 AM, Omar Eljumaily wrote: > 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/dep >> endencies.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.c >> make: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.c >> make: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 >> >> >
