How to build MTFMapper

本文介绍了如何构建MTFMapper项目,涉及OpenCV、TCLAP库的配置,并解决Qt5版本问题。在过程中,需要手动添加TCLAP的include路径,下载并安装Eigen3的特定版本,以及解决因旧版Qt5导致的编译警告。最终通过下载并安装Qt 5.9.1,调整PATH环境变量来定位Qt5相关库,以解决'M_PI'未声明的错误。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

MTFMapper
Requires

OpenCV

TCLAP (Templatized C++ Command Line Parser Library)

  • Manually add include path $home\\tclap-1.2.1\\include\\ to FindTCLAP.cmake

Eigen3

  • Downloaded version 3.3.4
  • Ended up manually set EIGEN3_INCLUDE_DIR to $home\\\Downloads\\eigen-eigen-5a0156e40feb
  • Before, Tried to use CMake to build
The C compiler identification is MSVC 18.0.40629.0
The CXX compiler identification is MSVC 18.0.40629.0
Check for working C compiler using: Visual Studio 12 2013 Win64
Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 12 2013 Win64
Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Performing Test standard_math_library_linked_to_automatically
Performing Test standard_math_library_linked_to_automatically - Success
Standard libraries to link to explicitly: none
Performing Test COMPILER_SUPPORT_OPENMP
Performing Test COMPILER_SUPPORT_OPENMP - Success
Performing Test EIGEN_COMPILER_SUPPORT_CPP11
Performing Test EIGEN_COMPILER_SUPPORT_CPP11 - Failed
Found unsuitable Qt version "5.9.1" from C:/Qt/Qt5.9.1/5.9.1/msvc2013_64/bin/qmake.exe
Performing Test EIGEN_COMPILER_SUPPORT_CXX11
Performing Test EIGEN_COMPILER_SUPPORT_CXX11 - Failed
The Fortran compiler identification is unknown
A cache variable, namely BLAS_DIR, has been set to specify the install directory of BLAS
Looking for BLAS -- mkl.h not found
Looking for include file pthread.h
Looking for include file pthread.h - not found
Found Threads: TRUE  
Looking for MKL BLAS: not found
Looking for Goto BLAS: not found
Looking for Open BLAS: not found
Looking for Eigen BLAS: not found
Looking for Eigen BLAS: not found
Looking for Atlas BLAS: not found
Looking for PhiPACK BLAS: not 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值