Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate ndarray-vision #50

Open
vadixidav opened this issue Jan 20, 2022 · 3 comments
Open

Integrate ndarray-vision #50

vadixidav opened this issue Jan 20, 2022 · 3 comments

Comments

@vadixidav
Copy link
Member

ndarray-vision is where ndarray-based image processing algorithms belong. Currently, the akaze crate does several image processing tasks on its own (fast explicit diffusion, schar filters, etc). We should move these algorithms into ndarray-vision and add it into the mono-repo.

@YouRik
Copy link

YouRik commented Jan 28, 2022

I started looking into this and am now having build problems early on.
What I have done so far: YouRik@7dbcf61

  • Added ndarray-vision into the project and the ./Cargo.toml workspaces.
  • This lead to build issues since the intel-mkl backend for ndarray-linalg was not found on my system. So I changed it in ./ndarray-vision/Cargo.toml to openblas-system which worked.
  • Then I changed the ndarray-vision dependency of ./cv/Cargo.toml to the local version: ndarray-vision = { optional = true, version = "0.3.0", path = "../ndarray-vision" }
  • This once again resulted in build errors, this time related to the tutorial codes. Apparently the linker can't find openblas when building the tutorials, however, the dependency actually comes from ndarray-linalg which builds fine. This is what I don't understand. My openblas is installed in /opt/homebrew/opt/openblas/lib which seems to be picked up correctly for everything except the tutorials which spit out a warning and subsequent build failure because for some reason they want it in /usr/local/opt/openblas/lib.
Full build log (with only one of the tutorials enabled). Click to expand.
     ~/Documents/OSS_Contribution/rust-cv/cv     integrate-ndarray-vision !1  cargo build                                                                                                                               ✔  08:20:29   
   Compiling autocfg v1.0.1
   Compiling libc v0.2.115
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.36
   Compiling unicode-xid v0.2.2
   Compiling libm v0.2.1
   Compiling syn v1.0.86
   Compiling serde_derive v1.0.136
   Compiling serde v1.0.136
   Compiling version_check v0.9.4
   Compiling ppv-lite86 v0.2.16
   Compiling rawpointer v0.2.1
   Compiling bytemuck v1.7.3
   Compiling lazy_static v1.4.0
   Compiling crossbeam-utils v0.8.6
   Compiling typenum v1.15.0
   Compiling either v1.6.1
   Compiling paste v1.0.6
   Compiling crossbeam-epoch v0.9.6
   Compiling rayon-core v1.9.1
   Compiling scopeguard v1.1.0
   Compiling memchr v2.4.1
   Compiling doc-comment v0.3.3
   Compiling sample-consensus v1.0.2
   Compiling convert_case v0.4.0
   Compiling crc32fast v1.3.1
   Compiling getrandom v0.1.16
   Compiling bitflags v1.3.2
   Compiling adler32 v1.2.0
   Compiling float-ord v0.3.2
   Compiling byteorder v1.4.3
   Compiling adler v1.0.2
   Compiling log v0.4.14
   Compiling weezl v0.1.5
   Compiling once_cell v1.9.0
   Compiling color_quant v1.1.0
   Compiling serde_json v1.0.78
   Compiling ucd-trie v0.1.3
   Compiling matrixmultiply v0.1.15
   Compiling hamming v0.1.3
   Compiling smallvec v1.8.0
   Compiling scoped_threadpool v0.1.9
   Compiling ttf-parser v0.6.2
   Compiling rawpointer v0.1.0
   Compiling primal-estimate v0.3.1
   Compiling ryu v1.0.9
   Compiling ab_glyph_rasterizer v0.1.5
   Compiling semver v1.0.4
   Compiling pulldown-cmark v0.8.0
   Compiling itoa v1.0.1
   Compiling custom_derive v0.1.7
   Compiling fastrand v1.7.0
   Compiling same-file v1.0.6
   Compiling arrayvec v0.7.2
   Compiling remove_dir_all v0.5.3
   Compiling unicode-width v0.1.9
   Compiling unicode-segmentation v1.8.0
   Compiling glob v0.3.0
   Compiling bytecount v0.6.2
   Compiling vec_map v0.8.2
   Compiling peg-runtime v0.6.3
   Compiling strsim v0.8.0
   Compiling ansi_term v0.12.1
   Compiling quick-error v1.2.3
   Compiling regex-syntax v0.6.25
   Compiling header-vec v0.1.2
   Compiling linked-hash-map v0.5.4
   Compiling termcolor v1.1.2
   Compiling maplit v1.0.2
   Compiling pathdiff v0.2.1
   Compiling matrixmultiply v0.3.2
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling num-rational v0.4.0
   Compiling memoffset v0.6.5
   Compiling num-iter v0.1.42
   Compiling rayon v1.5.1
   Compiling num-bigint v0.3.3
   Compiling miniz_oxide v0.4.4
   Compiling num-rational v0.3.2
   Compiling indexmap v1.8.0
   Compiling ahash v0.7.6
   Compiling unicase v2.6.0
   Compiling proc-macro-error-attr v1.0.4
   Compiling error-chain v0.12.4
   Compiling proc-macro-error v1.0.4
   Compiling slotmap v1.0.6
   Compiling safe_arch v0.6.0
   Compiling itertools v0.9.0
   Compiling itertools v0.10.3
   Compiling miniz_oxide v0.3.7
   Compiling deflate v0.8.6
   Compiling gif v0.11.3
   Compiling primal-bit v0.3.0
   Compiling pest v2.1.3
   Compiling conv v0.3.3
   Compiling walkdir v2.3.2
   Compiling textwrap v0.11.0
   Compiling owned_ttf_parser v0.6.0
   Compiling heck v0.3.3
   Compiling humantime v1.3.0
   Compiling open v2.0.2
   Compiling wide v0.7.4
   Compiling primal-sieve v0.3.1
   Compiling semver-parser v0.10.2
   Compiling rusttype v0.9.2
   Compiling easy-cast v0.4.4
   Compiling getrandom v0.2.4
   Compiling num_cpus v1.13.1
   Compiling cblas-sys v0.1.4
   Compiling atty v0.2.14
   Compiling lapack-sys v0.12.1
   Compiling tempfile v3.3.0
   Compiling dirs-sys v0.3.6
   Compiling quote v1.0.15
   Compiling crossbeam-channel v0.5.2
   Compiling aho-corasick v0.7.18
   Compiling png v0.16.8
   Compiling rustc_version v0.4.0
   Compiling rand_core v0.6.3
   Compiling clap v2.34.0
   Compiling rand_core v0.5.1
   Compiling dirs v3.0.2
   Compiling approx v0.5.1
   Compiling space v0.17.0
   Compiling approx v0.4.0
   Compiling num-complex v0.3.1
   Compiling noisy_float v0.2.0
   Compiling average v0.13.1
   Compiling peg-macros v0.6.3
   Compiling regex v1.5.4
   Compiling rand_chacha v0.3.1
   Compiling rand_xoshiro v0.6.0
   Compiling arrsac v0.9.0
   Compiling hashbrown v0.11.2
   Compiling rand_chacha v0.2.2
   Compiling openblas-src v0.10.4
   Compiling crossbeam-deque v0.8.1
   Compiling levenberg-marquardt v0.11.1
   Compiling primal-check v0.3.1
   Compiling rand v0.8.4
   Compiling hnsw v0.11.0
   Compiling rand v0.7.3
   Compiling env_logger v0.7.1
   Compiling num v0.1.42
   Compiling primal v0.3.0
   Compiling peg v0.6.3
   Compiling rand_distr v0.4.3
   Compiling pretty_env_logger v0.4.0
   Compiling rand_distr v0.2.2
   Compiling rulinalg v0.4.2
   Compiling num v0.3.1
   Compiling nalgebra-macros v0.1.0
   Compiling derive_more v0.99.17
   Compiling thiserror-impl v1.0.30
   Compiling structopt-derive v0.4.18
   Compiling jpeg-decoder v0.1.22
   Compiling tiff v0.6.1
   Compiling structopt v0.3.26
   Compiling thiserror v1.0.30
   Compiling image v0.23.14
   Compiling imageproc v0.22.0
   Compiling cargo-platform v0.1.2
   Compiling semver v0.11.0
   Compiling num-complex v0.4.0
   Compiling bitarray v0.9.3
   Compiling hgg v0.4.1
   Compiling bincode v1.3.3
   Compiling hamming-dict v0.5.0
   Compiling simba v0.6.0
   Compiling ndarray v0.15.4
   Compiling cauchy v0.4.0
   Compiling lapack v0.18.0
   Compiling hamming-lsh v0.3.2
   Compiling cargo_metadata v0.12.3
   Compiling lax v0.2.0
   Compiling skeptic v0.13.6
   Compiling ply-rs v0.1.3
   Compiling nshare v0.8.0
   Compiling ndarray-stats v0.5.0
   Compiling ndarray-linalg v0.14.1
   Compiling ndarray-vision v0.3.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/ndarray-vision)
   Compiling nalgebra v0.29.0
   Compiling cv-core v0.15.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/cv-core)
   Compiling cv-pinhole v0.6.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/cv-pinhole)
   Compiling akaze v0.7.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/akaze)
   Compiling cv-geom v0.7.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/cv-geom)
   Compiling lambda-twist v0.7.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/lambda-twist)
   Compiling cv-optimize v0.1.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/cv-optimize)
   Compiling eight-point v0.8.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/eight-point)
   Compiling nister-stewenius v0.1.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/nister-stewenius)
   Compiling kpdraw v0.1.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/kpdraw)
   Compiling cv-sfm v0.1.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/cv-sfm)
   Compiling cv v0.6.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/cv)
   Compiling chapter2-first-program v0.1.0 (/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/tutorial-code/chapter2-first-program)
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-arch" "arm64" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/chapter2_first_program-98559390fa4bbe23.5c3lb01em7a60qts.rcgu.o" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/chapter2_first_program-98559390fa4bbe23.fz6fzjuau0i9o4o.rcgu.o" "-L" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps" "-L" "/usr/local/opt/openblas/lib" "-L" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libopen-4dd38355fd803d2e.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libtempfile-061ea1647f2b593b.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libfastrand-c5b91a105c5d6909.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libremove_dir_all-65d7ef5c9ab8c221.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcv-dbb524e68d987e6e.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblevenberg_marquardt-c9440ad9e3ee1f59.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libhnsw-6cc94482f0728fe9.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblibm-937112a2d0d360ba.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libndarray_vision-5042b06435b8f189.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libndarray_linalg-2fe8604afac7e8de.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblax-ee581bd95c7805ef.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblapack-8f5fc201a6d7da4d.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblapack_sys-2ba68df735c22215.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcauchy-25a40f7285170626.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libthiserror-430af4525cc1436d.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libopenblas_src-d08d9452727ca2e8.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libndarray_stats-644ba17e2eb6ae4c.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libindexmap-9b72129ad7f55224.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libhashbrown-f042753c08647650.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libahash-ae507b0a105a9bde.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libonce_cell-eca5e88f9c4f69d5.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libitertools-2d6cbff46b204e45.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnoisy_float-ee4e24647d279668.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libimageproc-22067cdc7c144721.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand_distr-5e4d708c050c6e1a.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand-09608161aa65ec40.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand_chacha-9c5f9e13b54d31f8.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand_core-caf76b545cd7581e.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libgetrandom-229c89eb67128631.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librulinalg-a1e588b8ff62de5a.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libmatrixmultiply-c2a546763f1b1cfd.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librawpointer-e7e554c6c4990f65.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum-30e84eb785c692af.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librusttype-fa6ed8a1d1446b90.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libab_glyph_rasterizer-42a59d206fbe926b.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libowned_ttf_parser-4d385f4a2d7679eb.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libttf_parser-a2ecf475679a618d.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libconv-13cc44134f99a6aa.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcustom_derive-18ca32319755a377.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum-f885fb2e736cc6e5.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_complex-ce4e087ebd1f69c7.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libitertools-a9843d142e17160e.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libakaze-4e05741324b08c5a.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libprimal-309dd448f92f9af7.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libprimal_sieve-5dfe529116902d52.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libsmallvec-7970610295d48eb1.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libprimal_bit-9ea51b29501e9fe5.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libhamming-d39142efdbc97d92.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libprimal_check-90a2c3b7ff3df7df.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libprimal_estimate-746f26dccf85d538.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnshare-6cf77597200fcdef.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libimage-5acab2fac538bdce.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libpng-bce083c16980eeaa.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libminiz_oxide-2a86c3aca874dd52.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcrc32fast-6a16573e33b6dac4.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libdeflate-fa58038c17e4dee5.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libadler32-7ea50b67ed77acfb.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libbitflags-4b6d3e3b1a8a2255.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_iter-2cb890940dc252d5.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libscoped_threadpool-9f61c8993e9bd26b.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_rational-b0942b5ad934d378.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_bigint-85e1c8afaf7f5881.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libgif-e56a6b76eed3a18a.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcolor_quant-091092abd67f14ed.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libbyteorder-b685c83bab75e7ec.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libtiff-b1afdfeba1c5ee91.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libweezl-a4517c3212e46227.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libminiz_oxide-4cd7ce2013f98ac2.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libadler-c83355ec21f8b64e.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libjpeg_decoder-469db67a36234bbc.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librayon-ec0fdeccff58f44b.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librayon_core-af194462c42d4193.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_cpus-f44292e3407a964d.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcrossbeam_deque-653385c3d37752f3.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcrossbeam_epoch-512f504fd7492fd7.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libmemoffset-63921921646135d7.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libscopeguard-ec0bba5a5f53f548.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcrossbeam_channel-88f00b56532ee42b.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcrossbeam_utils-1250e71333c25acc.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblazy_static-84f038ec69cd908c.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libeither-9ce6210bd7b80ea9.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libndarray-0ded483c3047f36e.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libapprox-0cc3936557c17fe5.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcblas_sys-9fbac13c1957f694.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblog-3423e6b5f5bf5494.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnister_stewenius-c4ea0530e79b4e07.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblambda_twist-76da8f4db98ef864.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libeight_point-0c87b5b29118490f.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libarrayvec-d0517d7fa61848ed.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcv_geom-1516e2baf002637c.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libarrsac-1ef136a78028c5dd.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcv_pinhole-096ea24a5019d1b9.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libfloat_ord-ab62dea23fb3e1e8.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libbitarray-d40370f34814d65c.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libspace-55d57b51264e87b0.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libdoc_comment-c9def8c1599340f1.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcv_core-c3d03c62e3e4258c.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libsample_consensus-6822c40041264881.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnalgebra-48eea74c9f631085.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand_distr-077560cc77eca6ee.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libmatrixmultiply-ae1d86bff272cc28.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librawpointer-e38139202df8004e.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_rational-0c9cfeb64f9cb951.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_integer-39a06f6ab9cb4815.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libtypenum-6a99e989cb4c7898.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libsimba-2888591484190193.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libwide-0091495f94bfa81c.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libbytemuck-27e253f100c23c3f.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libsafe_arch-69e460652b722f76.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_complex-39df652e7ff6e877.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libapprox-408da15ec599ff3c.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libnum_traits-ad71f0c46d6acc8f.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libserde-c85a082ab0c4e15b.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand-de79e03034e1e0e7.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand_chacha-542d916cae52d891.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libppv_lite86-21b0d88b1fe3f556.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/librand_core-40abd37dd3c62091.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libgetrandom-91b9e5b658a62110.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/liblibc-9ea7b47afd6b8420.rlib" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/libcfg_if-4a5ec092ee477d4e.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-30760f0676b4a0cb.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-128bf621675179b5.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-e3c2e7d06a0eb593.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-979ed69233e4feef.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-31a996825442073f.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-0a6b0aae1c45f58b.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-3760f555626b9fdb.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-025c156c0170bf7c.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-9fb3325867b89a93.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-53487701d347ed91.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-619a2ff2f594bf80.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-8d4f06fae73533d8.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0224867dea00ee30.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-7a08c2dd395a8174.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-0d72239135eb113c.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-64596866e8fcd459.rlib" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-9fedd1ca092b15a8.rlib" "-lopenblas" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/jurik/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/Users/jurik/Documents/OSS_Contribution/rust-cv/cv/target/debug/deps/chapter2_first_program-98559390fa4bbe23" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: ld: warning: directory not found for option '-L/usr/local/opt/openblas/lib'
          ld: library not found for -lopenblas
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          

error: could not compile `chapter2-first-program` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

@vadixidav
Copy link
Member Author

First and foremost, we should make sure ndarray-vision can be built entirely without any dependency on C libraries to be integrated. See if you can investigate which specific things it is depending on blas for and if we can make those features optional. If we can't get ndarray-vision building without C libraries, then I would prefer not to integrate it yet.

@xd009642
Copy link
Member

Ndarray-linalg is only used on the transform module iirc so you can disable default features and enable all other features to remove it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants