[Midas] Compiling DICOM plugin on Ubuntu 11.04
Chapman, Brian
brchapman at ucsd.edu
Fri Sep 9 16:37:12 EDT 2011
I'm posting a request for help regarding compiling the MIDAS DICOM plugin on Ubuntu 11.04. I've been following the instructions on the MIDAS wiki (http://www.kitware.com/midaswiki/index.php/Plugins:Dicom).
I've tried building this based on both the dcmtk 3.5.5 version pointed to on the wiki page and the newer 3.6.0 release. Neither work. Cmake brings up a warning message that the UNIX Cmake is under development and to use autoconf instead. Either way I can't get the code to compile. Using cmake I get errors regarding subduers:
CMake Error at CMakeLists.txt:237 (SUBDIRS):
subdirs Incorrect SUBDIRS command. Directory: doxygen does not exists.
When I try to configure and compile in the modified dcmtk directory (post merge with MIDASdicom code) I get include errors:
make[2]: Entering directory `/usr/local/src/dcmtk-3.6.0/dcmqrdb/libsrc'
c++ -DHAVE_CONFIG_H -DUSE_NULL_SAFE_OFSTRING -DNDEBUG -c -I. -I. -I../include -I../../config/include -I../../dcmnet/include -I../../dcmdata/include -I../../ofstd/include -I../../oflog/include \
-O -I/usr/include/libxml2 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L -Wall dcmqrsrv.cc
dcmqrsrv.cc:45:21: fatal error: mwsItem.h: No such file or directory
compilation terminated.
make[2]: *** [dcmqrsrv.o] Error 1
make[2]: Leaving directory `/usr/local/src/dcmtk-3.6.0/dcmqrdb/libsrc'
make[1]: *** [libsrc-all] Error 2
make[1]: Leaving directory `/usr/local/src/dcmtk-3.6.0/dcmqrdb'
make: *** [dcmqrdb-all] Error 2
Anyone have experience on configuring and compiling this plugin on Ubuntu (or linux in general)?
Brian
More information about the Midas
mailing list