QT:4.8.0
PCL:1.7.1
Qt Creator: 3.2.0
OS: win 7
compiler: vc 10
debugger: dbg_x86_6.11.1.404
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
step1: 去“https://github.com/PointCloudLibrary/pcl/tree/master/doc/tutorials/content/sources/qt_visualizer”把文件下载下来
step2: 用qt creator打开pcl_visualizer.pro
step3:菜单:文件-》打开文件或项目-》打开“cmakelists.txt,此时会弹出一个对话框:CMake向导
step4:单击“next”,进入执行cmake-》单击“执行cmake”
控制台会输出:
-- The C compiler identification is MSVC 16.0.40219.1
-- The CXX compiler identification is MSVC 16.0.40219.1
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe -- works
。。。。。。
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/vitus/Desktop/qt_visualizer/src-build
step5:单击完成////////////////////////////////////////////////////////////////////////////////////////////////////