DcmTk 3.5.4, Cmake fails
Moderator: Moderator Team
-
- Posts: 13
- Joined: Wed, 2005-05-04, 15:05
DcmTk 3.5.4, Cmake fails
Hi all,
I'm trying to install dcmtk 3.5.4 on a Linux powered PC.
When I execute ccmake CMakeList.txt and hit 'c' to configure, I got the following message :
Please use GNU autoconf for Unix systems.
Is it possible to use cmake (mine is v 2.0.6) to generate the makefile ?
Thanks
Vincent
I'm trying to install dcmtk 3.5.4 on a Linux powered PC.
When I execute ccmake CMakeList.txt and hit 'c' to configure, I got the following message :
Please use GNU autoconf for Unix systems.
Is it possible to use cmake (mine is v 2.0.6) to generate the makefile ?
Thanks
Vincent
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Hi Vincent,
with the current release (and we're not planning to change this in the nearest future), it's not possible to generate Unix/Linux Makefiles, that could be used further for compiling DCMTK. You could extend the CMakeList-files yourself to set the switches needed for GCC or another target compiler.
But I recommend using the standard way to build DCMTK using config/rootconf and configure/make to build the library. Details can be found in the INSTALL file shipping with the DCMTK source code.
Regards,
Michael
with the current release (and we're not planning to change this in the nearest future), it's not possible to generate Unix/Linux Makefiles, that could be used further for compiling DCMTK. You could extend the CMakeList-files yourself to set the switches needed for GCC or another target compiler.
But I recommend using the standard way to build DCMTK using config/rootconf and configure/make to build the library. Details can be found in the INSTALL file shipping with the DCMTK source code.
Regards,
Michael
-
- Posts: 13
- Joined: Wed, 2005-05-04, 15:05
Hi Mickael,
thanks for your response.
However, I try to build dcmTk 3.5.4 with autoconf tools :
* I run ./configure --prefix=/usr/GMCAO1/vdaanen-data/dcmtk-3.5.4 --enable-std-includes
* at the end of the configure process, I can read this : config.status: creating ./Makefile
but there is no Makefile in the directory !
the same pb occurs when trying ./configure --enable-std-includes
even ./configure does not create the top level makefile !
What should I do to compile dcmTk3.5.4 on a linux based PC ?
Thanks
thanks for your response.
However, I try to build dcmTk 3.5.4 with autoconf tools :
* I run ./configure --prefix=/usr/GMCAO1/vdaanen-data/dcmtk-3.5.4 --enable-std-includes
* at the end of the configure process, I can read this : config.status: creating ./Makefile
but there is no Makefile in the directory !
the same pb occurs when trying ./configure --enable-std-includes
even ./configure does not create the top level makefile !
What should I do to compile dcmTk3.5.4 on a linux based PC ?
Thanks
-
- Posts: 13
- Joined: Wed, 2005-05-04, 15:05
Ok,
seems there was a pb !
I delete the dcmtk tree and reinstall it. I then execute ./configure --prefix=... --enable-std-includes
The toplevel Makefile was created and is currently compiling
but it still strange to me why multiple execution of ./configure does not generate a Makefile every time !
Vincent
seems there was a pb !
I delete the dcmtk tree and reinstall it. I then execute ./configure --prefix=... --enable-std-includes
The toplevel Makefile was created and is currently compiling
but it still strange to me why multiple execution of ./configure does not generate a Makefile every time !
Vincent
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
-
- Posts: 13
- Joined: Wed, 2005-05-04, 15:05
-
- OFFIS DICOM Team
- Posts: 1444
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
The trick is that the top level makefile is not generated by configure, but by the rootconf script. That is because the content of the top level makefile does not depend on the results of the configure script but only on the list of modules to be compiled (there are a few modules that are not part of the public open source DCMTK that we of course need to compile internally). The rootconf script checks the list of modules in config/modules and creates a corresponding top level makefile. If you ever delete that, you need to run rootconf again, as documented in the installation instructions.
-
- Posts: 13
- Joined: Wed, 2005-05-04, 15:05
[quote="Marco Eichelberg"]The trick is that the top level makefile is [i]not[/i] generated by configure, but by the rootconf script. That is because the content of the top level makefile does not depend on the results of the configure script but only on the list of modules to be compiled (there are a few modules that are not part of the public open source DCMTK that we of course need to compile internally). The rootconf script checks the list of modules in config/modules and creates a corresponding top level makefile. If you ever delete that, you need to run rootconf again, as documented in the installation instructions.[/quote]
Hi,
i manage to compile dcmtk for a week now;
But i can't compile my small applications (just read some Dicom File and Images).
I wrote another thread of this here [url] viewtopic.php?t=642
V
Hi,
i manage to compile dcmtk for a week now;
But i can't compile my small applications (just read some Dicom File and Images).
I wrote another thread of this here [url] viewtopic.php?t=642
V
Who is online
Users browsing this forum: No registered users and 1 guest