testing examples - they segfault
This commit is contained in:
parent
52c7c68995
commit
6e26787c8a
4
build.rs
4
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");
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#![allow(unused_variables)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use mediapipe::*;
|
||||
|
||||
mod examples {
|
||||
use super::*;
|
||||
use opencv::prelude::*;
|
||||
|
|
Loading…
Reference in New Issue
Block a user