[Insight-users] Errors compiling DigitalArchive from InsightApplications ( ITK 2.6, ITK 2.8.1, InsightApplications 2.6, InsightApplications 2.8.1 )

Wagner Sales wsalles2003 at yahoo.com.br
Tue Jun 27 07:40:09 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I was tried to compile the DigitalArchive, from InsightApplications (
versions in subject ) and some errors was showed to me. After some
search, I was readed the Insight-users Digest, Vol 26, Issue 52, and
changed my version of dcmtk, and the code too. In next try, the
osconfig.h was not found. I was changed the CMakeLists.txt from
DigitalArchive/FlDicomQueryChooser and added  ${DCMTK_DIR}/include to
the INCLUDE_DIRECTORIES. After that, in next try, the following error
was showed to me:


Building CXX object
DigitalArchive/FlDicomQueryChooser/CMakeFiles/FlDicomQueryChooser.dir/FlDicomQueryChooser.o
/home/devel/itk/InsightApplications-2.6.0/DigitalArchive/FlDicomQueryChooser/FlDicomQueryChooser.cxx:
In constructor ?FlDicomQueryChooser::FlDicomQueryChooser()?:
/home/devel/itk/InsightApplications-2.6.0/DigitalArchive/FlDicomQueryChooser/FlDicomQueryChooser.cxx:100:
warning: converting to non-pointer type ?char? from NULL
/usr/include/InsightToolkit/Common/itkArray.h: In member function
?void itk::Array<TValueType>::Fill(const TValueType&) [with TValueType
= float]?:
/usr/include/InsightToolkit/IO/itkImageSeriesReader.txx:77:  
instantiated from ?void
itk::ImageSeriesReader<TOutputImage>::GenerateOutputInformation()
[with TOutputImage = itk::Image<float, 3u>]?
/home/devel/itk/InsightApplications-2.6.0/DigitalArchive/FlDicomQueryChooser/FlDicomQueryChooser.cxx:2002:
 
instantiated from here
/usr/include/InsightToolkit/Common/itkArray.h:80: error: no matching
function for call to ?fill(const float&)?
/usr/include/c++/4.1.0/bits/stl_algobase.h:573: note: candidates are:
void std::fill(unsigned char*, unsigned char*, const unsigned char&)
/usr/include/c++/4.1.0/bits/stl_algobase.h:581: note:                
void std::fill(signed char*, signed char*, const signed char&)
/usr/include/c++/4.1.0/bits/stl_algobase.h:589: note:                
void std::fill(char*, char*, const char&)
make[2]: ***
[DigitalArchive/FlDicomQueryChooser/CMakeFiles/FlDicomQueryChooser.dir/FlDicomQueryChooser.o]
Error 1
make[1]: ***
[DigitalArchive/FlDicomQueryChooser/CMakeFiles/FlDicomQueryChooser.dir/all]
Error 2
make: *** [all] Error 2

I'm using:
cmake version 2.4-patch 2
gcc (GCC) 4.1.0 (SUSE Linux)
Linux version 2.6.16.13-4-default (geeko at buildhost) (gcc version 4.1.0
(SUSE Linux)) #1 Wed May 3 04:53:23 UTC 2006 ( SUSE 10.1 )
fltk 1.1.4

Someone can help please?

Thks in advance,

Wagner Sales

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEoRkYG0tpd3N7UOYRAgcnAJ9IiX6DCOqd9jSpraAAJL8yPQFXDQCdHg99
NQmEo6s2s5VXT7sur3zEi50=
=lQJS
-----END PGP SIGNATURE-----


	

	
		
_______________________________________________________ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 



More information about the Insight-users mailing list