DLT 计算三维重建参数

直接线性变换DLT - 知乎

hitxiaomi/pnp_solver (github.com)

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.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
CMake Warning at cmake/FindEigen3.cmake:28 (message):
  Failed to find Eigen3.  Please, define the path manually.
Call Stack (most recent call first):
  CMakeLists.txt:13 (find_package)


-- EIGEN3_DIR:EIGEN3_INCLUDE_DIR-NOTFOUND
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EIGEN3_INCLUDE_DIR
   used as include directory in directory /home/tieren/github/pnp_solver
   used as include directory in directory /home/tieren/github/pnp_solver
   used as include directory in directory /home/tieren/github/pnp_solver
   used as include directory in directory /home/tieren/github/pnp_solver

CMake Error in CMakeLists.txt:
  Found relative path while evaluating include directories of "test_dlt":

    "EIGEN3_INCLUDE_DIR-NOTFOUND"



CMake Error in CMakeLists.txt:
  Found relative path while evaluating include directories of "test_epnp":

    "EIGEN3_INCLUDE_DIR-NOTFOUND"



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

eigen3 这个库没有被安装

解决 CMake Error at CMakeLists.txt:11 (message): EIGEN3 not found._eigen3_dir-notfound-CSDN博客

sudo apt install  libeigen3-dev

安装好这个之后就能make成功了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值