DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Tue, 2017-11-21, 07:13

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri, 2007-01-26, 12:46 
Offline

Joined: Wed, 2007-01-17, 16:09
Posts: 9
Hello,

I'm running a linux mandriva 2007 distro and I would like to install DICOMScope 3.5.1 on it. I have installed dcmtk 3.5.4 libraries and I have a few questions. I also installed jdk 1.6.0

-Does DICOMScope only run with dcmtk 3.5.0 or I can use my installed dcmtk3.5.4 libraries?

-What's the proper installation procedure for my case?

-Which java versions are supported to compile the code?

Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2007-01-29, 11:19 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1208
Location: Oldenburg, Germany
DICOMscope 3.5.1 will probably only compile with DCMTK 3.5.0. For newer DCMTK versions, minor changes in the JNI interface classes will be needed to reflect changes in the DCMTK API - if you are somewhat "fluent" in Java and C++, this should be rather trivial, though. With DCMTK 3.5.0, things should just compile "out of the box".

The installation procedure is described in the user manual, which is part of the source code package, in section J.2.

DICOMscope is known to compile with JDK 1.3. Newer versions of the JRE (runtime) also work without problems, but I have never tried to compile the Java code with newer Java compilers. This might just work or the compiler might complain about the use of deprecated constructs - just give it a try.


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2007-01-29, 15:37 
Offline

Joined: Wed, 2007-01-17, 16:09
Posts: 9
Marco Eichelberg wrote:
DICOMscope is known to compile with JDK 1.3. Newer versions of the JRE (runtime) also work without problems, but I have never tried to compile the Java code with newer Java compilers. This might just work or the compiler might complain about the use of deprecated constructs - just give it a try.


(First I'll try with dcmtk 3.5.4.)
I followed the first step of the java compilation process and I get 4 erros and a lots of warnings; most of the warnings are about the encoding of the files ( my system is utf8-encoded ) which are not a problem. There are other about deprecated methods and unchecked/unsafe operations and I supose it's because the java version. The errors are the following:
Code:
./browser/StudyMan.java:43: '.' expected
import DICOMscope;
                 ^
./browser/StudyMan.java:76: cannot find symbol
symbol  : class DICOMscope
location: class browser.StudyMan
    private DICOMscope parent;
            ^
./browser/StudyMan.java:99: cannot find symbol
symbol  : class DICOMscope
location: class browser.StudyMan
    public StudyMan(jDVInterface dvi, DICOMscope parent,Hashtable config)   
                                      ^
./about/AboutBox.java:41: '.' expected
import DICOMscope;
                 ^


I never programmed in java so I don't understand which could be the source of the problem. Do you know how can I fix them?

thanks in advance!


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 2007-01-30, 11:09 
Offline
OFFIS DICOM Team
OFFIS DICOM Team

Joined: Tue, 2004-11-02, 17:22
Posts: 1208
Location: Oldenburg, Germany
I'm not a Java expert either, but it should probably be
Code:
import DICOMscope.*;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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