Skip to first unread message

Prakash M

unread,
Feb 14, 2017, 10:12:43 PM2/14/17
to Caffe Users
hi all, 
i'm getting build error . i tried using cmake, running bild_win.cmd and also tried visual studio to build. but got plenty of errors. can anybody point out what is the cause of it?
i'm attaching build_win.cmd (build_win.txt), cmakeOutput.og, CmakeError.log & build output from visual studio 2015 community
edition. i had made changed to build_win.cmd (removed ninja)
Thanks

PC Configuration:
cuda (v8), cudnn (v5),boost (v1.6)  [even though dependencies were downloaded & extracted, i had this prior] 
Cmake (v3.5)
windows 7 (64bit)
NVidia GeForce 210 (compute capability 1.3)


below is output from cmake


The C compiler identification is MSVC 19.0.24215.1

 

The CXX compiler identification is MSVC 19.0.24215.1

Check for working C compiler using: Visual Studio 14 2015

Check for working C compiler using: Visual Studio 14 2015 -- works

Detecting C compiler ABI info

Detecting C compiler ABI info - done

Check for working CXX compiler using: Visual Studio 14 2015

Check for working CXX compiler using: Visual Studio 14 2015 -- works

Detecting CXX compiler ABI info

Detecting CXX compiler ABI info - done

Detecting CXX compile features

Detecting CXX compile features - done

Found PythonInterp: C:/Python27/python.exe (found suitable version "2.7.11", minimum required is "2.7")

Downloading file dependencies

[download 0% complete]

[download 1% complete]

[download 2% complete]

[download 3% complete]

[download 4% complete]

[download 5% complete]

[download 6% complete]

[download 7% complete]

[download 8% complete]

[download 9% complete]

[download 10% complete]

[download 11% complete]

[download 12% complete]

[download 13% complete]

[download 14% complete]

[download 15% complete]

[download 16% complete]

[download 17% complete]

[download 18% complete]

[download 19% complete]

[download 20% complete]

[download 21% complete]

[download 22% complete]

[download 23% complete]

[download 24% complete]

[download 25% complete]

[download 26% complete]

[download 27% complete]

[download 28% complete]

[download 29% complete]

[download 30% complete]

[download 31% complete]

[download 32% complete]

[download 33% complete]

[download 34% complete]

[download 35% complete]

[download 36% complete]

[download 37% complete]

[download 38% complete]

[download 39% complete]

[download 40% complete]

[download 41% complete]

[download 42% complete]

[download 43% complete]

[download 44% complete]

[download 45% complete]

[download 46% complete]

[download 47% complete]

[download 48% complete]

[download 49% complete]

[download 50% complete]

[download 51% complete]

[download 52% complete]

[download 53% complete]

[download 54% complete]

[download 55% complete]

[download 56% complete]

[download 57% complete]

[download 58% complete]

[download 59% complete]

[download 60% complete]

[download 61% complete]

[download 62% complete]

[download 63% complete]

[download 64% complete]

[download 65% complete]

[download 66% complete]

[download 67% complete]

[download 68% complete]

[download 69% complete]

[download 70% complete]

[download 71% complete]

[download 72% complete]

[download 73% complete]

[download 74% complete]

[download 75% complete]

[download 76% complete]

[download 77% complete]

[download 78% complete]

[download 79% complete]

[download 80% complete]

[download 81% complete]

[download 82% complete]

[download 83% complete]

[download 84% complete]

[download 85% complete]

[download 86% complete]

[download 87% complete]

[download 88% complete]

[download 89% complete]

[download 90% complete]

[download 91% complete]

[download 92% complete]

[download 93% complete]

[download 94% complete]

[download 95% complete]

[download 96% complete]

[download 97% complete]

[download 98% complete]

[download 99% complete]

[download 100% complete]

Extracting dependencies

Looking for pthread.h

Looking for pthread.h - not found

Found Threads: TRUE

Boost version: 1.61.0

Found the following Boost libraries:

 system

 thread

 filesystem

 chrono

 date_time

 atomic

Found GFlags: C:/Users/Prakash/Desktop/Caffe Build/libraries/include

Found gflags (include: C:/Users/Prakash/Desktop/Caffe Build/libraries/include, library: gflags_shared)

CMake Warning at cmake/Modules/FindGlog.cmake:21 (find_package):
 Could not find a configuration file for package "glog" that is compatible
 with requested version "".

 The following configuration files were considered but not accepted:

 C:/Users/Prakash/Desktop/Caffe Build/libraries/lib/cmake/glog/glog-config.cmake, version: 0.3.4 (64bit)
 C:/Users/Prakash/Desktop/Caffe Build/libraries/lib/cmake/glog/glog-config.cmake, version: 0.3.4 (64bit)

Call Stack (most recent call first):
 cmake/External/glog.cmake:8 (find_package)
 cmake/Dependencies.cmake:21 (include)
 CMakeLists.txt:77 (include)


 

Could NOT find Glog (missing: GLOG_LIBRARY)

Found Protobuf: C:/Program Files (x86)/protobuf/bin/protoc.exe (found version "3.2.0")

Found PROTOBUF Compiler: C:/Program Files (x86)/protobuf/bin/protoc.exe

CMake Warning at cmake/Modules/FindLMDB.cmake:16 (find_package):
 Could not find a configuration file for package "LMDB" that is compatible
 with requested version "".

 The following configuration files were considered but not accepted:

 C:/Users/Prakash/Desktop/Caffe Build/libraries/cmake/lmdb-config.cmake, version: 0.9.70 (64bit)
 C:/Users/Prakash/Desktop/Caffe Build/libraries/CMake/lmdb-config.cmake, version: 0.9.70 (64bit)

Call Stack (most recent call first):
 cmake/Dependencies.cmake:50 (find_package)
 CMakeLists.txt:77 (include)

 

CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
 Could NOT find LMDB (missing: LMDB_INCLUDE_DIR LMDB_LIBRARIES)
Call Stack (most recent call first):
 C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
 cmake/Modules/FindLMDB.cmake:23 (find_package_handle_standard_args)
 cmake/Dependencies.cmake:50 (find_package)
 CMakeLists.txt:77 (include)


 

Configuring incomplete, errors occurred!


Note: i got almost the same output as visual studio build output, when i ran build_win.cmd from command prompt. both initially downloaded all dependencies then extracted. later build error
See also "C:/Users/Prakash/Desktop/Caffe Build/CMakeFiles/CMakeOutput.log".

See also "C:/Users/Prakash/Desktop/Caffe Build/CMakeFiles/CMakeError.log".


CMakeError.log
CMakeOutput.log
Build Output Visual Studio.txt
build_win.txt

Trevor Murray

unread,
May 4, 2017, 11:14:27 PM5/4/17
to Caffe Users
Did you ever figure this out?
Reply all
Reply to author
Forward
0 new messages