gaussian-splatting icon indicating copy to clipboard operation
gaussian-splatting copied to clipboard

Eigen3 can't find

Open maxiang0305 opened this issue 1 year ago • 0 comments
trafficstars

When I build the SIBR_viewers, I run cmake -Bbuild . -DCMAKE_BUILD_TYPE=Release -G Ninja. However, I got: CMake Error at /usr/local/lib/cmake/opencv4/OpenCVModules.cmake:236 (set_target_properties): The link interface of target "opencv_gapi" 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.

Call Stack (most recent call first): /usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:133 (include) cmake/linux/dependencies.cmake:248 (find_package) cmake/linux/include_once.cmake:20 (include) src/CMakeLists.txt:46 (include_once) ...

I checked my Eigen path: “/usr/local/include/eigen3” and I try to add -DEIGEN3_INCLUDE_DIR=/usr/local/include/eigen3, it does not work. If anyone can help me solve this problem, I would be extremely grateful

maxiang0305 avatar Mar 12 '24 03:03 maxiang0305