[Insight-users] Cannot run the example Image5 after building (cvs source)
Atwood, Robert C
r.atwood at imperial.ac.uk
Fri, 12 Mar 2004 18:04:41 -0000
This is a multi-part message in MIME format.
------_=_NextPart_001_01C4085C.7DEAF982
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
I was able to build the tooklit, then build the example Hello World and
run it, but the next one I tried did not work.=20
=20
I copied Examples/DataRepresentation/Image/Image5.cxx to a new
directory, and edited teh CMakeLists.txt, successfully building the
file, then upon running it I receive the following problem:
=20
=20
./Image5 testit.bin
Exception caught !
=20
itk::ExceptionObject (0x8067600)
Location: "Unknown"
File: /sources/local/InsightToolKit_cvs/Code/IO/itkImageFileWriter.txx
Line: 143
Description: itk::ERROR: ImageFileWriter(0x8062ed0): No ImageIO set, or
none could be created.
=20
Next I tried the Image5 already built in the build/bin directory, with
the same result.
=20
Thanks for any advice=20
Robert
=20
=20
Dr. Robert Atwood
Dept of Materials
Imperial College London
London UK
=20
=20
=20
=20
=20
=20
=20
=20
------_=_NextPart_001_01C4085C.7DEAF982
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word" xmlns:st1 =3D=20
"urn:schemas-microsoft-com:office:smarttags"><HEAD><TITLE>Message</TITLE>=
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3DWord.Document name=3DProgId>
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml at 01C40816.78785030" rel=3DFile-List><LINK=20
href=3D"cid:editdata.mso at 01C40816.78785030" rel=3DEdit-Time-Data><!--[if =
!mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name=3D"time"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><o:SmartTagType=20
name=3D"date"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><o:SmartTagType=20
name=3D"country-region"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><o:SmartTagType=20
name=3D"place"=20
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"></o:SmartTagT=
ype><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE> at font-face {
font-family: Tahoma;
}
at page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; =
mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: =
"Times New Roman"; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"; mso-margin-top-alt: auto; =
mso-margin-bottom-alt: auto
}
SPAN.EmailStyle18 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply; =
mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: =
10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; =
mso-bidi-font-family: Arial
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=3DEN-US style=3D"tab-interval: .5in" vLink=3Dblue =
link=3Dblue>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>I was=20
able to build the tooklit, then build the example Hello World =
and run=20
it, but the next one I tried did not work. </FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
copied Examples/DataRepresentation/Image/Image5.cxx to a new directory, =
and=20
edited teh CMakeLists.txt, successfully building the file, then upon =
running it=20
I receive the following problem:</FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>./Image5 testit.bin<BR>Exception caught !</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>itk::ExceptionObject (0x8067600)<BR>Location: =
"Unknown"<BR>File:=20
/sources/local/InsightToolKit_cvs/Code/IO/itkImageFileWriter.txx<BR>Line:=
=20
143<BR>Description: itk::ERROR: ImageFileWriter(0x8062ed0): No ImageIO =
set, or=20
none could be created.</FONT></SPAN></DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>Next I=20
tried the Image5 already built in the build/bin directory, with the same =
result.</FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>Thanks=20
for any advice </FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>Robert</FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>Dr.=20
Robert Atwood</FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>Dept=20
of Materials</FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>Imperial College London</FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2>London=20
UK</FONT></SPAN></DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D886165317-12032004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV></BODY></HTML>
=00
------_=_NextPart_001_01C4085C.7DEAF982--