New to Caffee - Win 10 64 bit, Could NOT find GFlags

868 views
Skip to first unread message

CE Stanley

unread,
May 31, 2017, 11:06:29 PM5/31/17
to Caffe Users
Hi,

  I downloaded Master today and am not able to build Caffe.
My System:
Windows 10 64 bit
Intel i7 3770K @ 4.83GHz Max, 1.37GHz Min
32G RAM

I'm not sure this is the correct command to issue to make but as I remember cmake only take the top level dir where the Makefile is located.

Am I missing LMDB?

$ cmake .
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- Could NOT find GFlags (missing:  GFLAGS_INCLUDE_DIR GFLAGS_LIBRARY)
-- Could NOT find Glog (missing:  GLOG_INCLUDE_DIR GLOG_LIBRARY)
-- Found PROTOBUF Compiler: /usr/bin/protoc.exe
CMake Error at /usr/share/cmake-3.6.2/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find LMDB (missing: LMDB_INCLUDE_DIR LMDB_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.6.2/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindLMDB.cmake:19 (find_package_handle_standard_args)
  cmake/Dependencies.cmake:52 (find_package)
  CMakeLists.txt:46 (include)

Thanks for any help!

Garima Agrawal

unread,
Jun 1, 2017, 9:50:04 AM6/1/17
to Caffe Users
you can download caffe dependencies for windows. it will download dependencies which are required and install all dependencies. Or it is also available through caffe-builder.

CE Stanley

unread,
Jun 3, 2017, 10:05:41 PM6/3/17
to Caffe Users
I am building through cygwin. The build fails on dependencies. They are not being downloaded. Should I change to Ubuntu on Windows 10?

Thanks,
Charles

Andrew Kyngdon

unread,
Jun 4, 2017, 6:17:04 AM6/4/17
to Caffe Users
Hi Charles,

Have you tried the Windows version of Caffe? It's here

Andrew

CE Stanley

unread,
Jun 4, 2017, 7:21:50 PM6/4/17
to Caffe Users
Hi Andrew,

  Yes, I did try the windows version. I had more issue on that version than the master.
master clone:

-- Could NOT find GFlags (missing:  GFLAGS_INCLUDE_DIR GFLAGS_LIBRARY)
-- Could NOT find Glog (missing:  GLOG_INCLUDE_DIR GLOG_LIBRARY)
...
CMake Error at /usr/share/cmake-3.6.2/Modules/FindPackageHandleStandardArgs.cmak                                   e:148 (message):

  Could NOT find LMDB (missing: LMDB_INCLUDE_DIR LMDB_LIBRARIES)

Why is the build not installing the missing libs?

Any ideas / help?

Charles

CE Stanley

unread,
Jun 4, 2017, 8:14:32 PM6/4/17
to Caffe Users
Hi Andrew,

  Just an update. Microsoft has stated they do not support 64bit Visual Studio. Using the 32bit version, one can generate 64bit executables. The Windows version of caffe requires 64bit visual studio which I do not have.Oh well...


Charles

On Sunday, June 4, 2017 at 3:17:04 AM UTC-7, Andrew Kyngdon wrote:

AK

unread,
Jun 5, 2017, 8:27:11 AM6/5/17
to Caffe Users
Hi Charles, I have MS Visual Studio Pro 2015 and it works for me. Apparently MS VS 2015 Community should also work (which is free I understand).

~A

kmonach...@gmail.com

unread,
Jun 10, 2017, 3:41:53 PM6/10/17
to Caffe Users
I have exactly the same error, did you find any solution on that??

Kunju

unread,
Jul 7, 2017, 7:38:57 AM7/7/17
to Caffe Users

Use VS2013, and make sure you have installed necessary Nuget packages like Gflags, Glogs, LevelDb vc120
Reply all
Reply to author
Forward
0 new messages