Shipping binary with external dependencies

⚓ rust    📅 2025-05-27    👤 surdeus    👁️ 3      

surdeus

Warning

This post was published 33 days ago. The information described in this article may have changed.

Hi. I need some kind of template matching in my app, so i have to ship it with opencv library.
However my target audience probably will not have that on their computers.
My first guess was creating installer/script that will install it on their machine, but as i said they are not tech guys and it might look scary for them.
So my second guess is shipping binary with my own pre-built opencv library.

But it sounds really complicated as i have to build all opencv's deps statically and build opencv itself (statically or dynamically i probably don't care) and i don't really have experience doing that. So that's a lot of things to do as i have to cross compile all opencv's deps.

Is it how we do that or is there better way?

1 post - 1 participant

Read full topic

🏷️ rust_feed