TEASER-plusplus icon indicating copy to clipboard operation
TEASER-plusplus copied to clipboard

[BUG] The following imported targets are referenced, but are missing: tinyply pmc::pmc

Open adam-muk opened this issue 2 years ago • 1 comments

Describe the bug CMake Error at CMakeLists.txt:7 (find_package): Found package configuration file:

/usr/local/lib/cmake/teaserpp/teaserppConfig.cmake

but it set teaserpp_FOUND to FALSE so package "teaserpp" is considered to be NOT FOUND. Reason given by package:

The following imported targets are referenced, but are missing: tinyply pmc::pmc

Have you run the unit tests?

  • [x] Yes - all passed
  • [] No --- then this issue will be closed.

Installed Dependencies Ubuntu 20.04 I followed readme instructions for all dependencies

To Reproduce sudo apt install cmake libeigen3-dev libboost-all-dev git clone https://github.com/MIT-SPARK/TEASER-plusplus.git cd TEASER-plusplus && mkdir build && cd build cmake .. && make sudo make install sudo ldconfig cd .. && cd examples/teaser_cpp_ply && mkdir build && cd build cmake .. && make ./teaser_cpp_ply

adam-muk avatar Sep 07 '22 20:09 adam-muk

@adam-muk During which step did you encounter the error message posted? Thanks.

jingnanshi avatar Oct 02 '22 22:10 jingnanshi

Hi,

Sorry for the delayed response. I reinstalled ubuntu and now I do not get the error anymore. I am not sure what the problem was :/

adam-muk avatar Oct 09 '22 13:10 adam-muk

I have this problem too, Any ideas to solve it ?

Zedzou avatar Mar 23 '23 00:03 Zedzou

oh. add "find_dependency(tinyply REQUIRED)" and "find_dependency(pmc REQUIRED)" in cmake/teserppConfig.cmake, and it successed.

Zedzou avatar Mar 23 '23 02:03 Zedzou