[Insight-users] Compilation problem with Examples/DataRepresentation/Image
Николай Шелахаев
n.shelakhaev at gmail.com
Sun May 10 13:16:20 EDT 2009
Hi, All!
I try to compile the example from /Insight/Examples/DataRepresentation/Image
directory.
At first, I use cmake. This is my command line:
nikolay at semiliranda:~> cd ~/bin/Insight/Examples/DataRepresentation/Image/
nikolay at semiliranda:~/bin/Insight/Examples/DataRepresentation/Image> ccmake
~/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/
I type 'c' and 'g' to configure and generate Makefile.
Then I run "make":
nikolay at semiliranda:~/bin/Insight/Examples/DataRepresentation/Image> make
But error message appeared:
Scanning dependencies of target Image1
[ 6%] Building CXX object
CMakeFiles/Image1.dir/Image1.cxx.o
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:36:22:
error: itkImage.h: No such file or
directory
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:
In function ‘int main(int, char**)’:
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:53:
error: ‘itk’ has not been declared
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:53:
error: expected initializer before ‘<’ token
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:69:
error: ‘ImageType’ has not been declared
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:69:
error: expected `;' before ‘image’
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:111:
error: ‘ImageType’ has not been declared
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:111:
error: expected `;' before ‘start’
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:113:
error: ‘start’ was not declared in this scope
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:131:
error: ‘ImageType’ has not been declared
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:131:
error: expected `;' before ‘size’
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:133:
error: ‘size’ was not declared in thisscope
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:151:
error: ‘ImageType’ has not been declared
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:151:
error: expected `;' before ‘region’
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:153:
error: ‘region’ was not declared in this scope
/home/nikolay/src/InsightToolkit-3.12.0/Examples/DataRepresentation/Image/Image1.cxx:174:
error: ‘image’ was not declared in this scope
make[2]: *** [CMakeFiles/Image1.dir/Image1.cxx.o] Error 1
make[1]: *** [CMakeFiles/Image1.dir/all] Error 2
make: *** [all] Error 2
Please, advise. What is wrong with my activities?
Thank you.
--
Kind regards,
Nikolay Shelakhaev
Biomedical Engineer
Polyomed/Didimed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090510/33feba8e/attachment.htm>
More information about the Insight-users
mailing list