Answer the question
In order to leave comments, you need to log in
Running C++ Linux library with OpenCV on another computer
Hello, such a problem:
we wrote a small program in C ++ for Linux using OpenCV 2.2. It is required to send it to the customer in the form of a library. We want to make it so that you do not need to install OpenCV on another computer.
We tried to put .so libraries side by side, but there were problems with a large number of dependencies.
Tried to statically link open libraries, but also without success.
Surely someone faced a similar problem? I would be grateful for any information.
Here is my question on Stack Overflow:
stackoverflow.com/questions/7192370/how-to-run-c-library-with-opencv-on-the-other-computer-linux
Answer the question
In order to leave comments, you need to log in
what is windows way?
'put required libraries' is 'installation', what's the problem? the required version is not in the repository on the remote computer? find or assemble your assembly for the version of that OS and transfer it along with your program, if on the other hand they are afraid that your assembly will destroy something - let them install the libraries and the program in a chroot copy of themselves, you can write the scripts for this case from a couple of commands yourself ( sudo cp -rx / / chroot; sudo chroot / chroot; ... although not, creating a copy of the system is still a question, it is better to write a list of directories that are guaranteed to belong to the system instead of cp -xr), but then, it seems to me, a perversion of
ps if on a remote computer drivers are not installed, then nothing will work ... you will have to install them without options.
pps ask them about the type of video card on the other side and prepare your demo distribution in the form of an iso file (fortunately, with opencl support, this is either ati, or nvidia, or occasionally intel), and almost any user can burn a CD and run it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question