DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2018-04-25, 06:03

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: DCMTK for anndroid
PostPosted: Mon, 2017-08-21, 08:47 
Offline

Joined: Mon, 2017-08-21, 08:24
Posts: 3
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)


Top
 Profile  
 
 Post subject: Re: DCMTK for anndroid
PostPosted: Mon, 2017-09-04, 16:46 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Mon, 2014-03-03, 09:51
Posts: 231
Location: Oldenburg, Germany
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).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group