From 6e26787c8aaf65955c93a9c403d31459aff4ce82 Mon Sep 17 00:00:00 2001 From: Jules Youngberg Date: Mon, 6 Jun 2022 22:41:14 -0700 Subject: [PATCH] testing examples - they segfault --- build.rs | 4 ++-- examples/hello.rs | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 536ce13..8ee88f0 100644 --- a/build.rs +++ b/build.rs @@ -3,8 +3,8 @@ extern crate bindgen; use std::path::PathBuf; fn main() { - println!("cargo:rustc-link-lib=stdc++"); - println!("cargo:rustc-link-lib=opencv4"); + // println!("cargo:rustc-link-lib=stdc++"); + // println!("cargo:rustc-link-lib=opencv4"); println!("cargo:rustc-link-lib=mediagraph"); // println!("cargo:rerun-if-changed=wrapper.h"); diff --git a/examples/hello.rs b/examples/hello.rs index bda4df1..8e99664 100644 --- a/examples/hello.rs +++ b/examples/hello.rs @@ -1,6 +1,8 @@ #![allow(unused_variables)] #![allow(dead_code)] +use mediapipe::*; + mod examples { use super::*; use opencv::prelude::*;