- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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 copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora