Skip to content

[openvino] openvino/2025.3.0: package_info generates the wrong library names for a Windows debug build #28558

@ccaughie-oe

Description

@ccaughie-oe

Description

When building openvino for Windows in debug mode, the built libraries all have a "d" suffix. This is not reflected in the library names output by the conanfile's package_info method, so consumers are not able to find the libraries.

Package and Environment Details

  • Package Name/Version: openvino/2025.3.0
  • Operating System+version: Windows
  • Compiler+version: Visual Studio
  • Docker image: n/a
  • Conan version: conan 2.21.0
  • Python version: Python 3.10.11

Conan profile

[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.version=192
os=Windows

Steps to reproduce

conan install . -s build_type=Debug

(from a project that has openvino as a dependency)

Logs

Click to expand log
-- Conan: Target declared 'PNG::PNG'
-- Conan: Including build module from 'C:/Users/mmedved/.conan2/p/b/opencv92582681092c6/p/lib/cmake/conan-official-opencv-variables.cmake'
-- Conan: Component target declared 'openvino::runtime'
-- Conan: Component target declared 'openvino::runtime:c'
-- Conan: Component target declared 'openvino::frontend:pytorch'
-- Conan: Component target declared 'openvino::frontend::tensorflow_lite'
-- Conan: Component target declared 'openvino::openvino'
CMake Error at C:/Users/mmedved/.conan2/p/b/trio9ed162376bb72/b/build/generators/cmakedeps_macros.cmake:81 (message):
  Library 'openvino::tensorflow_lite_frontend' not found in package.  If
  'openvino::tensorflow_lite_frontend' is a system library, declare it with
  'cpp_info.system_libs' property
Call Stack (most recent call first):
  C:/Users/mmedved/.conan2/p/b/trio9ed162376bb72/b/build/generators/OpenVINO-Target-debug.cmake:23 (conan_package_library_targets)
  C:/Users/mmedved/.conan2/p/b/trio9ed162376bb72/b/build/generators/OpenVINOTargets.cmake:24 (include)
  C:/Users/mmedved/.conan2/p/b/trio9ed162376bb72/b/build/generators/OpenVINOConfig.cmake:16 (include)
  CMakeLists.txt:629 (find_package)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions