Missing gflags, glog, lmdb #5771

Open
Zumbalamambo opened this Issue Jul 13, 2017 · 5 comments

Comments

Projects
None yet
3 participants

Im unable to install it in my machine. Im getting the following error

CMake Warning at C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):
  Imported targets not available for Boost version
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
  cmake/Dependencies.cmake:8 (find_package)
  CMakeLists.txt:46 (include)


CMake Warning at C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):
  Imported targets not available for Boost version
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
  cmake/Dependencies.cmake:8 (find_package)
  CMakeLists.txt:46 (include)


CMake Warning at C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:769 (message):
  Imported targets not available for Boost version
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:873 (_Boost_COMPONENT_DEPENDENCIES)
  C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
  cmake/Dependencies.cmake:8 (find_package)
  CMakeLists.txt:46 (include)


CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:1877 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:8 (find_package)
  CMakeLists.txt:46 (include)


-- Could NOT find GFlags (missing: GFLAGS_INCLUDE_DIR GFLAGS_LIBRARY)
-- Could NOT find Glog (missing: GLOG_INCLUDE_DIR GLOG_LIBRARY)
-- Found PROTOBUF Compiler: C:/Program Files/Anaconda3/Library/bin/protoc.exe
CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find LMDB (missing: LMDB_INCLUDE_DIR LMDB_LIBRARIES)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindLMDB.cmake:19 (find_package_handle_standard_args)
  cmake/Dependencies.cmake:52 (find_package)
  CMakeLists.txt:46 (include)


Looks like these libsare not installed. Please install Boost, glog, gflags and lmdb. Reference - http://caffe.berkeleyvision.org/install_apt.html

How do I install it in windows? windows does not have sudo apt

Contributor

willyd commented Jul 13, 2017

Did you use the windows branch? CMake should download prebuilt versions of these libs automatically.

yes the windows branch

it says something like following,


-- Could NOT find GFlags (missing: GFLAGS_INCLUDE_DIR GFLAGS_LIBRARY)
-- Could NOT find Glog (missing: GLOG_INCLUDE_DIR GLOG_LIBRARY)
-- Found PROTOBUF Compiler: C:/Program Files/Anaconda3/Library/bin/protoc.exe
CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find LMDB (missing: LMDB_INCLUDE_DIR LMDB_LIBRARIES)
Call Stack (most recent call first):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment