Describe the bug
When following the "Minimal Python 3 example",
I get the error in the title (see To Reproduce below)
Also, I think there should be instructions for how to do the "testing". (see additional context below).
Also, at first
cmake -DTEASERPP_PYTHON_VERSION=3.6 .. && make teaserpp_python
was saying that sphinx-build was not found. So I have to run
sudo apt-get install python3-sphinx
Maybe this should be added to the instructions.
Have you run the unit tests?
Installed Dependencies
Please report the versions of all dependencies you installed, as well as your OS.
OS: Windows (running Ubuntu app (WSL))
conda 24.9.2
To Reproduce
In terminal, with conda base activated, run
sudo apt install cmake libeigen3-dev libboost-all-dev
conda create -n teaser_test python=3.6 numpy
conda activate teaser_test
conda install -c open3d-admin open3d=0.9.0.0
git clone https://github.com/MIT-SPARK/TEASER-plusplus.git
cd TEASER-plusplus && mkdir build && cd build
then:
cmake -DTEASERPP_PYTHON_VERSION=3.6 .. && make teaserpp_python
outputs
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Enable printing of diagnostic messages.
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Sphinx: /usr/bin/sphinx-build
-- Found Sphinx. Will build Sphinx HTML files.
-- Sphinx build location: /home/lenovo/myUbunDesktop/TEASER-plusplus/build/doc/sphinx_build
-- Configuring done (26.5s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
TEASERPP_PYTHON_VERSION
-- Build files have been written to: /home/lenovo/myUbunDesktop/TEASER-plusplus/build
Then make teaserpp_python outputs
make: *** No rule to make target 'teaserpp_python'. Stop.
Additional context
TESTING:
There are two test directories: TEASER-plusplus/test and TEASER-plusplus/build/test.
I ran ctest in the the build directories but all tests failed with errors:
Unable to find executable: /home/lenovo/myUbunDesktop/TEASER-plusplus/build/test/teaser/all_tests
and
Unable to find executable: /home/lenovo/myUbunDesktop/TEASER-plusplus/build/test/benchmark/all_benchmarks
running ctest in the TEASER-plusplus directory gives the same errors.
running cmake . in the test directories and it also gave errors:
CMake Error in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.28)
should be added at the top of the file. The version specified may be lower
So I added the line. But I got the errors:
CMake Error at test-tools/CMakeLists.txt:5 (target_link_libraries):
The link interface of target "test_tools" contains:
Eigen3::Eigen
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at teaser/CMakeLists.txt:37 (target_link_libraries):
Target "all_tests" links to:
Eigen3::Eigen
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
CMake Error at benchmark/CMakeLists.txt:8 (target_link_libraries):
Target "all_benchmarks" links to:
Eigen3::Eigen
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Describe the bug
When following the "Minimal Python 3 example",
I get the error in the title (see To Reproduce below)
Also, I think there should be instructions for how to do the "testing". (see additional context below).
Also, at first
cmake -DTEASERPP_PYTHON_VERSION=3.6 .. && make teaserpp_pythonwas saying that sphinx-build was not found. So I have to run
sudo apt-get install python3-sphinxMaybe this should be added to the instructions.
Have you run the unit tests?
Installed Dependencies
Please report the versions of all dependencies you installed, as well as your OS.
OS: Windows (running Ubuntu app (WSL))
conda 24.9.2
To Reproduce
In terminal, with conda base activated, run
then:
cmake -DTEASERPP_PYTHON_VERSION=3.6 .. && make teaserpp_pythonoutputs
Then
make teaserpp_pythonoutputsAdditional context
TESTING:
There are two test directories:
TEASER-plusplus/testandTEASER-plusplus/build/test.I ran
ctestin the the build directories but all tests failed with errors:Unable to find executable: /home/lenovo/myUbunDesktop/TEASER-plusplus/build/test/teaser/all_testsand
Unable to find executable: /home/lenovo/myUbunDesktop/TEASER-plusplus/build/test/benchmark/all_benchmarksrunning
ctestin theTEASER-plusplusdirectory gives the same errors.running
cmake .in the test directories and it also gave errors:So I added the line. But I got the errors: