Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

How to generate libopencv_javaxxx.so files instead of dylibs on a mac?

$
0
0
I am using opencv in my java app. I was able to build opencv native libs using `-DCMAKE_BUILD_TYPE=RELEASE -DBUILD_opencv_java=ON` but it ended up generating .dylibs on my mac. That works great locally but doesn't work in production. The prod system is looking for a `.so` instead I tried turning shared libs off `-DBUILD_SHARED_LIBS=OFF` but that doesn't seem to generate a .so Renaming .dylib to .so doesn't work. Anyone know how I can generate a .so instead? Would using docker linux image to build opencv instead of my mac generate `.so` instead?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>