Skip to content

Build opencv winpack dldt#16847

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:build_opencv_winpack_dldt
Mar 27, 2020
Merged

Build opencv winpack dldt#16847
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:build_opencv_winpack_dldt

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Mar 19, 2020

Build package with OpenCV and DLDT.

Details are below...

Build prerequisites:

  • Python 3.5+
  • CMake
  • Git Bash
  • MSVS 2019 (buildtools is enough)

Launch prerequisites:

Build steps:

  • create build directory (~10 Gb is required)
  • from build directory run python <opencv_src>/platforms/winpack_dldt/build_package.py
  • check package directory
  • sanity test:
.\package\opencv\build\setup_vars_opencv3.cmd python .\package\opencv\src\opencv\platforms\winpack_dldt\package-tests\test_dnn_backends.py

Notes:

  • TBB parallel backend is used (from IE)

TODO:

  • verify package contents
  • verify applications build with MSVS 2019 and older (MSVS 2015 / 2017)
  • verify debug process (of release binaries)
  • check samples "run" scripts (fixed build: adapt samples scripts for winpack DLDT package #16938)
  • add opencv .PDBs
  • --build_test
  • SKIP: package dldt sources?
  • backlog: debug binaries?
  • drop 32-bit ffmpeg binary
  • SKIP: drop preview/debug tbb files
**WIP**
force_builders=Docs
build_image:Custom Win=winpack-dldt-2020.1-debug

Copy link
Copy Markdown
Contributor

@mshabunin mshabunin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have dldt compilation problem with latest MSVC 2019:

C:\work\.build_cache\dldt-2020.1\sources\inference-engine\src\inference_engine\ie_plugin_dispatcher.cpp(16,35): error C
4996: 'InferenceEngine::PluginDispatcher': Use InferenceEngine::Core instead which dispatches plugin automatically.Will
 be removed in 2020 R2 [C:\work\.build_cache\dldt-2020.1\build\inference-engine\src\inference_engine\inference_engine_o
bj.vcxproj]

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Mar 27, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants