how could i build a makefile for ubuntu
Moderator: Moderator Team
-
- Posts: 33
- Joined: Mon, 2010-07-26, 15:12
how could i build a makefile for ubuntu
i am a new comer for dcmtk as well as for ubuntu.
i want to use storescu function.
i wonder if someone could show me how to create makefile for it.
i try to compile with the makefile in the package, but it always reported: make: *** No rule to make target `config/Makefile.def'. Stop.
thank you.
i want to use storescu function.
i wonder if someone could show me how to create makefile for it.
i try to compile with the makefile in the package, but it always reported: make: *** No rule to make target `config/Makefile.def'. Stop.
thank you.
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 33
- Joined: Mon, 2010-07-26, 15:12
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
The INSTALL file is a text file with this name in the main directory of the DCMTK source code package - where else?
For the current DCMTK release 3.5.4, the file can also be found in the online documentation..
For the current DCMTK release 3.5.4, the file can also be found in the online documentation..
-
- Posts: 33
- Joined: Mon, 2010-07-26, 15:12
thank you, i found that file
and when i call make install i met following problem
../../config/mkinstalldirs /usr/local/dicom/bin
mkdir -p -- /usr/local/dicom/bin
mkdir: cannot create directory `/usr/local/dicom': Permission denied
make[2]: *** [install-bin] Error 1
make[2]: Leaving directory `/mnt/hgfs/D/dcmtk-3.5.4/dcmdata/apps'
make[1]: *** [apps-install] Error 2
make[1]: Leaving directory `/mnt/hgfs/D/dcmtk-3.5.4/dcmdata'
would you please suggest? thank you.
and when i call make install i met following problem
../../config/mkinstalldirs /usr/local/dicom/bin
mkdir -p -- /usr/local/dicom/bin
mkdir: cannot create directory `/usr/local/dicom': Permission denied
make[2]: *** [install-bin] Error 1
make[2]: Leaving directory `/mnt/hgfs/D/dcmtk-3.5.4/dcmdata/apps'
make[1]: *** [apps-install] Error 2
make[1]: Leaving directory `/mnt/hgfs/D/dcmtk-3.5.4/dcmdata'
would you please suggest? thank you.
Jörg Riesmeier wrote:Did you ever call "./configure" before "make"? And, btw, reading the INSTALL file really helps
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
It should be obvious that you do not have the permission to create the directory "dicom" under "/usr/local". So, either make sure that you have the rights (e.g. with "sudo") or choose another installation prefix (see "./configure --help").mkdir: cannot create directory `/usr/local/dicom': Permission denied
-
- Posts: 33
- Joined: Mon, 2010-07-26, 15:12
thank you, i solve that problem.
then how do i implement storescu function?
thank you.
then how do i implement storescu function?
thank you.
Jörg Riesmeier wrote:It should be obvious that you do not have the permission to create the directory "dicom" under "/usr/local". So, either make sure that you have the rights (e.g. with "sudo") or choose another installation prefix (see "./configure --help").mkdir: cannot create directory `/usr/local/dicom': Permission denied
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 33
- Joined: Mon, 2010-07-26, 15:12
i am wondering how to use it, could you please give me an example?
and, how could i merge it to my own application?
thank you.
and, how could i merge it to my own application?
thank you.
Jörg Riesmeier wrote:There is a ready to use command line tool called "storescu". If you want to implement a Storage SCU based on the DCMTK, you should check the source code at "dcmtk/dcmnet/apps/storescu.cc".
Who is online
Users browsing this forum: No registered users and 1 guest