<p>After running "sudo apt-get install cmake libblkid-dev e2fslibs-dev libboost-all-dev libaudit-dev" I was able to run cmake successfully This is the message I got:<br>
-- Armadillo libraries: /usr/lib/libarmadillo.so<br>
-- Boost version: 1.58.0<br>
-- Found the following Boost libraries:<br>
--   program_options<br>
--   unit_test_framework<br>
--   serialization<br>
-- Could NOT find Git (missing:  GIT_EXECUTABLE) <br>
CMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:39 (get_property):<br>
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.<br>
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy<br>
  command to set the policy and suppress this warning.</p>

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

<p>This warning is for project developers.  Use -Wno-dev to suppress it.</p>

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

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

<p>This warning is for project developers.  Use -Wno-dev to suppress it.</p>

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

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

<p>This warning is for project developers.  Use -Wno-dev to suppress it.</p>

<p>-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) <br>
CMake Warning at CMakeLists.txt:358 (message):<br>
  txt2man not found; man pages will not be generated.</p>

<p>-- Configuring done<br>
-- Generating done<br>
-- Build files have been written to: /home/prashant/mlpack-2.0.3/build</p>

<p>But when I am runnign "cmake" after this I am getting this error:<br>
cmake [options] <br>
  cmake [options] </p>

<p>Specify a source directory to (re-)generate a build system for it in the<br>
current working directory.  Specify an existing build directory to<br>
re-generate its build system.</p>

<p>Run 'cmake --help' for more information.</p>

<p>Please let me know what am I missing here.Thanks very much.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/issues/791#issuecomment-249452506">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFEdn4oxCjfU4U8E4CYsNbLTyis1-ks5qtv6RgaJpZM4KF_O-">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFIUeKGlQxvDkxMvG_8hplOwwucgxks5qtv6RgaJpZM4KF_O-.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/791#issuecomment-249452506"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mlpack/mlpack","title":"mlpack/mlpack","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mlpack/mlpack"}},"updates":{"snippets":[{"icon":"PERSON","message":"@prashantkn94 in #791: After running \"sudo apt-get install cmake libblkid-dev e2fslibs-dev libboost-all-dev libaudit-dev\" I was able to run cmake successfully This is the message I got:\r\n-- Armadillo libraries: /usr/lib/libarmadillo.so\r\n-- Boost version: 1.58.0\r\n-- Found the following Boost libraries:\r\n--   program_options\r\n--   unit_test_framework\r\n--   serialization\r\n-- Could NOT find Git (missing:  GIT_EXECUTABLE) \r\nCMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:39 (get_property):\r\n  Policy CMP0026 is not set: Disallow use of the LOCATION target property.\r\n  Run \"cmake --help-policy CMP0026\" for policy details.  Use the cmake_policy\r\n  command to set the policy and suppress this warning.\r\n\r\n  The LOCATION property should not be read from target \"mlpack_knn\".  Use the\r\n  target name directly with add_custom_command, or use the generator\r\n  expression $\u003cTARGET_FILE\u003e, as appropriate.\r\n\r\nThis warning is for project developers.  Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:47 (get_property):\r\n  Policy CMP0026 is not set: Disallow use of the LOCATION target property.\r\n  Run \"cmake --help-policy CMP0026\" for policy details.  Use the cmake_policy\r\n  command to set the policy and suppress this warning.\r\n\r\n  The LOCATION property should not be read from target \"mlpack_kfn\".  Use the\r\n  target name directly with add_custom_command, or use the generator\r\n  expression $\u003cTARGET_FILE\u003e, as appropriate.\r\n\r\nThis warning is for project developers.  Use -Wno-dev to suppress it.\r\n\r\nCMake Warning (dev) at src/mlpack/methods/rann/CMakeLists.txt:42 (get_property):\r\n  Policy CMP0026 is not set: Disallow use of the LOCATION target property.\r\n  Run \"cmake --help-policy CMP0026\" for policy details.  Use the cmake_policy\r\n  command to set the policy and suppress this warning.\r\n\r\n  The LOCATION property should not be read from target \"mlpack_krann\".  Use\r\n  the target name directly with add_custom_command, or use the generator\r\n  expression $\u003cTARGET_FILE\u003e, as appropriate.\r\n\r\nThis warning is for project developers.  Use -Wno-dev to suppress it.\r\n\r\n-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) \r\nCMake Warning at CMakeLists.txt:358 (message):\r\n  txt2man not found; man pages will not be generated.\r\n\r\n\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/prashant/mlpack-2.0.3/build\r\n \r\nBut when I am runnign \"cmake\" after this I am getting this error:\r\ncmake [options] \u003cpath-to-source\u003e\r\n  cmake [options] \u003cpath-to-existing-build\u003e\r\n\r\nSpecify a source directory to (re-)generate a build system for it in the\r\ncurrent working directory.  Specify an existing build directory to\r\nre-generate its build system.\r\n\r\nRun 'cmake --help' for more information.\r\n\r\nPlease let me know what am I missing here.Thanks very much.\r\n"}],"action":{"name":"View Issue","url":"https://github.com/mlpack/mlpack/issues/791#issuecomment-249452506"}}}</script>