Ask Your Question
0

OpenCV 4.0 co-exist with OpenCV 3.x?

asked 2018-12-07 05:43:39 -0500

Martian gravatar image

OpenCV 4.0 would solve some problems on my current project, but 3.x was such a huge hassle to buid (Linux/C++) that I am hesitant to disrupt current installations. Has anyone built and run 4.0 along side an existing 3.0 version without getting into trouble?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-12-07 05:54:49 -0500

berak gravatar image

updated 2018-12-07 06:10:11 -0500

you can choose a custom install path with cmake, like:

cmake -DCMAKE_INSTALL_PREFIX=/home/martian/opencv4

then again, you have to run ldconfig (in the bin folder) there, so your project finds the correct so's later

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-12-07 05:43:39 -0500

Seen: 26 times

Last updated: Dec 07