首页
登录 | 注册

运行Linux下APAP程序

1. 安装OpenCV

2. 解压AsProjectiveAsPossible-master.zip

  unzip AsProjectiveAsPossible-master.zip

3. 安装所需包

1) Eigen

参考链接:http://blog.csdn.net/ttomchy/article/details/56859841

//2)配置第三方头文件

2) glew

3) glut

4) devIL

5) libxmu


3. cmakelist.txt目录下

键入:cmake .

显示:

didi@didi:~/AsProjectiveAsPossible-master$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/didi/AsProjectiveAsPossible-master

生成MakeFile

参考链接:https://www.ibm.com/developerworks/cn/linux/l-cn-cmake/

在MakeFile目录下:

键入:make

didi@didi:~/AsProjectiveAsPossible-master$ make
Scanning dependencies of target APAP
[ 20%] Building CXX object CMakeFiles/APAP.dir/src/APAP.cpp.o
[ 40%] Building CXX object CMakeFiles/APAP.dir/src/Math.cpp.o
[ 60%] Building CXX object CMakeFiles/APAP.dir/src/CVUtility.cpp.o
[ 80%] Building CXX object CMakeFiles/APAP.dir/src/SiftGPUWrapper.cpp.o
[100%] Building CXX object CMakeFiles/APAP.dir/src/VLFeatSiftWrapper.cpp.o
Linking CXX executable APAP
[100%] Built target APAP

键入:./APAP

成功编译



2020 jeepxie.net webmaster#jeepxie.net
10 q. 0.008 s.
京ICP备10005923号