Shark-ML / Shark

The Shark Machine Leaning Library. See more:
http://shark-ml.github.io/Shark/
GNU Lesser General Public License v3.0
493 stars 130 forks source link

can't install shark #276

Closed yinggudk closed 1 month ago

yinggudk commented 4 years ago

First I downloaded boost, then run bootstrap.bat, then run b2. Then I can call functions from boost in VC2019 community. Later on, I installed boost through vcpkg. Now I tried to install shark-ml and failed. The following is from cmake-gui:


Will build: release CMake Error at D:/libraries/Cmaker/cmake-3.17.2-win64-x64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time filesystem program_options serialization thread unit_test_framework) (Required is at least version "1.48.0") Call Stack (most recent call first): D:/libraries/Cmaker/cmake-3.17.2-win64-x64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) D:/libraries/Cmaker/cmake-3.17.2-win64-x64/share/cmake-3.17/Modules/FindBoost.cmake:2162 (find_package_handle_standard_args) CMakeLists.txt:146 (find_package)

Configuring incomplete, errors occurred! See also "D:/libraries/Shark-3.0.0/build_shark/CMakeFiles/CMakeOutput.log". See also "D:/libraries/Shark-3.0.0/build_shark/CMakeFiles/CMakeError.log".


I followed installation guide on Windows and Visual Studio. Can't make it work. What could be wrong?¶

Ulfgard commented 4 years ago

you need to tell cmake where boost is located. I think this is -DBOOST_ROOT=/PATH/TO/BOOST

i don't know where vcpkg installs boost to.


From: yinggudk notifications@github.com Sent: Tuesday, June 2, 2020 2:54:02 PM To: Shark-ML/Shark Cc: Subscribed Subject: [Shark-ML/Shark] can't install shark (#276)

First I downloaded boost, then run bootstrap.bat, then run b2. Then I can call functions from boost in VC2019 community. Later on, I installed boost through vcpkg. Now I tried to install shark-ml and failed. The following is from cmake-gui:


Will build: release CMake Error at D:/libraries/Cmaker/cmake-3.17.2-win64-x64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find Boost (missing: Boost_INCLUDE_DIR system date_time filesystem program_options serialization thread unit_test_framework) (Required is at least version "1.48.0") Call Stack (most recent call first): D:/libraries/Cmaker/cmake-3.17.2-win64-x64/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) D:/libraries/Cmaker/cmake-3.17.2-win64-x64/share/cmake-3.17/Modules/FindBoost.cmake:2162 (find_package_handle_standard_args) CMakeLists.txt:146 (find_package)

Configuring incomplete, errors occurred! See also "D:/libraries/Shark-3.0.0/build_shark/CMakeFiles/CMakeOutput.log". See also "D:/libraries/Shark-3.0.0/build_shark/CMakeFiles/CMakeError.log".


I followed installation guide on Windows and Visual Studio. Can't make it work. What could be wrong?¶

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FShark-ML%2FShark%2Fissues%2F276&data=02%7C01%7Coswin.krause%40di.ku.dk%7C683d786bc1164b10b4c608d806f4076b%7Ca3927f91cda14696af898c9f1ceffa91%7C0%7C0%7C637266992454224557&sdata=lSnei215oDy3NMUZ9P%2FHdP6%2Bxasetd%2F42cjvuvctkR8%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADSZGBUJYVLD5GBS2744UWDRUTY6VANCNFSM4NQWMISA&data=02%7C01%7Coswin.krause%40di.ku.dk%7C683d786bc1164b10b4c608d806f4076b%7Ca3927f91cda14696af898c9f1ceffa91%7C0%7C0%7C637266992454234550&sdata=BZroDMbthEoiCsBFDNW0nFX5XZ0WyNQlRoLJmb%2B%2FVto%3D&reserved=0.