- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We succeeded building OpenVino inference-engine on debian with some modification.
We had a trouble in building OpenVino inference-engine from the source files on debian.
Finally we succeeded after simple modification to CMakeLists.txt
---
diff --git a/inference-engine/CMakeLists.txt b/inference-engine/CMakeLists.txt index 0d449c94..35a4288e 100644 --- a/inference-engine/CMakeLists.txt +++ b/inference-engine/CMakeLists.txt @@ -13,6 +13,8 @@ project(InferenceEngine) set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) set(IE_MAIN_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) +set(CMAKE_CXX_VISIBILITY_PRESET hidden) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=attributes") include(CTest) include(features)
---
If ` -Wno-error=attributes` was not given,
C++ compiler stop compiling the source code.
Katsunori
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Waragai, Katsunori,
This is great news. Thanks for sharing with the OpenVino community ! There was a dldt github issue about the same topic. Maybe it was you ? In any case, thanks a lot for sharing your findings with the OpenVino community. It helps a lot !
Shubha
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page