2014-06-24 09:46:23 -0600 | commented question | Java OpenCV Facial Recognition @berak Thanks for your help :) One last question, do you need a JAR to accompany the .so file when adding it to Eclipse? |
2014-06-24 09:11:11 -0600 | commented question | Java OpenCV Facial Recognition @berak You were right, there was an incorrect flag, -dl on mac version of g++ it's -dynamiclibrary... Now I just need to work out how to add it to my project! What a mess! |
2014-06-24 08:33:32 -0600 | commented question | Java OpenCV Facial Recognition @berak the issue was resolved by adding -c it was looking for a main method. So now do i add it to my eclipse project as a library same as when I did OpenCV? |
2014-06-24 08:20:26 -0600 | commented question | Java OpenCV Facial Recognition @berak This is what i've got >g++ facerec.cpp -I/mypath/opencv-2.4.9/build/include -I/System/Library/Frameworks/JavaVM.framework/Headers/ -I/mypath/opencv-2.4.9/build/lib -lopencv_contrib -lopencv_core -lopencv_ml -dl -o facerec.so Yet i'm still getting missing symbols specifically std::terminate() |
2014-06-24 07:50:53 -0600 | commented question | Java OpenCV Facial Recognition @berak Sorry to be a pain, I don't program in C++! Could you give me an example gcc command to build the .so file? Also it's saying jni.h can't be found, so i assume i need to give it an additional link to where it is? (I'm on mac) |
2014-06-24 07:38:45 -0600 | received badge | ● Supporter (source) |
2014-06-24 07:36:53 -0600 | commented question | Java OpenCV Facial Recognition @berak How do I put the cpp file into a .so file, should I place it into the OpenCV files and then rebuild? If that's the case, where would I put the cpp file? |
2014-06-24 07:33:00 -0600 | commented question | Java OpenCV Facial Recognition @berak Cheers, I'll try that, if I have any problems I'll return! Thanks! |
2014-06-24 07:11:30 -0600 | asked a question | Java OpenCV Facial Recognition Hi All, I'm writing a facial recognition program in Java. I've looked on the "Open CV known issues" and discovered that functions to create an instance of the FaceRecognizer class haven't been mapped. Is there any way round this issue? |