- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,guys
I met one issue that when used QT 5.12.2 compile OpenVINO2023 with error .In .pro file I set up environment :
LIBS += -L$$quote(C:\Program Files (x86)\Intel\openvino_2023.1\runtime\3rdparty\tbb\lib) \
-ltbb \ -ltbb12 \ -ltbbbind_2_5 \ -ltbbmalloc \ -ltbbmalloc_proxy
LIBS += -L$$quote(C:\Program Files (x86)\Intel\openvino_2023.1\runtime\lib\intel64\Release) \ -lopenvino \ -llibprotobuf-lite \ -lopenvino_pytorch_frontend \ -lopenvino_c \ -lopenvino_onnx_frontend
Then run code :
#include <openvino/openvino.hpp>
int main(int argc, char *argv[]) {
std::cout << ov::get_openvino_version() << std::endl;
return 0;
}
Compiled with QT :
C2127:ov::device::properties:illegal initialization of 'contexpr' entity with a non-constant expression,failure was because type ov::device::Properties is not a literal type.
C2127 error located in properties.hpp line 746,749.
C2051:case expression not constant.
C2127 error located in properties.hpp line 971,973.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi roc,
Thank you for reaching out to Intel Customer Support.
We are checking this out. Do you have a CMAKE script? If yes please share it with us.
Sincerely,
Zul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi roc,
Currently, we do not have any documentation on the Qt build for OpenVINO, and we cannot guarantee that it is going to work, but there is a discussion in StackOverflow that might interest you.
Sincerely,
Zulkifli
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your question. If you need any additional information from Intel, please submit a new question as this thread is no longer being monitored.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page