linux compile DCMTK 3.6.1 , Under the bin folder,Generate so files.
Contains:
libofstd.so
libofstd.so.11
libofstd.so.3.6.1
....
android loadLibrary(ofstd)
01-27 00:35:22.705 5411-5411/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.myapplication, PID: 5411
java.lang.UnsatisfiedLinkError: dlopen failed: library "libofstd.so.11" not found
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
DCMTK for anndroid
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 318
- Joined: Mon, 2014-03-03, 09:51
- Location: Oldenburg, Germany
Re: DCMTK for anndroid
You probably need to modify the environment variable LD_LIBRARY_PATH to include your /bin directory. Alternatively/additionaly you probably need to modify the java classpath/library path. It has been some time since I did something similiar using java, so google can probably help you better than I (google for java library path resp. classpath).
Who is online
Users browsing this forum: No registered users and 1 guest