fn find_libraries_in_existing_installation<P: AsRef<Path>>(path: P) -> Vec<PathBuf> {
    let deployment_tools = dir(path).join("deployment_tools");
    let openvino_libraries = deployment_tools.join("inference_engine/lib/intel64");
    let tbb_libraries = deployment_tools.join("inference_engine/external/tbb/lib");
    let ngraph_libraries = deployment_tools.join("ngraph/lib");
    vec![openvino_libraries, tbb_libraries, ngraph_libraries]
}
/// Given a path to an OpenVINO installation (e.g. https://docs.openvinotoolkit.org/latest/openvino_docs_install_guides_installing_openvino_apt.html),
/// find the paths to the necessary libraries and add them to the library search path.
/// It would be preferable to use pkg-config here to retrieve the libraries when they are
/// installed system-wide but there are issues:
///  - OpenVINO does not install itself a system library, e.g., through ldconfig.
///  - OpenVINO relies on a `plugins.xml` file for finding target-specific libraries
///    and it is unclear how we would discover this in a system-install scenario.
Given a path to an OpenVINO installation ,
find the paths to the necessary libraries and add them to the library search path.
It would be preferable to use pkg-config here to retrieve the libraries when they are
installed system-wide but there are issues:
OpenVINO does not install itself a system library, e.g., through ldconfig.
OpenVINO relies on a `plugins.xml` file for finding target-specific libraries
and it is unclear how we would discover this in a system-install scenario.
Given a path to an OpenVINO installation find the paths to the necessary libraries and add them to the library search path . It would be preferable to use pkg - config here to retrieve the libraries when they are installed system - wide but there are issues : OpenVINO does not install itself a system library e . g . through ldconfig . OpenVINO relies on a ` plugins . xml ` file for finding target - specific libraries and it is unclear how we would discover this in a system - install scenario .
fn find_libraries_in_existing_installation<P: AsRef<Path>>(path: P) -> Vec<PathBuf> {
    let deployment_tools = dir(path).join("deployment_tools");
    let openvino_libraries = deployment_tools.join("inference_engine/lib/intel64");
    let tbb_libraries = deployment_tools.join("inference_engine/external/tbb/lib");
    let ngraph_libraries = deployment_tools.join("ngraph/lib");
    vec![openvino_libraries, tbb_libraries, ngraph_libraries]
}
fn find_libraries_in_existing_installation < P : AsRef < Path > > ( path : P ) -> Vec < PathBuf > { let deployment_tools = dir ( path ) . join ( " " ) ; let openvino_libraries = deployment_tools . join ( " " ) ; let tbb_libraries = deployment_tools . join ( " " ) ; let ngraph_libraries = deployment_tools . join ( " " ) ; vec ! [ openvino_libraries tbb_libraries ngraph_libraries ] }
Given a path to an OpenVINO installation (e.g.
Given a path to an OpenVINO installation ( e . g .
path
P
path
P