Skip to content

Instantly share code, notes, and snippets.

@sheimi
Created November 9, 2014 05:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sheimi/ef9ce7130b2fa98d726c to your computer and use it in GitHub Desktop.
Save sheimi/ef9ce7130b2fa98d726c to your computer and use it in GitHub Desktop.
code in blog.sheimi.me: 2012-09-05-a-summary-of-using-jni (4)
g++ -m64 -shared -fPIC cvjni.cpp /usr/local/lib/libopencv_core.so \
/usr/local/lib/libopencv_highgui.so -o libcvjni.so \
-I/usr/local/include -I/usr/lib/jvm/jdk1.6.0_35/include \
-I/usr/lib/jvm/jdk1.6.0_35/include/linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment