From: Ian S. <ian...@st...> - 2006-04-04 16:56:05
|
Cesar Reyes wrote: > Hi!. I=B4ve created one dll in Microsoft Visual C++ 2003 that uses two=20 > .lib with vxl code (vil_load, vnl_matrix, vnl_vector, etc). > =20 >=20 > #include <stdio.h> >=20 > #include <vcl_iostream.h> >=20 > #include <vcl_cstdlib.h> >=20 > #include <vxl_config.h> >=20 > #include <vil/vil_load.h> >=20 > #include <vil/vil_save.h> >=20 > #include <vil/vil_print.h> >=20 > #include <vnl/vnl_matrix.h> >=20 > #include <vnl/vnl_vector.h> >=20 > #include <vil/vil_convert.h> >=20 > #include <vil/vil_image_view.h> >=20 > #include <vcl_vector.h> >=20 > #include <vxl_config.h> >=20 > #include <time.h> >=20 > ... >=20 > =20 > but when I try to use it in Java by JNI in another PC (in my PC works=20 > OK), I get this error: > =20 > "can=B4t find dependent libraries". > =20 > I don=B4t Know if it=B4s a problem with vxl or Microsoft Visual. I can=B4= t=20 > find the dependent libraries. What dependent libraries? I'd guess the MSVC standard library dlls.=20 MSVCRT.dll or some such name. You should be able to use depends.exe=20 (http://www.dependencywalker.com/ to see what is missing. Ian |