DCMTK, Red Hat 9.0 and Class template

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
linnet
Posts: 9
Joined: Sat, 2005-05-07, 12:53
Location: Cuba
Contact:

DCMTK, Red Hat 9.0 and Class template

#1 Post by linnet »

Hello. I am installing DCMTK 3.5.3 on Red Hat 9.0, but I obtain the following error when I execute "make all" after . /configures:
Your C++ compiler not handle class template.
I am waiting for your help, thanks, Linnet
Lic. Linnet T. Fdez. C.
Ave. Patricio Lumumba s/n
University of Orient
Santiago de Cuba, 90500, Cuba

email: linnet@cbm.uo.edu.cu
linnet_cuba@yahoo.com

Thomas Wilkens
DCMTK Developer
Posts: 117
Joined: Tue, 2004-11-02, 17:21
Location: Oldenburg, Germany
Contact:

#2 Post by Thomas Wilkens »

The C++ compiler you are using is, unfortunately, not fully implemented. You will have to use a different compiler to be able to compile DCMTK.

Here is a list of supported compilers on UNIX platforms (from the INSTALL file):

Code: Select all

Unix (or lookalikes)
--------------------

The current DCMTK software release successfully compiles on the following
operating system / hardware / compiler combinations using the instructions
given below:

    FreeBSD 4.8    / Intel x86    / GNU gcc 2.95.4
    FreeBSD 4.9    / Intel x86    / GNU gcc 2.95.4
    IRIX 5.3       / SGI Indy     / GNU gcc 2.95.3   (see note *2)
    Linux 2.2.16   / Intel x86    / GNU gcc 2.95.2
    Linux 2.4.19   / Intel x86    / GNU gcc 3.2, 3.3 and 3.4.0
    Linux 2.4.20   / Intel x86    / GNU gcc 2.95.4, 3.2.3 and 3.3.3
    Linux 2.4.21   / Intel x86    / GNU gcc 3.3.1
    Linux 2.6.4    / Intel x86    / GNU gcc 3.3.3
    MacOS X 10.1.5 / Power Mac G4 / Apple gcc-934.3  (gcc 2.95.2, see note *5)
    MacOS X 10.3.3 / Power Mac G4 / Apple gcc-1640   (gcc 3.3)
    NetBSD 1.6.1   / Intel x86    / GNU gcc 2.95.3
    OSF/1 4.0      / DEC Alpha    / Compaq C++ V6.3-002 (see note *6)
    OSF/1 4.0      / DEC Alpha    / GNU gcc 2.95.3
    OpenBSD 3.4    / Intel x86    / GNU gcc 2.95.3
    Solaris 2.5.1  / Sun Sparc    / GNU egcs 1.1.2   (egcs-2.91.66)
    Solaris 2.5.1  / Sun Sparc    / Sun SC 2.0.1     (SunPro C++ 3.0.1)
    Solaris 8      / Sun Sparc    / GNU gcc 3.2.3, 3.4
    Windows XP     / Intel x86    / Cygwin 1.5.9     (gcc 3.3.1)
    Windows XP     / Intel x86    / MinGW 3.1.0/MSys 1.0.10 (gcc 3.2.3)
    QNX 6.2.1      / Intel x86    / GNU gcc 2.95.3   (see note *7)
Stick to one of these compilers and you will succeed.

linnet
Posts: 9
Joined: Sat, 2005-05-07, 12:53
Location: Cuba
Contact:

#3 Post by linnet »

I install gcc-3.4.1 but I continue with the same error: Your C++ compiler not handle call template.
What can I do?
Thansk, Linnet
Lic. Linnet T. Fdez. C.
Ave. Patricio Lumumba s/n
University of Orient
Santiago de Cuba, 90500, Cuba

email: linnet@cbm.uo.edu.cu
linnet_cuba@yahoo.com

Thomas Wilkens
DCMTK Developer
Posts: 117
Joined: Tue, 2004-11-02, 17:21
Location: Oldenburg, Germany
Contact:

#4 Post by Thomas Wilkens »

Are you sure the right compiler (gcc-3.4.1) is used? Use "gcc --version" to find out if that is the case. If not, check your environment settings.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest