[mlpack-git] [mlpack/mlpack] Error in running cmake command "$make", "No targets specified and no makefile found. Stop." (#791)

prashantkn94 notifications at github.com
Sun Sep 25 18:49:59 EDT 2016


Thanks for the assistance,
This time I went into the build directory and ran "cmake ../" and the error I got is this.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Armadillo libraries: /usr/lib/libarmadillo.so
CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
  Unable to find the requested Boost libraries.
 Boost version: 1.58.0
 Boost include path: /usr/include
Could not find the following Boost libraries:
   boost_unit_test_framework
    boost_serialization
 Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:213 (find_package)
-- Could NOT find Git (missing:  GIT_EXECUTABLE) 
CMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:39 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "mlpack_knn".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:47 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "mlpack_kfn".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at src/mlpack/methods/rann/CMakeLists.txt:42 (get_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "mlpack_krann".  Use
  the target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

This warning is for project developers.  Use -Wno-dev to suppress it.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
CMake Warning at CMakeLists.txt:358 (message):
  txt2man not found; man pages will not be generated.
-- Configuring incomplete, errors occurred!
See also "/home/prashant/mlpack-2.0.3/build/CMakeFiles/CMakeOutput.log".
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I tried installing boost through "sudo apt-get install libboost-all-dev", But after running "cmake" again the error was same as above. I guess cmake is unable to find the location of these boost libraries. Also SInce I am new to cmake I am assuming by "CMake output" you mean "CMakeOutput.log" ?? ,Anyways since the output is very long I am posting this pastebin [http://pastebin.com/rUGuFYyc] link.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/791#issuecomment-249451704
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160925/5617ed6c/attachment-0001.html>


More information about the mlpack-git mailing list