-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnsatisfiedLinkError for new Mat() on V0.9 #28
Comments
The ADT plugin for Eclipse is pretty buggy. Project files can easily get corrupted. Please try to recreate the project files from scratch. |
The forth post of this issue discussion solved my problem: Maybe this will help someone in the future, or solve this issue all together.. |
That's strange, I thought I had fixed that issue, since I didn't get any feedback from anyone: Thanks for the workaround, and please let me know if you figure out how to fix this, thanks! |
I got the same error if import org.bytedeco.javacpp.opencv_core.*;
public class NewMatDemo {
public static void main(String[] args) {
Mat image = new Mat();
}
} Running above results in exception:
However, if I do some other OpenCV function first, it will not happen, for instance: import org.bytedeco.javacpp.opencv_core.Mat;
import static org.bytedeco.javacpp.opencv_highgui.imread;
public class NewMatDemo {
public static void main(String[] args) {
imread("data/church01.jpg");
Mat image = new Mat();
}
} runs just fine. I am running current build of javacv 2.4.9_0.9.1-SNAPSHOT. |
…Mat`, among others ([issue javacv:9](bytedeco/javacv#9) and [issue javacv:28](bytedeco/javacv#28))
Now it should be fixed in version 0.10. Let me know if you still encounter that issue for some reason, thanks! |
Hello,
I don't get javacv to work on my android, despite following all instructions on how to install javacv..
(https://github.com/bytedeco/javacv#manual-installation-for-opencv-and-ffmpeg)
The first time I'm accessing the c++ API, this will happen:
java.lang.UnsatisfiedLinkError: Native method not found: org.bytedeco.javacpp.opencv_core$Mat.allocate:()
Are there any suggestions?
Thank you.
The text was updated successfully, but these errors were encountered: