<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Mahmood,</p>
<p>I think that "-DBoost_LIBRARY_DIRS" should be
"-DBoost_LIBRARY_DIR".</p>
<p>Cheers,<br>
Marcel Loose.<br>
</p>
<div class="moz-cite-prefix">On 25/10/2019 09:54, Mahmood Naderan
via CMake wrote:<br>
</div>
<blockquote type="cite"
cite="mid:629869371.498616.1571990090971@mail.yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div class="ydp4b860422yahoo-style-wrap"
style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div>
<div dir="ltr" data-setdir="false">Even with the latest
3.15.4, I get the same error</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">
<div>$ cmake --version<br>
cmake version 3.15.4<br>
<br>
CMake suite maintained and supported by Kitware
(kitware.com/cmake).<br>
$ cmake -DBoost_NO_SYSTEM_PATHS=ON
-DBOOST_INCLUDE_DIR=/storage/users/mnaderan/boost_1_65_1/build/include/
-DBoost_LIBRARY_DIRS=/storage/users/mnaderan/boost_1_65_1/build/lib/
-DBoost_ADDITIONAL_VERSIONS=1.65.1 ..<br>
-- The C compiler identification is GNU 4.8.5<br>
-- The CXX compiler identification is GNU 4.8.5<br>
-- Check for working C compiler: /bin/cc<br>
-- Check for working C compiler: /bin/cc -- works<br>
-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>
-- Detecting C compile features<br>
-- Detecting C compile features - done<br>
-- Check for working CXX compiler: /bin/c++<br>
-- Check for working CXX compiler: /bin/c++ -- works<br>
-- Detecting CXX compiler ABI info<br>
-- Detecting CXX compiler ABI info - done<br>
-- Detecting CXX compile features<br>
-- Detecting CXX compile features - done<br>
-- Looking for pthread.h<br>
-- Looking for pthread.h - found<br>
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD<br>
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed<br>
-- Looking for pthread_create in pthreads<br>
-- Looking for pthread_create in pthreads - not found<br>
-- Looking for pthread_create in pthread<br>
-- Looking for pthread_create in pthread - found<br>
-- Found Threads: TRUE<br>
-- Found CUDA: /usr/local/cuda-10.0 (found suitable
version "10.0", minimum required is "7.5")<br>
-- Could NOT find Boost<br>
CMake Error at
/storage/users/mnaderan/tools/cmake-3.15.4/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137
(message):<br>
Could NOT find Boost (missing: Boost_INCLUDE_DIR system
filesystem timer<br>
chrono) (Required is at least version "1.58")<br>
Call Stack (most recent call first):<br>
/storage/users/mnaderan/tools/cmake-3.15.4/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378
(_FPHSA_FAILURE_MESSAGE)<br>
/storage/users/mnaderan/tools/cmake-3.15.4/share/cmake-3.15/Modules/FindBoost.cmake:2161
(find_package_handle_standard_args)<br>
cmake/FindBoost.cmake:6 (FIND_PACKAGE)<br>
CMakeLists.txt:47 (include)<br>
<br>
<br>
-- Configuring incomplete, errors occurred!<br>
<br>
</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div class="ydp4b860422signature">Regards,<br>
Mahmood</div>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div id="ydp6a3e0761yahoo_quoted_2793848490"
class="ydp6a3e0761yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial,
sans-serif;font-size:13px;color:#26282a;">
<div> On Thursday, October 24, 2019, 10:52:37 PM GMT+3:30,
Mateusz Loskot <a class="moz-txt-link-rfc2396E" href="mailto:mateusz@loskot.net"><mateusz@loskot.net></a> wrote: </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div dir="ltr">You are using very old CMake 3.9 which has no
idea about Boost 1.65<br clear="none">
<a shape="rect"
href="https://github.com/Kitware/CMake/blob/v3.9.0/Modules/FindBoost.cmake#L769"
rel="nofollow" target="_blank" moz-do-not-send="true">https://github.com/Kitware/CMake/blob/v3.9.0/Modules/FindBoost.cmake#L769</a><br
clear="none">
<br clear="none">
Rule #1: Use latest version of CMake, ALWAYS!<br
clear="none">
<br clear="none">
There is absolutely no reason or excuse to not to use the
latest as there are<br clear="none">
- deb packages available <a shape="rect"
href="https://apt.kitware.com/" rel="nofollow"
target="_blank" moz-do-not-send="true">https://apt.kitware.com/</a><br
clear="none">
- generic installer for any Linux and Windows<br
clear="none">
<br clear="none">
Updating CMake is easy-peasy for us lazy programmers with
a bit of scripting:<br clear="none">
<a shape="rect"
href="https://github.com/mloskot/wsl-config/blob/master/scripts/install-cmake-latest.sh"
rel="nofollow" target="_blank" moz-do-not-send="true">https://github.com/mloskot/wsl-config/blob/master/scripts/install-cmake-latest.sh</a><br
clear="none">
<a shape="rect"
href="https://github.com/mloskot/wsl-config/blob/master/scripts/install-cmake-latest.ps1"
rel="nofollow" target="_blank" moz-do-not-send="true">https://github.com/mloskot/wsl-config/blob/master/scripts/install-cmake-latest.ps1</a>
<div class="ydp6a3e0761yqt4875876051"
id="ydp6a3e0761yqtfd43751"><br clear="none">
<br clear="none">
Best regards,<br clear="none">
-- <br clear="none">
Mateusz Loskot, <a shape="rect"
href="http://mateusz.loskot.net" rel="nofollow"
target="_blank" moz-do-not-send="true">http://mateusz.loskot.net</a><br
clear="none">
-- <br clear="none">
<br clear="none">
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the CMake FAQ
at: <a shape="rect"
href="http://www.cmake.org/Wiki/CMake_FAQ"
rel="nofollow" target="_blank" moz-do-not-send="true">http://www.cmake.org/Wiki/CMake_FAQ</a><br
clear="none">
<br clear="none">
Kitware offers various services to support the CMake
community. For more information on each offering, please
visit:<br clear="none">
<br clear="none">
CMake Support: <a shape="rect"
href="http://cmake.org/cmake/help/support.html"
rel="nofollow" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/support.html</a><br
clear="none">
CMake Consulting: <a shape="rect"
href="http://cmake.org/cmake/help/consulting.html"
rel="nofollow" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/consulting.html</a><br
clear="none">
CMake Training Courses: <a shape="rect"
href="http://cmake.org/cmake/help/training.html"
rel="nofollow" target="_blank" moz-do-not-send="true">http://cmake.org/cmake/help/training.html</a><br
clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a
shape="rect"
href="http://www.kitware.com/opensource/opensource.html"
rel="nofollow" target="_blank" moz-do-not-send="true">http://www.kitware.com/opensource/opensource.html</a><br
clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br
clear="none">
<a shape="rect"
href="https://cmake.org/mailman/listinfo/cmake"
rel="nofollow" target="_blank" moz-do-not-send="true">https://cmake.org/mailman/listinfo/cmake</a><br
clear="none">
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
</body>
</html>