Installation under linux with dcmtk 3.5.4

Compilation and installation of DICOMscope

Moderator: Moderator Team

Post Reply
Message
Author
chus
Posts: 9
Joined: Wed, 2007-01-17, 16:09

Installation under linux with dcmtk 3.5.4

#1 Post by chus » Fri, 2007-01-26, 12:46

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

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1225
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg » Mon, 2007-01-29, 11:19

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.

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

#3 Post by chus » Mon, 2007-01-29, 15:37

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: Select all

./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!

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1225
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#4 Post by Marco Eichelberg » Tue, 2007-01-30, 11:09

I'm not a Java expert either, but it should probably be

Code: Select all

import DICOMscope.*;

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest