Closed RituRajSingh878 closed 3 years ago
(ml) rituraj@rituraj-G7-7588:~/models/build$ cmake -D DEBUG=ON ../
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Armadillo: /usr/lib/libarmadillo.so (found suitable version "8.400.0", minimum required is "8.400.0")
-- Found MLPACK: /usr/local/lib/libmlpack.so
-- Found ensmallen: /usr/local/include (found version "2.14.2")
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- filesystem
-- system
-- regex
-- program_options
-- serialization
-- unit_test_framework
CMake Warning at CMakeLists.txt:175 (message):
Only use OpenMP if mlpack has been compiled with OpenMP.
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rituraj/models/build
build for the mlpack/model. Machine - ubuntu 18 LTS
@RituRajSingh878 can you do locate libboost_unit_test_framework.so
and show us the results please?
@shrit I found the problem and able to solve it. I got help from your message as during the build, the used boost lib was from the root and I was building it in virtual env. So due to that, it was showing undefined reference to boost
. After removing the root's boost, It is selecting the boost from virtual env. Now, I am able to do make
successfully. So we can close this issue.
Thanks
I'm new to mlpack and trying to build and make the mlpack/models but I'm getting the following error.