-
Notifications
You must be signed in to change notification settings - Fork 156
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
Is very difficult execute flandmarks .dll + flandmark-demo #1
Comments
There is a simpler example here: |
I see ! But Don't you agree that I need an file .dll to solve this exception ? Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniflandmark in java.library.path This Exception ocurred when I tried to load the file model.dat in this simple line: I'm using the same library like your pom.xml: I don't know what I can to do :'( |
Follow the complete Exception Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniflandmark in java.library.path Caused by: java.lang.UnsatisfiedLinkError: no flandmark_static in java.library.path |
I follow the instructions, and it works just fine. To help you, I would need to reproduce the problem here on my machine. Please provide more details about what you are doing exactly. |
Ok. Thanks so much for your attention! Firstly I did the download from http://cmp.felk.cvut.cz/~uricamic/flandmark/
I Noticed that when I extracted the flandmark, The structure of folders is:
Project JAVA M2_REPO/org/bytedeco/javacpp-presets/flandmark/1.07-0.9/flandmark-1.07-0.9.jar * not has .dll into this .jar, just has JNI class The Simple Class When executed the method main : I suppose that We needs the .dll files from flandmarks, I struggled in generating files .dll from flandmarks_v107, But unsuccessful. |
How do you execute the |
I use simple command: But My doubt is What the directory specific I need to put in this variable ? I generated by Cmake-gui the c:/flandmark, And generated bellow is where build to binaries indicated by Cmake-gui, the results of generating is it:
Now, I dont know if I need to generate another compilation .dll files starting folders above, to After I can put something like variable java.library.path=C:/flandmark-bin/dlls ??? Could you clear my doubt, in detail ? Thks |
Ok so instead of using Eclipse, use Maven as shown in the simple example here and it will work: |
Thanks so much for your help ! I caught the jar flandmark-1.07-0.9-windows-x86.jar to solved the problem about JNI Cheers |
I would like to propose an tips about the flandmark-demo.
I'm cannot to compile in C++ the flandmarks ( very difficult) to generates .dll to afterwards running bytedeco JNA/JNI from flandmarks
I think very difficulty to compile this framework, or at least you provide an .dll to use the demonstration (integrated JAVA with flandmarks .dll)
Thanks
The text was updated successfully, but these errors were encountered: