diff --git a/doc/image/tutorial/windows/img-cmake-win10-mingw-visp-config.jpg b/doc/image/tutorial/windows/img-cmake-win10-mingw-visp-config.jpg new file mode 100644 index 0000000000..b7bc1416f4 Binary files /dev/null and b/doc/image/tutorial/windows/img-cmake-win10-mingw-visp-config.jpg differ diff --git a/doc/image/tutorial/windows/img-cmake-win10-mingw-visp-config.png b/doc/image/tutorial/windows/img-cmake-win10-mingw-visp-config.png deleted file mode 100644 index f01186b666..0000000000 Binary files a/doc/image/tutorial/windows/img-cmake-win10-mingw-visp-config.png and /dev/null differ diff --git a/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-config.jpg b/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-config.jpg index ce6f9db7e2..c830feca1b 100644 Binary files a/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-config.jpg and b/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-config.jpg differ diff --git a/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-config2.jpg b/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-config2.jpg deleted file mode 100644 index c7871f80d6..0000000000 Binary files a/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-config2.jpg and /dev/null differ diff --git a/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-generate.jpg b/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-generate.jpg deleted file mode 100644 index 5b56cf8f4c..0000000000 Binary files a/doc/image/tutorial/windows/img-cmake-win10-msvc17-visp-generate.jpg and /dev/null differ diff --git a/doc/image/tutorial/windows/img-cmake-win11-msvc17-visp-config2.jpg b/doc/image/tutorial/windows/img-cmake-win11-msvc17-visp-config2.jpg deleted file mode 100644 index b6fe7aa240..0000000000 Binary files a/doc/image/tutorial/windows/img-cmake-win11-msvc17-visp-config2.jpg and /dev/null differ diff --git a/doc/image/tutorial/windows/img-cmake-win11-msvc17-visp-generate.jpg b/doc/image/tutorial/windows/img-cmake-win11-msvc17-visp-generate.jpg deleted file mode 100644 index 1a02c25e23..0000000000 Binary files a/doc/image/tutorial/windows/img-cmake-win11-msvc17-visp-generate.jpg and /dev/null differ diff --git a/doc/image/tutorial/windows/img-win11-extract-opencv.jpg b/doc/image/tutorial/windows/img-win-extract-opencv.jpg similarity index 100% rename from doc/image/tutorial/windows/img-win11-extract-opencv.jpg rename to doc/image/tutorial/windows/img-win-extract-opencv.jpg diff --git a/doc/image/tutorial/windows/img-win10-extract-opencv-3rdparty.jpg b/doc/image/tutorial/windows/img-win10-extract-opencv-3rdparty.jpg deleted file mode 100644 index 4a1221de4f..0000000000 Binary files a/doc/image/tutorial/windows/img-win10-extract-opencv-3rdparty.jpg and /dev/null differ diff --git a/doc/image/tutorial/windows/img-win10-extract-opencv.png b/doc/image/tutorial/windows/img-win10-extract-opencv.png deleted file mode 100644 index 73787a8a41..0000000000 Binary files a/doc/image/tutorial/windows/img-win10-extract-opencv.png and /dev/null differ diff --git a/doc/image/tutorial/windows/img-win10-mingw-visp-explorer-install.jpg b/doc/image/tutorial/windows/img-win10-mingw-visp-explorer-install.jpg new file mode 100644 index 0000000000..7018ac9ecf Binary files /dev/null and b/doc/image/tutorial/windows/img-win10-mingw-visp-explorer-install.jpg differ diff --git a/doc/image/tutorial/windows/img-win10-mingw-visp-explorer-install.png b/doc/image/tutorial/windows/img-win10-mingw-visp-explorer-install.png deleted file mode 100644 index 7240e91ae1..0000000000 Binary files a/doc/image/tutorial/windows/img-win10-mingw-visp-explorer-install.png and /dev/null differ diff --git a/doc/image/tutorial/windows/img-win10-msvc17-visp-explorer-install.jpg b/doc/image/tutorial/windows/img-win10-msvc17-visp-explorer-install.jpg index ce92e02196..10be91c2b6 100644 Binary files a/doc/image/tutorial/windows/img-win10-msvc17-visp-explorer-install.jpg and b/doc/image/tutorial/windows/img-win10-msvc17-visp-explorer-install.jpg differ diff --git a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc14-uwp.dox b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc14-uwp.dox index be1916167b..978c1a3212 100644 --- a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc14-uwp.dox +++ b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc14-uwp.dox @@ -69,10 +69,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows S C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-ws-10-x86 C:\> cd visp-build-vc14-uwp-ws-10-x86 -C:\> cmake.exe -G "Visual Studio 14 2015" -A "Win32" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "Win32" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -86,10 +83,7 @@ The same process could be applied except that during cmake configuration you hav C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-ws-10-x64 C:\> cd visp-build-vc14-uwp-ws-10-x64 -C:\> cmake.exe -G "Visual Studio 14 2015" -A "x64" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "x64" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -103,10 +97,7 @@ The same process could be applied except that during cmake configuration you hav C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-ws-10-arm C:\> cd visp-build-vc14-uwp-ws-10-arm -C:\> cmake.exe -G "Visual Studio 14 2015" -A "ARM" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "ARM" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -122,10 +113,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows S C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-ws-8.1-x86 C:\> cd visp-build-vc14-uwp-ws-8.1-x86 -C:\> cmake.exe -G "Visual Studio 14 2015" -A "Win32" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-8.1-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "Win32" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-8.1-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -138,10 +126,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows S C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-ws-8.1-x64 C:\> cd visp-build-vc14-uwp-ws-8.1-x64 -C:\> cmake.exe -G "Visual Studio 14 2015" -A "x64" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-8.1-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "x64" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-8.1-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -154,10 +139,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows S C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-ws-8.1-arm C:\> cd visp-build-vc14-uwp-ws-8.1-arm -C:\> cmake.exe -G "Visual Studio 14 2015" -A "ARM" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-8.1-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "ARM" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-ws-8.1-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -172,10 +154,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows P C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-wp-8.1-x86 C:\> cd visp-build-vc14-uwp-wp-8.1-x86 -C:\> cmake.exe -G "Visual Studio 14 2015" -A "Win32" -DCMAKE_SYSTEM_NAME:String=WindowsPhone \ - -DCMAKE_SYSTEM_VERSION:String="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-wp-8.1-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "Win32" -DCMAKE_SYSTEM_NAME="WindowsPhone" -DCMAKE_SYSTEM_VERSION="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-wp-8.1-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -188,10 +167,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows P C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-wp-8.1-x64 C:\> cd visp-build-vc14-uwp-wp-8.1-x64 -C:\> cmake.exe -G "Visual Studio 14 2015" -A "x64" -DCMAKE_SYSTEM_NAME:String=WindowsPhone \ - -DCMAKE_SYSTEM_VERSION:String="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-wp-8.1-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "x64" -DCMAKE_SYSTEM_NAME="WindowsPhone" -DCMAKE_SYSTEM_VERSION="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-wp-8.1-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -204,10 +180,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows P C:\> cd %VISP_WS% C:\> mkdir visp-build-vc14-uwp-wp-8.1-arm C:\> cd visp-build-vc14-uwp-wp-8.1-arm -C:\> cmake.exe -G "Visual Studio 14 2015" -A "ARM" -DCMAKE_SYSTEM_NAME:String=WindowsPhone \ - -DCMAKE_SYSTEM_VERSION:String="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-wp-8.1-install ..\visp +C:\> cmake.exe -G "Visual Studio 14 2015" -A "ARM" -DCMAKE_SYSTEM_NAME="WindowsPhone" -DCMAKE_SYSTEM_VERSION="8.1" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc14-uwp-wp-8.1-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim diff --git a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc15-uwp.dox b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc15-uwp.dox index 71f9f881bf..d5abbc06a1 100644 --- a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc15-uwp.dox +++ b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc15-uwp.dox @@ -77,10 +77,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows S C:\> cd %VISP_WS% C:\> mkdir visp-build-vc15-uwp-ws-10-x86 C:\> cd visp-build-vc15-uwp-ws-10-x86 -C:\> cmake.exe -G "Visual Studio 15 2017" -A "Win32" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 15 2017" -A "Win32" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -99,10 +96,7 @@ The same process could be applied except that during cmake configuration you hav C:\> cd %VISP_WS% C:\> mkdir visp-build-vc15-uwp-ws-10-x64 C:\> cd visp-build-vc15-uwp-ws-10-x64 -C:\> cmake.exe -G "Visual Studio 15 2017" -A "x64" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 15 2017" -A "x64" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -116,10 +110,7 @@ The same process could be applied except that during cmake configuration you hav C:\> cd %VISP_WS% C:\> mkdir visp-build-vc15-uwp-ws-10-arm C:\> cd visp-build-vc15-uwp-ws-10-arm -C:\> cmake.exe -G "Visual Studio 15 2017" -A "ARM" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 15 2017" -A "ARM" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc15-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim diff --git a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc16-uwp.dox b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc16-uwp.dox index 091471322c..5c57cb06fa 100644 --- a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc16-uwp.dox +++ b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc16-uwp.dox @@ -76,7 +76,7 @@ With CMake configure ViSP specifying options for cross compiling for `"Windows S \verbatim C:\> mkdir %VISP_WS%\visp-build-vc16-uwp-ws-10-x86 C:\> cd %VISP_WS%\visp-build-vc16-uwp-ws-10-x86 -C:\> cmake.exe -G "Visual Studio 16 2019" -A "Win32" -DCMAKE_SYSTEM_NAME:String=WindowsStore -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc16-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 16 2019" -A "Win32" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc16-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -94,10 +94,7 @@ The same process could be applied except that during cmake configuration you hav \verbatim C:\> mkdir %VISP_WS%\visp-build-vc16-uwp-ws-10-x64 C:\> cd %VISP_WS%\visp-build-vc16-uwp-ws-10-x64 -C:\> cmake.exe -G "Visual Studio 16 2019" -A "x64" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc16-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 16 2019" -A "x64" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc16-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -110,10 +107,7 @@ The same process could be applied except that during cmake configuration you hav \verbatim C:\> mkdir %VISP_WS%\visp-build-vc16-uwp-ws-10-arm C:\> cd %VISP_WS%\visp-build-vc16-uwp-ws-10-arm -C:\> cmake.exe -G "Visual Studio 16 2019" -A "ARM" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc16-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 16 2019" -A "ARM" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc16-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim diff --git a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc17-uwp.dox b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc17-uwp.dox index 8764a80666..94e2958cb0 100644 --- a/doc/tutorial/cross-compilation/tutorial-install-win10-msvc17-uwp.dox +++ b/doc/tutorial/cross-compilation/tutorial-install-win10-msvc17-uwp.dox @@ -13,7 +13,7 @@ This tutorial has been tested on Windows 10 (64 bit), with CMake 3.22.1 and Visu \subsection install_msvc17_uwp_msvc Visual Studio -Visual Studio Community 2022 could be downloaded from https://www.visualstudio.com/downloads/. During a fresh installation enable "Universal Windows App Development Tools". Without this workload, you won't be able to create your universal apps. +Visual Studio Community 2022 could be downloaded from https://www.visualstudio.com/downloads/. During a fresh installation enable "Universal Windows App Development Tools". Without this workload, you won't be able to create your universal apps. If you already have Visual Studio Community 2022, you can check if "Universal Windows App Development" workload is activated following instructions given here that we resume: @@ -29,7 +29,7 @@ After Visual Studio installation, you need to mkdir %VISP_WS%\visp-build-vc17-uwp-ws-10-x86 C:\> cd %VISP_WS%\visp-build-vc17-uwp-ws-10-x86 -C:\> cmake.exe -G "Visual Studio 17 2022" -A "Win32" -DCMAKE_SYSTEM_NAME:String=WindowsStore -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc17-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 17 2022" -A "Win32" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc17-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -96,10 +96,7 @@ The same process could be applied except that during cmake configuration you hav \verbatim C:\> mkdir %VISP_WS%\visp-build-vc17-uwp-ws-10-x64 C:\> cd %VISP_WS%\visp-build-vc17-uwp-ws-10-x64 -C:\> cmake.exe -G "Visual Studio 17 2022" -A "x64" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc17-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 17 2022" -A "x64" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc17-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim @@ -112,10 +109,7 @@ The same process could be applied except that during cmake configuration you hav \verbatim C:\> mkdir %VISP_WS%\visp-build-vc17-uwp-ws-10-arm C:\> cd %VISP_WS%\visp-build-vc17-uwp-ws-10-arm -C:\> cmake.exe -G "Visual Studio 17 2022" -A "ARM" -DCMAKE_SYSTEM_NAME:String=WindowsStore \ - -DCMAKE_SYSTEM_VERSION:String="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF \ - -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc17-uwp-ws-10-install ..\visp +C:\> cmake.exe -G "Visual Studio 17 2022" -A "ARM" -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DBUILD_DEMOS=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_TUTORIALS=OFF -DCMAKE_INSTALL_PREFIX=%VISP_WS%\visp-build-vc17-uwp-ws-10-install ..\visp C:\> cmake --build . --config Release --target install \endverbatim diff --git a/doc/tutorial/windows/tutorial-install-win10-mingw-w64.dox b/doc/tutorial/windows/tutorial-install-win10-mingw-w64.dox index df151cfb3c..8a0933e649 100644 --- a/doc/tutorial/windows/tutorial-install-win10-mingw-w64.dox +++ b/doc/tutorial/windows/tutorial-install-win10-mingw-w64.dox @@ -14,7 +14,7 @@ These steps have been tested with CMake 3.19.0 and MinGW-W64 - GCC for Windows 6 - MinGW64 can be downloaded from [here](https://winlibs.com/#download-release). \note At the time this tutorial was created, we downloaded the latest UCRT runtime Win64 Zip archive Version -`"GCC 13.1.0 (with POSIX threads) + LLVM/Clang/LLD/LLDB 16.0.5 + MinGW-w64 11.0.0 (UCRT) - release 5 (LATEST)"` +`"GCC 13.1.0 (with POSIX threads) + LLVM/Clang/LLD/LLDB 16.0.5 + MinGW-w64 11.0.0 (UCRT) - release 5 (LATEST)"` that brings `winlibs-x86_64-posix-seh-gcc-13.1.0-llvm-16.0.5-mingw-w64ucrt-11.0.0-r5.zip` file. - After downloading, you should unzip the file to a folder. We recommend to unzip in to `C:\` root drive. - At this point, in `C:\mingw64` folder you should have something similar to @@ -164,37 +164,37 @@ where `%%VISP_WS%\3rdparty\eigen-3.4.0\build-mingw\install` is where you have in First you have to get OpenCV: - From https://opencv.org/releases/ download the latest OpenCV for Windows. In our case we got -`opencv-4.7.0-windows.exe` Win pack installer. The same procedure could be applied with all the previous +`opencv-4.8.0-windows.exe` Win pack installer. The same procedure could be applied with all the previous OpenCV releases starting from 3.4.0 version. - Extract the content of the archive in your workspace `%%VISP_WS%\3rdparty`. -\image html img-win11-extract-opencv.jpg +\image html img-win-extract-opencv.jpg - The installer extract all the material in `%%VISP_WS%\3rdparty\opencv`. -- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.7.0`. +- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.8.0`. -\note OpenCV 4.7.0 win pack installer contains prebuild OpenCV libraries build with Visual Studio 16 2019 (vc16) +\note OpenCV 4.7.0 win pack installer contains prebuild OpenCV libraries build with Visual Studio 16 2019 (vc16) but there is no build for MinGW. That's why you need to build yourself OpenCV -from source and install the libraries in `%%VISP_WS%\3rdparty\opencv-4.7.0\build\x64\mingw`. +from source and install the libraries in `%%VISP_WS%\3rdparty\opencv-4.8.0\build\x64\mingw`. 2. Configure, build and install OpenCV from source - Open a `cmd` Command Prompt and create a build folder \verbatim -C:\> cd %VISP_WS%\3rdparty\opencv-4.7.0 +C:\> cd %VISP_WS%\3rdparty\opencv-4.8.0 C:\> mkdir build-mingw C:\> cd build-mingw \endverbatim -- Run CMake in build directory and set the install dir to `%VISP_WS%\3rdparty\opencv-4.7.0\build`. We disable also +- Run CMake in build directory and set the install dir to `%VISP_WS%\3rdparty\opencv-4.8.0\build`. We disable also tests build in order to speed up the build process: \verbatim -C:\> cmake -G "MinGW Makefiles" ..\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\opencv-4.7.0\build -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF +C:\> cmake -G "MinGW Makefiles" ..\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\opencv-4.8.0\build -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF \endverbatim - Build and install OpenCV for MinGW (installation doesn't need administrator privileges) \verbatim C:\> cmake --build . --config Release --target install -j4 \endverbatim -- OpenCV is now installed in `%%VISP_WS%\opencv-4.7.0\build` folder +- OpenCV is now installed in `%%VISP_WS%\opencv-4.8.0\build` folder -\note - With OpenCV 4.7.0 if you don't set `WITH_OBSENSOR=OFF` you will get an \ref issue_win10_mingw_opencv_obsensor. +\note - With OpenCV 4.7.0 and 4.8.0 if you don't set `WITH_OBSENSOR=OFF` during cmake configuration you will get an \ref issue_win10_mingw_opencv_obsensor. \note - With OpenCV 4.5.0 if you don't set `OPENCV_ENABLE_ALLOCATOR_STATS=OFF` you will get an \ref issue_win10_mingw_opencv_allocator. \note - With OpenCV 4.1.0 if you don't set `WITH_OPENCL_D3D11_NV=OFF` you will get an @@ -209,15 +209,15 @@ Now you have to complete OpenCV installation setting some environment vars: - In order that ViSP detects OpenCV you have to set `OpenCV_DIR` environment variable. Start up a `cmd` Command Prompt and enter: \verbatim -C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.7.0\build" +C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.8.0\build" C:\> exit \endverbatim -where `%%VISP_WS%\3rdparty\opencv-4.7.0\build` is where you have installed OpenCV. Inside this folder you should +where `%%VISP_WS%\3rdparty\opencv-4.8.0\build` is where you have installed OpenCV. Inside this folder you should have a file named `OpenCVConfig.cmake`. - You have also to add the location of OpenCV libraries corresponding to MinGW usage in the `Path` environment variable. Open the "Edit environment variable" UI, and modify `Path` to add a new line with -`%%VISP_WS%\3rdparty\opencv-4.7.0\build\x64\mingw\bin`. +`%%VISP_WS%\3rdparty\opencv-4.8.0\build\x64\mingw\bin`. \subsubsection install_win10_mingw_3rdparty_json JSON 3rd party @@ -277,7 +277,7 @@ will be located in `%%VISP_WS%/visp-build-mingw`. - Select then your compiler "MinGW Makefiles" and click on "Finish" button. \image html img-cmake-win10-mingw-makefiles.png - This will start CMake configuration. As shown in the next image, Eigen3, GDI, JSON, OpenCV and OpenMP 3rd parties are automatically detected. -\image html img-cmake-win10-mingw-visp-config.png +\image html img-cmake-win10-mingw-visp-config.jpg \note - If OpenCV is not detected, you may encounter the following issue \ref issue_win10_mingw_opencv_not_detected. \note - Installation folder is set to `%%VISP_WS%/visp-build-mingw/install`. If you want to change the installation @@ -310,7 +310,7 @@ C:\> mingw32-make -j4 install - At the end, in `%%VISP_WS%/visp-build-mingw/install/x64/mingw/bin` folder you will find ViSP DLL libraries corresponding to the build modules. -\image html img-win10-mingw-visp-explorer-install.png +\image html img-win10-mingw-visp-explorer-install.jpg \note When `CMAKE_BUILD_TYPE` is set to Debug, the library names are suffixed by "d". @@ -481,13 +481,14 @@ located in `%VISP_WS%/visp-build-mingw`. We provide hereafter an example of a po file that contains also build info. \verbatim $ type %VISP_WS%/visp-build-mingw/ViSP-third-party.txt + ========================================================== General configuration information for ViSP 3.5.1 - Version control: v3.5.0-669-g008a29d04-dirty + Version control: 08a979a03-dirty Platform: - Timestamp: 2023-07-03T14:18:45Z + Timestamp: 2023-07-06T14:34:24Z Host: Windows 10.0.19044 AMD64 CMake: 3.26.4 CMake generator: MinGW Makefiles @@ -529,15 +530,20 @@ General configuration information for ViSP 3.5.1 Python (for build): C:/Python310/python.exe - Java: + Java: ant: no JNI: C:/Program Files/Microsoft/jdk-11.0.16.101-hotspot/include C:/Program Files/Microsoft/jdk-11.0.16.101-hotspot/include/win32 C:/Program Files/Microsoft/jdk-11.0.16.101-hotspot/include - Build options: + Build options: Build deprecated: yes Build with moment combine: no - Mathematics: + OpenCV: + Version: 4.8.0 + Modules: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo stitching video videoio + OpenCV dir: C:/visp-ws/3rdparty/opencv-4.8.0/build + + Mathematics: Blas/Lapack: yes \- Use MKL: no \- Use OpenBLAS: no @@ -546,13 +552,13 @@ General configuration information for ViSP 3.5.1 \- Use GSL: no \- Use Lapack (built-in): yes (ver 3.2.1) Use Eigen3: yes (ver 3.4.0) - Use OpenCV: yes (ver 4.7.0) + Use OpenCV: yes (ver 4.8.0) - Simulator: - Ogre simulator: + Simulator: + Ogre simulator: \- Use Ogre3D: no \- Use OIS: no - Coin simulator: + Coin simulator: \- Use Coin3D: no \- Use SoWin: no \- Use SoXt: no @@ -561,15 +567,15 @@ General configuration information for ViSP 3.5.1 \- Use Qt4: no \- Use Qt3: no - Media I/O: + Media I/O: Use JPEG: no Use PNG: no \- Use ZLIB: no - Use OpenCV: yes (ver 4.7.0) + Use OpenCV: yes (ver 4.8.0) Use stb_image (built-in): yes (ver 2.27.0) Use TinyEXR (built-in): yes (ver 1.0.2) - Real robots: + Real robots: Use Afma4: no Use Afma6: no Use Franka: no @@ -588,24 +594,24 @@ General configuration information for ViSP 3.5.1 Use qbdevice (built-in): yes (ver 2.6.0) Use takktile2 (built-in): no - GUI: + GUI: Use X11: no Use GTK: no - Use OpenCV: yes (ver 4.7.0) - Use GDI: no + Use OpenCV: yes (ver 4.8.0) + Use GDI: yes Use Direct3D: no - Cameras: + Cameras: Use DC1394-2.x: no Use CMU 1394: no Use V4L2: no Use directshow: no - Use OpenCV: yes (ver 4.7.0) + Use OpenCV: yes (ver 4.8.0) Use FLIR Flycapture: no Use Basler Pylon: no Use IDS uEye: no - RGB-D sensors: + RGB-D sensors: Use Realsense: no Use Realsense2: no Use Occipital Structure: no @@ -616,38 +622,38 @@ General configuration information for ViSP 3.5.1 Use PCL: no \- Use VTK: no - F/T sensors: + F/T sensors: Use atidaq (built-in): no Use comedi: no Use IIT SDK: no - Mocap: + Mocap: Use Qualisys: no Use Vicon: no - Detection: + Detection: Use zbar: no Use dmtx: no Use AprilTag (built-in): yes (ver 3.1.1) \- Use AprilTag big family: no - Misc: + Misc: Use Clipper (built-in): yes (ver 6.4.2) Use pugixml (built-in): yes (ver 1.9.0) Use libxml2: no Use json (nlohmann): yes (ver 3.11.2) - Optimization: + Optimization: Use OpenMP: yes Use pthread: no Use pthread (built-in): yes (ver 3.0.1) Use Simd (built-in): yes (ver 4.9.109) - DNN: + DNN: Use CUDA Toolkit: no Use TensorRT: no - Documentation: + Documentation: Use doxygen: yes \- Use mathjax: no @@ -661,7 +667,7 @@ General configuration information for ViSP 3.5.1 Library dirs: Eigen3 include dir: C:/visp-ws/3rdparty/eigen-3.4.0/build-vc17/install/share/eigen3/cmake - OpenCV dir: C:/visp-ws/3rdparty/opencv-4.7.0/build + OpenCV dir: C:/visp-ws/3rdparty/opencv-4.8.0/build Install path: C:/visp-ws/visp-build-mingw/install @@ -670,9 +676,9 @@ General configuration information for ViSP 3.5.1 \section issue_win10_mingw Known issues -\subsection issue_win10_mingw_opencv_obsensor OpenCV compilation problem in obsensor_stream_channel_msmf.cpp +\subsection issue_win10_mingw_opencv_obsensor OpenCV 4.7.0 and 4.8.0 compilation problem in obsensor_stream_channel_msmf.cpp -This issue occurs with OpenCV 4.7.0. +This issue occurs with OpenCV 4.7.0 and OpenCV 4.8.0. \verbatim In file included from C:\visp-ws\3rdparty\opencv-4.7.0\sources\modules\videoio\src\cap_obsensor\obsensor_stream_channel_msmf.hpp:41, @@ -690,7 +696,9 @@ C:\> C:\> cmake -G "MinGW Makefiles" ..\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS% C:\> cmake --build . --config Release --target install -j4 \endverbatim -\subsection issue_win10_mingw_opencv_allocator OpenCV compilation problem gcc: error: long: No such file or directory +\note Previous instructions need to be adapted to your OpenCV version. + +\subsection issue_win10_mingw_opencv_allocator OpenCV 4.5.0 compilation problem gcc: error: long: No such file or directory This issue occurs with OpenCV 4.5.0 and is referenced [here](https://answers.opencv.org/question/228737/gcc-error-long-no-such-file-or-directory/). diff --git a/doc/tutorial/windows/tutorial-install-win10-msvc14.dox b/doc/tutorial/windows/tutorial-install-win10-msvc14.dox index c8861c7d6b..9643c9ed0c 100644 --- a/doc/tutorial/windows/tutorial-install-win10-msvc14.dox +++ b/doc/tutorial/windows/tutorial-install-win10-msvc14.dox @@ -151,14 +151,14 @@ First you have to get OpenCV: - From https://opencv.org/releases download the latest OpenCV for Windows. In our case we got `opencv-4.5.1-vc14_vc15.exe` Win pack installer. The same procedure could be applied with all the previous OpenCV releases starting from 3.4.0 version. -- Extract the content of the archive in your workspace `%%VISP_WS%`. -\image html img-win10-extract-opencv.png -- The installer extract all the material in `%%VISP_WS%\opencv`. -- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\opencv-4.5.1`. +- Extract the content of the archive in your workspace `%%VISP_WS%\3rdparty`. +\image html img-win-extract-opencv.jpg +- The installer extract all the material in `%%VISP_WS%\3rdparty\opencv`. +- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.5.1`. \note OpenCV 4.5.1 win pack installer contains prebuild OpenCV libraries build with Visual Studio 14 2015 (vc14) -and Visual Studio 15 2017 (vc15). These libraries are located in `%%VISP_WS%\opencv-4.5.1\build\x64\vc14` and -`%%VISP_WS%\opencv-4.5.1\build\x64\vc15` respectively. +and Visual Studio 15 2017 (vc15). These libraries are located in `%%VISP_WS%\3rdparty\opencv-4.5.1\build\x64\vc14` and +`%%VISP_WS%\3rdparty\opencv-4.5.1\build\x64\vc15` respectively. 2. Complete OpenCV installation @@ -166,15 +166,15 @@ Now you have to complete OpenCV installation setting some environment vars: - In order that ViSP detects OpenCV you have to set `OpenCV_DIR` environment variable. Start up a `cmd` Command Prompt and enter: \verbatim -C:\> setx OpenCV_DIR "%VISP_WS%\opencv-4.5.1\build" +C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.5.1\build" C:\> exit \endverbatim -where `%%VISP_WS%\opencv-4.5.1\build` is where you have installed OpenCV. Inside this folder you should have a +where `%%VISP_WS%\3rdparty\opencv-4.5.1\build` is where you have installed OpenCV. Inside this folder you should have a file named `OpenCVConfig.cmake`. - You have also to add the location of OpenCV libraries corresponding to Visual Studio 14 2016 usage in the `Path` environment variable. Open the "Edit environment variable" UI, and modify `Path` to add a new line with -`%%VISP_WS%\opencv-4.5.1\build\x64\vc14\bin`. +`%%VISP_WS%\3rdparty\opencv-4.5.1\build\x64\vc14\bin`. \subsubsection install_win10_msvc14_3rdparty_realsense librealsense 3rd party diff --git a/doc/tutorial/windows/tutorial-install-win10-msvc15.dox b/doc/tutorial/windows/tutorial-install-win10-msvc15.dox index 2865d75017..782c9a9516 100644 --- a/doc/tutorial/windows/tutorial-install-win10-msvc15.dox +++ b/doc/tutorial/windows/tutorial-install-win10-msvc15.dox @@ -165,13 +165,13 @@ First you have to get OpenCV: `opencv-4.5.1-vc14_vc15.exe` Win pack installer. The same procedure could be applied with all the previous OpenCV releases starting from 3.4.0 version. - Extract the content of the archive in your workspace `%%VISP_WS%`. -\image html img-win10-extract-opencv.png +\image html img-win-extract-opencv.jpg - The installer extract all the material in `%%VISP_WS%\opencv`. -- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\opencv-4.5.1`. +- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.5.1`. \note OpenCV 4.5.1 win pack installer contains prebuild OpenCV libraries build with Visual Studio 14 2015 (vc14) -and Visual Studio 15 2017 (vc15). These libraries are located in `%%VISP_WS%\opencv-4.5.1\build\x64\vc14` and -`%%VISP_WS%\opencv-4.5.1\build\x64\vc15` respectively. +and Visual Studio 15 2017 (vc15). These libraries are located in `%%VISP_WS%\3rdparty\opencv-4.5.1\build\x64\vc14` and +`%%VISP_WS%\3rdparty\opencv-4.5.1\build\x64\vc15` respectively. 2. Complete OpenCV installation @@ -179,15 +179,15 @@ Now you have to complete OpenCV installation setting some environment vars: - In order that ViSP detects OpenCV you have to set `OpenCV_DIR` environment variable. Start up a `cmd` Command Prompt and enter: \verbatim -C:\> setx OpenCV_DIR "%VISP_WS%\opencv-4.5.1\build" +C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.5.1\build" C:\> exit \endverbatim -where `%%VISP_WS%\opencv-4.5.1\build` is where you have installed OpenCV. Inside this folder you should have a +where `%%VISP_WS%\3rdparty\opencv-4.5.1\build` is where you have installed OpenCV. Inside this folder you should have a file named `OpenCVConfig.cmake`. - You have also to add the location of OpenCV libraries corresponding to Visual Studio 15 2017 usage in the `Path` environment variable. Open the "Edit environment variable" UI, and modify `Path` to add a new line with -`%%VISP_WS%\opencv-4.5.1\build\x64\vc15\bin`. +`%%VISP_WS%\3rdparty\opencv-4.5.1\build\x64\vc15\bin`. \subsubsection install_win10_msvc15_3rdparty_realsense librealsense 3rd party diff --git a/doc/tutorial/windows/tutorial-install-win10-msvc16.dox b/doc/tutorial/windows/tutorial-install-win10-msvc16.dox index 2441f051d5..0921a079c2 100644 --- a/doc/tutorial/windows/tutorial-install-win10-msvc16.dox +++ b/doc/tutorial/windows/tutorial-install-win10-msvc16.dox @@ -170,9 +170,9 @@ First you have to get OpenCV: `opencv-4.5.1-vc14_vc15.exe` Win pack installer. The same procedure could be applied with all the previous OpenCV releases starting from 3.4.0 version. - Extract the content of the archive in your workspace `%%VISP_WS%`. -\image html img-win10-extract-opencv.png +\image html img-win-extract-opencv.jpg - The installer extract all the material in `%%VISP_WS%\opencv`. -- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\opencv-4.5.1`. +- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.5.1`. \note OpenCV 4.5.1 win pack installer doesn't contain prebuild OpenCV libraries build with Visual Studio 16 2019. It contains only prebuild libraries build with previous Visual Studio version @@ -182,13 +182,13 @@ Visual Studio 16 2019. It contains only prebuild libraries build with previous V - Create a build directory \verbatim -C:\> mkdir %VISP_WS%\opencv-4.5.1\build-vc16 -C:\> cd %VISP_WS%\opencv-4.5.1\build-vc16 +C:\> mkdir %VISP_WS%\3rdparty\opencv-4.5.1\build-vc16 +C:\> cd %VISP_WS%\3rdparty\opencv-4.5.1\build-vc16 \endverbatim - Run CMake in build directory (here the generator is chosen for Visual Studio 16 2019) and installation dir is set -to the existing folder `%%VISP_WS%\opencv-4.5.1\build`: +to the existing folder `%%VISP_WS%\3rdparty\opencv-4.5.1\build`: \verbatim -C:\> cmake -G "Visual Studio 16 2019" -A "x64" %VISP_WS%\opencv-4.5.1\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\opencv-4.5.1\build +C:\> cmake -G "Visual Studio 16 2019" -A "x64" %VISP_WS%\3rdparty\opencv-4.5.1\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\opencv-4.5.1\build \endverbatim - Build and install OpenCV using release and debug configuration respectively (installation doesn't need administrator privileges) @@ -211,7 +211,7 @@ have a file named `OpenCVConfig.cmake`. - You have also to add the location of OpenCV libraries corresponding to Visual Studio 16 2019 usage in the `Path` environment variable. Open the "Edit environment variable" UI, and modify `Path` to add a new -line with `%%VISP_WS%\opencv-4.5.1\build\x64\vc16\bin`. +line with `%%VISP_WS%\3rdparty\opencv-4.5.1\build\x64\vc16\bin`. \subsubsection install_win10_msvc16_3rdparty_realsense librealsense 3rd party diff --git a/doc/tutorial/windows/tutorial-install-win10-msvc17.dox b/doc/tutorial/windows/tutorial-install-win10-msvc17.dox index c876ecdce8..b88ea39fa5 100644 --- a/doc/tutorial/windows/tutorial-install-win10-msvc17.dox +++ b/doc/tutorial/windows/tutorial-install-win10-msvc17.dox @@ -119,28 +119,28 @@ parties are optional and should be considered only by expert developers. First you have to get OpenCV: - From https://opencv.org/releases/ download the latest OpenCV for Windows. In our case we got -`opencv-4.6.0-vc14_vc15.exe` Win pack installer. The same procedure could be applied with all the +`opencv-4.8.0-windows.exe` Win pack installer. The same procedure could be applied with all the previous OpenCV releases starting from 3.4.0 version. - Extract the content of the archive in your workspace `%%VISP_WS%/3rdparty`. -\image html img-win10-extract-opencv-3rdparty.jpg +\image html img-win-extract-opencv.jpg - The installer extract all the material in `%%VISP_WS%\3rdparty\opencv`. -- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.6.0`. +- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.8.0`. -\note OpenCV 4.6.0 win pack installer doesn't contain prebuild OpenCV libraries build with -Visual Studio 17 2022. It contains only prebuild libraries build with previous Visual Studio version -(vc14 and vc15). That's why we need to build OpenCV from source. +\note OpenCV 4.8.0 win pack installer doesn't contain prebuild OpenCV libraries build with +Visual Studio 17 2022. It contains only prebuild libraries build with Visual Studio 16 2019 +(vc16). That's why we need to build OpenCV from source. 2. Build OpenCV from source - Create a build directory \verbatim -C:\> mkdir %VISP_WS%\3rdparty\opencv-4.6.0\build-vc17 -C:\> cd %VISP_WS%\3rdparty\opencv-4.6.0\build-vc17 +C:\> mkdir %VISP_WS%\3rdparty\opencv-4.8.0\build-vc17 +C:\> cd %VISP_WS%\3rdparty\opencv-4.8.0\build-vc17 \endverbatim - Run CMake in build directory (here the generator is chosen for Visual Studio 17 2022) and installation dir is set -to the existing folder `%%VISP_WS%\3rdparty\opencv-4.6.0\build`: +to the existing folder `%%VISP_WS%\3rdparty\opencv-4.8.0\build`: \verbatim -C:\> cmake -G "Visual Studio 17 2022" -A "x64" %VISP_WS%\3rdparty\opencv-4.6.0\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\opencv-4.6.0\build +C:\> cmake -G "Visual Studio 17 2022" -A "x64" %VISP_WS%\3rdparty\opencv-4.8.0\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\opencv-4.8.0\build -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF \endverbatim - Build and install OpenCV using release and debug configuration respectively (installation doesn't need administrator privileges) @@ -155,15 +155,15 @@ Now you have to complete OpenCV installation setting some environment vars: - In order that ViSP detects OpenCV you have to set `OpenCV_DIR` environment variable. Start up a `cmd` Command Prompt and enter: \verbatim -C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.6.0\build" +C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.8.0\build" C:\> exit \endverbatim -where `%%VISP_WS%\3rdparty\opencv-4.6.0\build` is where you have installed OpenCV. Inside this folder you should +where `%%VISP_WS%\3rdparty\opencv-4.8.0\build` is where you have installed OpenCV. Inside this folder you should have a file named `OpenCVConfig.cmake`. - You have also to add the location of OpenCV libraries corresponding to Visual Studio 17 2022 usage in the `Path` environment variable. Open the "Edit environment variable" UI, and modify `Path` to add a new -line with `%%VISP_WS%\3rdparty\opencv-4.6.0\build\x64\vc17\bin`. +line with `%%VISP_WS%\3rdparty\opencv-4.8.0\build\x64\vc17\bin`. \subsubsection install_win10_msvc17_3rdparty_eigen Eigen3 3rd party @@ -219,7 +219,7 @@ vpRealSense2 class. Otherwise you can skip this section. Intel Realsense SDK 2.0 contains librealsense. To install this SDK: - Go to https://github.com/IntelRealSense/librealsense/releases - Download `Intel.RealSense.SDK-WIN10-.exe` corresponding to the last Intel Realsense SDK 2.0 release. -At the time this tutorial was written, we downloaded `Intel.RealSense.SDK-WIN10-2.50.0.3785.exe`. +At the time this tutorial was written, we downloaded `Intel.RealSense.SDK-WIN10-2.54.1.5216.exe`. - Execute `Intel.RealSense.SDK-WIN10-.exe` and follow default installation steps. 2. Complete Intel Realsense SDK 2.0 installation @@ -235,20 +235,25 @@ to consider a point cloud as depth feature in the generic model-based tracker wh If you don't have an Intel Realsense Depth camera (SR300 or D400 series) or if you are not interested in model-based tracking using depth as feature you can skip this section. -1. Install PCL from source +At the time this tutorial was updated, in https://github.com/PointCloudLibrary/pcl/releases +there was the PCL 1.13.1 release that came with `PCL-1.13.1-AllInOne-msvc2022-win64.exe` installer. -At the time this tutorial was written, in https://github.com/PointCloudLibrary/pcl/releases there was no all-in-one installer for Visual Studio 17 2022. +\note Be careful to use the version that match your compiler. -You need here to install PCL from source. +For Visual Studio 17 2022: +- Go to https://github.com/PointCloudLibrary/pcl/releases +- From the Assets section, download `PCL-1.13.1-AllInOne-msvc2022-win64.exe` +- Execute `PCL-1.13.1-AllInOne-msvc2022-win64.exe`, add PCL to the system path for all users and follow default +installation steps. 2. Complete PCL installation To complete PCL installation, you need to add the location of `pcl_common_.dll` and `OpenNI2.dll` libraries in the `Path` environment variable. Open the "Edit environment variable" UI, and modify by hand `Path` to add respectively: -- a new line with `C:\Program Files\PCL 1.12.1\bin` +- a new line with `C:\Program Files\PCL 1.13.1\bin` - a new line with `C:\Program Files\OpenNI2\Redist` -- a new line with `C:\Program Files\PCL 1.12.1\3rdParty\VTK\bin` +- a new line with `C:\Program Files\PCL 1.13.1\3rdParty\VTK\bin` \subsubsection install_win10_msvc17_3rdparty_flycapture FlyCapture 3rd party @@ -485,8 +490,8 @@ will be located in `%%VISP_WS%/visp-build-vc17`. - Click on "Yes" to create the `%%VISP_WS%/visp-build-vc17` folder. - Select then your compiler "Visual Studio 17 2022" and click on "Finish" button. \image html img-cmake-win10-msvc17-msvc-version.jpg -- This will start CMake configuration. As shown in the next image, Eigen3, FlyCapture, GDI (Graphical -Device Interface), Kinova Jaco SDK, OpenCV, OpenMP, Realsense2 and uEye 3rd parties are automatically detected. +- This will start CMake configuration. As shown in the next image, in our case Eigen3, GDI (Graphical +Device Interface), JSON, OpenCV, OpenMP, PCL and Realsense2 3rd parties were installed and detected. \image html img-cmake-win10-msvc17-visp-config.jpg \note Installation folder is set to `%%VISP_WS%/visp-build-vc17/install`. If you want to change the installation folder to `C:\Program Files (x86)\ViSP`, make sure that you have administrator privileges @@ -509,13 +514,11 @@ CMake Warning at CMakeLists.txt:1156 (message): At this point, you should no more see the warning. - Click then on "Configure" button. All the red lines should disappear. -\image html img-cmake-win10-msvc17-visp-config2.jpg \note The default configuration lead to the creation of a shared library (with `.dll` extension). This is the default configuration that is recommended. If you want to create rather a static library (with `.lib` extension) you have to uncheck the `BUILD_SHARED_LIBS` option to disable DLL creation. - To finish the configuration, click on "Generate" button. -\image html img-cmake-win10-msvc17-visp-generate.jpg - Once the generation is done, in `%%VISP_WS%/visp-build-vc17` folder you have the Visual Studio `VISP.sln` generated solution file. @@ -548,7 +551,7 @@ subfolders respectively. \image html img-win10-msvc17-visp-explorer-install.jpg - Note that you can also build ViSP in `Debug` configuration. In that case, all the library names are suffixed -by "d" character (`libvisp_core340d.dll`...). +by "d" character (`libvisp_core351d.dll`...). \subsection install_win10_msvc17_build_visp_doc Build ViSP documentation @@ -718,47 +721,66 @@ that contains also build info. \verbatim C:\> type $VISP_WS/visp-build-vc17/ViSP-third-party.txt ========================================================== -General configuration information for ViSP 3.4.1 +General configuration information for ViSP 3.5.1 - Version control: 3.0.1-2979-ge6882015c + Version control: 43c8720f4 Platform: - Timestamp: 2021-12-31T12:38:10Z - Host: Windows 10.0.17763 AMD64 - CMake: 3.22.1 + Timestamp: 2023-07-06T09:32:23Z + Host: Windows 10.0.19044 AMD64 + CMake: 3.26.4 CMake generator: Visual Studio 17 2022 CMake build tool: C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe - MSVC: 1930 + MSVC: 1935 + + System information: + Number of CPU logical cores: 4 + Number of CPU physical cores: 4 + Total physical memory (in MiB): 16057 + OS name: Windows + OS release: Professional + OS version: (Build 19044) + OS platform: AMD64 + CPU name: Pentium II (0.25 micron) + Is the CPU 64-bit? yes + Does the CPU have FPU? yes + CPU optimization: SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 C/C++: Built as dynamic libs?: yes - C++ Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe (ver 19.30.30706.0) - C++ flags (Release): /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP3 /EHa -openmp /Gy /bigobj /MD /O2 /Ob2 /DNDEBUG - C++ flags (Debug): /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP3 /EHa -openmp /Gy /bigobj /MDd /Zi /Ob0 /Od /RTC1 - C Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe - C flags (Release): /DWIN32 /D_WINDOWS /W3 /MP3 /EHa -openmp /MD /O2 /Ob2 /DNDEBUG - C flags (Debug): /DWIN32 /D_WINDOWS /W3 /MP3 /EHa -openmp /MDd /Zi /Ob0 /Od /RTC1 + C++ Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe (ver 19.35.32215.0) + C++ flags (Release): /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP4 /EHa -openmp /Gy /bigobj /MD /O2 /Ob2 /DNDEBUG + C++ flags (Debug): /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP4 /EHa -openmp /Gy /bigobj /MDd /Zi /Ob0 /Od /RTC1 + C Compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe + C flags (Release): /DWIN32 /D_WINDOWS /W3 /MP4 /EHa -openmp /MD /O2 /Ob2 /DNDEBUG + C flags (Debug): /DWIN32 /D_WINDOWS /W3 /MP4 /EHa -openmp /MDd /Zi /Ob0 /Od /RTC1 Linker flags (Release): /machine:x64 /INCREMENTAL:NO Linker flags (Debug): /machine:x64 /debug /INCREMENTAL /ignore:4099 + Use cxx standard: 17 ViSP modules: - To be built: core gui imgproc io java_bindings_generator klt me sensor ar blob robot visual_features vs vision detection mbt tt tt_mi + To be built: core dnn_tracker gui imgproc io java_bindings_generator klt me sensor ar blob robot visual_features vs vision detection mbt tt tt_mi Disabled: - Disabled by dependency: - Unavailable: java Windows RT support: no - Python (for build): NO + Python (for build): C:/Python310/python.exe Java: - ant: NO - JNI: NO + ant: no + JNI: C:/Program Files/Microsoft/jdk-11.0.16.101-hotspot/include C:/Program Files/Microsoft/jdk-11.0.16.101-hotspot/include/win32 C:/Program Files/Microsoft/jdk-11.0.16.101-hotspot/include Build options: Build deprecated: yes Build with moment combine: no + OpenCV: + Version: 4.8.0 + Modules: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo stitching video videoio + OpenCV dir: C:/visp-ws/3rdparty/opencv-4.8.0/build + Mathematics: Blas/Lapack: yes \- Use MKL: no @@ -768,7 +790,7 @@ General configuration information for ViSP 3.4.1 \- Use GSL: no \- Use Lapack (built-in): yes (ver 3.2.1) Use Eigen3: yes (ver 3.4.0) - Use OpenCV: yes (ver 4.5.5) + Use OpenCV: yes (ver 4.8.0) Simulator: Ogre simulator: @@ -787,8 +809,9 @@ General configuration information for ViSP 3.4.1 Use JPEG: no Use PNG: no \- Use ZLIB: no - Use OpenCV: yes (ver 4.5.5) - Use stb_image (built-in): no + Use OpenCV: yes (ver 4.8.0) + Use stb_image (built-in): yes (ver 2.27.0) + Use TinyEXR (built-in): yes (ver 1.0.2) Real robots: Use Afma4: no @@ -796,11 +819,13 @@ General configuration information for ViSP 3.4.1 Use Franka: no Use Viper650: no Use Viper850: no - Use Kinova Jaco: yes + Use ur_rtde: no + Use Kinova Jaco: no Use aria (Pioneer): no Use PTU46: no Use Biclops PTU: no Use Flir PTU SDK: no + Use MAVSDK: no Use Parrot ARSDK: no \-Use ffmpeg: no Use Virtuose: no @@ -810,7 +835,7 @@ General configuration information for ViSP 3.4.1 GUI: Use X11: no Use GTK: no - Use OpenCV: yes (ver 4.5.5) + Use OpenCV: yes (ver 4.8.0) Use GDI: yes Use Direct3D: no @@ -819,19 +844,20 @@ General configuration information for ViSP 3.4.1 Use CMU 1394: no Use V4L2: no Use directshow: no - Use OpenCV: yes (ver 4.5.5) - Use FLIR Flycapture: yes + Use OpenCV: yes (ver 4.8.0) + Use FLIR Flycapture: no Use Basler Pylon: no - Use IDS uEye: yes (ver 4.95.0) + Use IDS uEye: no RGB-D sensors: Use Realsense: no - Use Realsense2: yes (ver 2.50.0) + Use Realsense2: yes (ver 2.54.1) + Use Occipital Structure: no Use Kinect: no \- Use libfreenect: no \- Use libusb-1: no \- Use pthread: no - Use PCL: no + Use PCL: yes (ver 1.13.1) \- Use VTK: no F/T sensors: @@ -839,6 +865,10 @@ General configuration information for ViSP 3.4.1 Use comedi: no Use IIT SDK: no + Mocap: + Use Qualisys: no + Use Vicon: no + Detection: Use zbar: no Use dmtx: no @@ -849,19 +879,21 @@ General configuration information for ViSP 3.4.1 Use Clipper (built-in): yes (ver 6.4.2) Use pugixml (built-in): yes (ver 1.9.0) Use libxml2: no + Use json (nlohmann): yes (ver 3.11.2) Optimization: Use OpenMP: yes Use pthread: no Use pthread (built-in): yes (ver 3.0.1) - Use cxx standard: 11 + Use Simd (built-in): yes (ver 4.9.109) DNN: Use CUDA Toolkit: no Use TensorRT: no Documentation: - Use doxygen: no + Use doxygen: yes + \- Use mathjax: no Tests and samples: Use catch2 (built-in): yes (ver 2.13.7) @@ -869,6 +901,12 @@ General configuration information for ViSP 3.4.1 Demos: yes Examples: yes Tutorials: yes + Dataset found: yes (ver 3.6.0 in C:\visp-ws\visp-images) + + Library dirs: + Eigen3 include dir: C:/visp-ws/3rdparty/eigen-3.4.0/build-vc17/install/share/eigen3/cmake + OpenCV dir: C:/visp-ws/3rdparty/opencv-4.8.0/build + PCL dir: C:/Program Files/PCL 1.13.1/cmake Install path: C:/visp-ws/visp-build-vc17/install diff --git a/doc/tutorial/windows/tutorial-install-win11-mingw-w64.dox b/doc/tutorial/windows/tutorial-install-win11-mingw-w64.dox index 77bf247756..f52a20032c 100644 --- a/doc/tutorial/windows/tutorial-install-win11-mingw-w64.dox +++ b/doc/tutorial/windows/tutorial-install-win11-mingw-w64.dox @@ -165,7 +165,7 @@ First you have to get OpenCV: `opencv-4.6.0-vc14_vc15.exe` Win pack installer. The same procedure could be applied with all the previous OpenCV releases starting from 3.4.0 version. - Extract the content of the archive in your workspace `%%VISP_WS%`. -\image html img-win11-extract-opencv.jpg +\image html img-win-extract-opencv.jpg - The installer extract all the material in `%%VISP_WS%\opencv`. - We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.6.0`. diff --git a/doc/tutorial/windows/tutorial-install-win11-msvc17.dox b/doc/tutorial/windows/tutorial-install-win11-msvc17.dox index 486c6ccd1f..e8ace6d9b2 100644 --- a/doc/tutorial/windows/tutorial-install-win11-msvc17.dox +++ b/doc/tutorial/windows/tutorial-install-win11-msvc17.dox @@ -115,31 +115,30 @@ Other 3rd parties are optional and should be considered only by expert developer 1. Get OpenCV First you have to get OpenCV: -- From https://opencv.org/releases download the latest OpenCV for Windows. In our case we got -`opencv-4.6.0-vc14_vc15.exe` Win pack installer. The same procedure could be applied with all the +- From https://opencv.org/releases/ download the latest OpenCV for Windows. In our case we got +`opencv-4.8.0-windows.exe` Win pack installer. The same procedure could be applied with all the previous OpenCV releases starting from 3.4.0 version. - Extract the content of the archive in your workspace `%%VISP_WS%/3rdparty`. -\image html img-win11-extract-opencv.jpg +\image html img-win-extract-opencv.jpg - The installer extract all the material in `%%VISP_WS%\3rdparty\opencv`. -- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.6.0`. +- We strongly recommend to rename this folder to a name that contain OpenCV version like `%%VISP_WS%\3rdparty\opencv-4.8.0`. -\note OpenCV 4.6.0 win pack installer doesn't contain prebuild OpenCV libraries build with -Visual Studio 17 2022. It contains only prebuild libraries build with previous Visual Studio version -(vc14 and vc15). That's why we need to build OpenCV from source. +\note OpenCV 4.8.0 win pack installer doesn't contain prebuild OpenCV libraries build with +Visual Studio 17 2022. It contains only prebuild libraries build with Visual Studio 16 2019 +(vc16). That's why we need to build OpenCV from source. 2. Build OpenCV from source - Create a build directory \verbatim -C:\> cd %VISP_WS%\3rdparty\opencv-4.6.0 +C:\> cd %VISP_WS%\3rdparty\opencv-4.8.0 C:\> mkdir build-vc17 C:\> cd build-vc17 \endverbatim - Run CMake in build directory (here the generator is chosen for Visual Studio 17 2022) and installation dir is set -to the existing folder `%%VISP_WS%\3rdparty\opencv-4.6.0\build`: +to the existing folder `%%VISP_WS%\3rdparty\opencv-4.8.0\build`: \verbatim -C:\> cmake -G "Visual Studio 17 2022" -A "x64" ..\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\opencv-4.6.0\build \ - -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF +C:\> cmake -G "Visual Studio 17 2022" -A "x64" ..\sources -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\opencv-4.8.0\build -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF \endverbatim - Build and install OpenCV using release and debug configuration respectively (installation doesn't need administrator privileges) @@ -154,15 +153,15 @@ Now you have to complete OpenCV installation setting some environment vars: - In order that ViSP detects OpenCV you have to set `OpenCV_DIR` environment variable. Start up a `cmd` Command Prompt and enter: \verbatim -C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.6.0\build" +C:\> setx OpenCV_DIR "%VISP_WS%\3rdparty\opencv-4.8.0\build" C:\> exit \endverbatim -where `%%VISP_WS%\3rdparty\opencv-4.6.0\build` is where you have installed OpenCV. Inside this folder you should +where `%%VISP_WS%\3rdparty\opencv-4.8.0\build` is where you have installed OpenCV. Inside this folder you should have a file named `OpenCVConfig.cmake`. - You have also to add the location of OpenCV libraries corresponding to Visual Studio 17 2022 usage in the `Path` environment variable. Open the "Edit environment variable" UI, and modify `Path` to add a new -line with `%%VISP_WS%\3rdparty\opencv-4.6.0\build\x64\vc17\bin`. +line with `%%VISP_WS%\3rdparty\opencv-4.8.0\build\x64\vc17\bin`. \subsubsection install_win11_msvc17_3rdparty_eigen Eigen3 3rd party @@ -186,8 +185,7 @@ C:\> cd build-vc17 - Run CMake in build directory (here the generator is chosen for Visual Studio 17 2022 and installation folder is set to `%%VISP_WS%\3rdparty\eigen-3.4.0\build-vc17\install` folder): \verbatim -C:\> cmake -G "Visual Studio 17 2022" -A "x64" .. \ - -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\eigen-3.4.0\build-vc17\install +C:\> cmake -G "Visual Studio 17 2022" -A "x64" .. -DCMAKE_INSTALL_PREFIX=%VISP_WS%\3rdparty\eigen-3.4.0\build-vc17\install \endverbatim - Build and install Eigen3 (installation doesn't need administrator privileges) \verbatim @@ -209,6 +207,25 @@ Inside the folder `%%VISP_WS%\3rdparty\eigen-3.4.0\build-vc17\install\share\eige named `Eigen3Config.cmake`. - There is no need to set `Path` environment var since Eigen3 is a template that has no library. +\subsubsection install_win11_msvc17_3rdparty_realsense librealsense 3rd party + +I you have an Intel RealSense Depth camera (SR300 or D400 series), you may install librealsense 2.x in order to use +vpRealSense2 class. Otherwise you can skip this section. + +1. Install Intel Realsense SDK 2.0 + +Intel Realsense SDK 2.0 contains librealsense. To install this SDK: +- Go to https://github.com/IntelRealSense/librealsense/releases +- Download `Intel.RealSense.SDK-WIN10-.exe` corresponding to the last Intel Realsense SDK 2.0 release. +At the time this tutorial was written, we downloaded `Intel.RealSense.SDK-WIN10-2.54.1.5216.exe`. +- Execute `Intel.RealSense.SDK-WIN10-.exe` and follow default installation steps. + +2. Complete Intel Realsense SDK 2.0 installation + +To finalize the installation, add the location of `realsense2.dll` library in the `Path` environment variable. +Open the "Edit environment variable" UI, and modify `Path` to add a new line with +`C:\Program Files (x86)\Intel RealSense SDK 2.0\bin\x64`. + \subsubsection install_win11_msvc17_3rdparty_json JSON 3rd party JSON for modern C++ installation, can either be done from source @@ -295,13 +312,11 @@ CMake Warning at CMakeLists.txt:1156 (message): At this point, you should no more see the warning. - Click then on "Configure" button. All the red lines should disappear. -\image html img-cmake-win11-msvc17-visp-config2.jpg \note The default configuration lead to the creation of a shared library (with `.dll` extension). This is the default configuration that is recommended. If you want to create rather a static library (with `.lib` extension) you have to uncheck the `BUILD_SHARED_LIBS` option to disable DLL creation. - To finish the configuration, click on "Generate" button. -\image html img-cmake-win11-msvc17-visp-generate.jpg - Once the generation is done, in `%%VISP_WS%/visp-build-vc17` folder you have the Visual Studio `VISP.sln` generated solution file. @@ -331,7 +346,7 @@ subfolders respectively. \image html img-win11-msvc17-visp-explorer-install.jpg - Note that you can also build ViSP in `Debug` configuration. In that case, all the library names are suffixed -by "d" character (`libvisp_core340d.dll`...). +by "d" character (`libvisp_core351d.dll`...). \subsection install_win11_msvc17_build_visp_doc Build ViSP documentation