VISP的环境准备
需要以下三个部分:
1、VISP的源码;
2、Cmake;
3、Git。
在windows下安装要以源码的形式安装:
链接:VISP源码下载
在以下的是官方指导教程
链接:安装指导教程
Cmake下载:Cmake
Git下载:Git
准备相应的环境
C:\> setx VISP_WS "C:\visp-ws"
C:\> exit
C:\> mkdir %VISP_WS%
C:\> exit
C:\> cd %VISP_WS%
C:\> git clone https://github.com/lagadic/visp.git
C:\> mkdir %VISP_WS%\visp-build-vc14
C:\> cd %VISP_WS%\visp-build-vc14
C:\> cmake -G "Visual Studio 14 2015 Win64" %VISP_WS%\visp
C:\> cmake --build . --config Release --target install
C:\> setx VISP_DIR "%VISP_WS%\visp-build-vc14\install"
C:\> exit
按以上操作后,在%VISP_WS%/visp-build-vc14/VISP.sln 中找出VISP.sln,打开后,编译所有的项目,完成后,单独编译INSTALL。
使用以下指令打开displayGDI.exe,
C:\> cd %VISP_WS%\visp-build-vc14\example\device\display\Release
C:\> displayGDI.exe