Then, I understand you say we have to copy the .SO files to /aDirectory/com/googlecode/javacv/cpp/linux-x86_64
There are the files I have copied there:
BUT, when I look inside the JAR of your applet in http://code.google.com/p/javacv/wiki/HowToMakeAnApplet you only have ONE directory called /com/googlecode/ and inside it you have javacpp folder and javacv folder... There are a big difference! And maybe you forget to explain in instructions this.
Could you tell me step by step how to make an application that works on another computer without OpenCV, please? Even something as easy as loading an image, for example:
JFileChooser frmNavegador = new JFileChooser();
frmNavegador.setDialogTitle("Seleccione una imágen");
frmNavegador.setFileFilter(new FileNameExtensionFilter("JPG PNG", "jpg", "png"));
frmNavegador.setCurrentDirectory(new File(getClass().getProtectionDomain().getCodeSource().getLocation().getPath().concat("/editorImagenes/Imagenes")));
if (frmNavegador.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {
IplImage iplUltima = opencv_highgui.cvLoadImage(frmNavegador.getSelectedFile().toString());
ImageIcon iconImg = new ImageIcon(iplUltima.getBufferedImage());
label.setIcon(iconImg);
} else {
System.out.println("Por favor, seleccione una imágen para comenzar.");
}
Only the steps to compile and to make it work on another computer without OpenCV.
My problem is that my University professor has asked me to make a practical and chosen as a tool to JavaCV. I trusted that I would be able, and I have already done all the work done, but I can not make it run on my teacher's computer. Now all I have until 07 August to not fail ... And I'm going crazy. I have to know if you can explain to me because if you can not, I have to change the tool.
Thanks for your time,
Gabriela
javac FaceApplet.java
It throws 25 errors like the next:
FaceApplet.java:9: package com.googlecode.javacpp does not exist
import com.googlecode.javacpp.Loader;
So I do: javac -cp "$CLASSPATH:.:/home/gaby/workspace/javacv-bin/Folder/ " FaceApplet.java
but the errors still appears.
In another post you said that is because I am not including in the classpath the three folders,
but I tried to include them in every way and the error is always the same:
"FaceApplet.java: 9: package does com.googlecode.javacpp not exist. "
Then, I browse to /Folder/com/googlecode/ and there is no JavaCPP folder! javacpp folder is in /Folder/.
And if I copy the /jacacpp/ folder into /Folder/com/gooclegode/ the error is the same!
So, how do you compile for my files? I remind my files:
/Folder/
--
---
You received this message because you are subscribed to the Google Groups "javacv" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacv+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
For the time being, I have checked a few things:
- HowToMakeAnApplet also doesn't work in this Ubuntu x32 machine without OpenCV libs installed.
- The .so libraries included in FaceApplet.jar do not have missing dependencies, apart from the opencv files that are not included in the jar, and the libtiff library, which is also not installed in my system, so it is not required.
- There is no reference whatsoever to libtbb, neither in the Linux libraries, nor in the JNI interfaces. So, TBB is not being used in the binaries currently included in HowToMakeAnApplet, and therefore, the lack of it should not have any impact.
--
Samuel
--
--- You received this message because you are subscribed to the Google Groups "javacv" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javacv+unsubscribe@googlegroups.com.
adler@adlerG1:/tmp/javacpp44716600480401$ ls -ltotal 6048-rw-rw-r-- 1 adler adler 213544 Feb 10 19:49 libjnidc1394.so-rw-rw-r-- 1 adler adler 653960 Feb 10 19:49 libjniopencv_core.so-rw-rw-r-- 1 adler adler 66120 Feb 10 19:49 libjniopencv_highgui.so-rw-rw-r-- 1 adler adler 258496 Feb 10 19:49 libjniopencv_imgproc.so-rw-rw-r-- 1 adler adler 266920 Feb 10 19:49 libjniopencv_objdetect.so-rw-rw-r-- 1 adler adler 2264048 Feb 10 19:49 libopencv_core.so.2.4-rw-rw-r-- 1 adler adler 1904712 Feb 10 19:49 libopencv_imgproc.so.2.4-rw-rw-r-- 1 adler adler 542288 Feb 10 19:49 libopencv_objdetect.so.2.4
To unsubscribe from this group and stop receiving emails from it, send an email to javacv+un...@googlegroups.com.
Hello,
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:600)at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)Caused by: java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:616)at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:594)... 1 more
Caused by: java.lang.UnsatisfiedLinkError: /tmp/javacpp37002913502004/libjniopencv_highgui.so: libtiff.so.3: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
at java.lang.ClassLoader$NativeLibrary.load(Native Method)at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)at java.lang.Runtime.load0(Runtime.java:787)at java.lang.System.load(System.java:1022)
at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:465)at com.googlecode.javacpp.Loader.load(Loader.java:399)at com.googlecode.javacpp.Loader.load(Loader.java:347)
at com.googlecode.javacv.cpp.opencv_highgui.<clinit>(opencv_highgui.java:85)at com.googlecode.javacv.OpenCVFrameGrabber.start(OpenCVFrameGrabber.java:174)
at org.dreamcoder.opencv.javacv.javacvtestjnlp.FaceDetection.main(FaceDetection.java:75)... 6 moreCaused by: java.lang.UnsatisfiedLinkError: /tmp/javacpp37002913502004/libopencv_highgui.so.2.4: libtiff.so.3: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio
at java.lang.ClassLoader$NativeLibrary.load(Native Method)at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)at java.lang.Runtime.load0(Runtime.java:787)at java.lang.System.load(System.java:1022)
at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:465)at com.googlecode.javacpp.Loader.load(Loader.java:389)... 10 more