1 / 15

How to build DLP 3d SDK with VS2015

How to build DLP 3d SDK with VS2015. TW FSE Frank Liu. Why change to VS2015 . PG library(2.9.3.43_x86) for original SDK is out of date and cannot download it from Pointgrey website. There is compiling error with new PG library.

jmartino
Download Presentation

How to build DLP 3d SDK with VS2015

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to build DLP 3d SDK with VS2015 TW FSE Frank Liu

  2. Why change to VS2015 • PG library(2.9.3.43_x86) for original SDK is out of date and cannot download it from Pointgrey website. There is compiling error with new PG library. • OpenCV in original SDK is v2.4.10. if wanting to use newer openCV version, there is many compilation error with old Mingw(4.8.2) compiler. • There is a lot of compilation error when compiling the DLP SDK with Mingw(4.8.2) on windows 10 OS. • VS2015 is common development platform.

  3. download • visual studio community 2015 • https://my.visualstudio.com/Downloads?q=Visual%20Studio%202015%20with%20Update%203 • opencv 3.1.0 • https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.1.0/ • Cmake 3.6.1 • https://cmake.org/files/v3.6/cmake-3.6.1-win64-x64.msi • 3rd party lib for opencv • Opencv_ffmpeg • https://raw.githubusercontent.com/Itseez/opencv_3rdparty/8aeefc4efe3215de89d8c7e114ae6f7a6091b8eb/ffmpeg/opencv_ffmpeg.dll • https://raw.githubusercontent.com/Itseez/opencv_3rdparty/8aeefc4efe3215de89d8c7e114ae6f7a6091b8eb/ffmpeg/opencv_ffmpeg_64.dll • https://raw.githubusercontent.com/Itseez/opencv_3rdparty/8aeefc4efe3215de89d8c7e114ae6f7a6091b8eb/ffmpeg/ffmpeg_version.cmake • ippicv • https://raw.githubusercontent.com/Itseez/opencv_3rdparty/81a676001ca8075ada498583e4166079e5744668/ippicv/ippicv_windows_20151201.zip • https://raw.githubusercontent.com/Itseez/opencv_3rdparty/81a676001ca8075ada498583e4166079e5744668/ippicv/ippicv_macosx_20151201.tgz • https://raw.githubusercontent.com/Itseez/opencv_3rdparty/81a676001ca8075ada498583e4166079e5744668/ippicv/ippicv_linux_20151201.tgz • [ ↓ ] FlyCapture 2.12.3.31 SDK - Windows (64-bit) — 06/20/2018 - 311.1456MB

  4. Cmakeopencv-1 1. Select build folder 2. Click “configure” It shows errors NO CMAKE_CXX_COMPILER_could_be_found. =>go to VS->select new project->visual C++=>install all item in below=>close VS =>go to Cmake, click “configure” again It shows errors again due to cannot download 3rd party lib. =>go next page

  5. Cmake Opencv-2: Copy 3rd party Lib • Put opencv_ffmpeg.dll to folder to folder sources\3rdparty\ffmpeg\downloads\89c783eee1c47bfc733f08334ec2e31c1 • Put opencv_ffmpeg_64.dll to folder sources\3rdparty\ffmpeg\downloads\35fe6ccdda6d7a04e9056b0d73b98e761 • Put ffmpeg_version.cmake to folder sources\3rdparty\ffmpeg\downloads\8606f947a780071f8fcce8cbf39ceef5 • WindowsOS,put ippicv_windows_20151201.zip to folder • sources\3rdparty\ippicv\downloads\windows-04e81ce5d0e329c3fbc606ae32cad44d

  6. Cmake Opencv-3 • Click “configure” again • It should be no error. • Enable BUILD_opencv_world • Copy ws2_32.lib to C:/windows/System32/ • Click “configure” again • It should be no error. • Click “generate”

  7. VS2015 Opencv • Open the C:/opencv-3.6.1-2/opencv.sln by vs2015 • Select batch build and only check INSTALL below. And Build. • After a while, it should be no error as below.

  8. VS2015 Opencv • Go to environment variable and paste the install path to PATH • Open new project->properties->linker->input

  9. C:\opencv-3.6.1-2\install\include C:\opencv-3.6.1-2\install\include\opencv C:\opencv-3.6.1-2\install\include\opencv2 C:\opencv-3.6.1-2\install\x64\vc14\lib

  10. opencv_world310d.lib opencv_world310d.lib opencv_ts310d.lib opencv_ts310.lib

  11. Build SDK • Same cmake process as opencv • Change the Cmakelists.txt • Lost link for WIN32_WS2_32_LIB • Wrong definition for ASIO in config.hpp \DLP-ALC-LIGHTCRAFTER-SDK\3rd_party\asio-1.10.4\include\asio\detail\config.hpp • \DLP-ALC-LIGHTCRAFTER-SDK\include\common\other.hpp • For LCR6500 • Change the DLP_SDK_config.cmake.in

  12. Build SDK-

  13. Cmakeconfig for app Release

  14. Build app • Add setupapi.lib to linker->input->additional dependencies: setupapi.lib

  15. reference Build open CV • https://blog.csdn.net/u013832707/article/details/53127710 Build SDK: • https://github.com/chriskohlhoff/asio/issues/35

More Related