No subject


Wed Oct 7 22:37:18 EDT 2009


The path should be the folder and the prefix of the files:
$ ls VTKData/Data/headsq/
quarter.1
quarter.2
....
quarter.81

If you gave a path like that, maybe there is a space in your path? (eg.
./Medical1 DATA VTK/Data/headsq/quarter)
The space will make Medical1 think there are 2 arguments, "DATA" and
"VTK/Data/headsq/quarter", and it only uses the first.
In this case, you should enclose the path in double quotes (eg. ./Medical1
"DATA VTK/Data/headsq/quarter"), or escape any spaces with backslashes (eg.
./Medical1 DATA\ VTK/Data/headsq/quarter)

I'm assuming you're on some flavor of *nix, but quotes will also work on
Windows (backslashes will not)


Developers: Medical/Cxx/Medical*.cxx and Infovis/Cxx/TreeLayout.cxx test fo=
r
(argc < 2), testing for (argc !=3D 2) would catch this (like
Array/Cxx/IdentityMatrix.cxx)
[Not a particularly critical problem mind you]

--
Jonathan


2010/3/19 =EC=A1=B0=EB=B4=89=EC=88=98 <hinice11 at naver.com>

>  When tried with the examples, this error came up.
>
>
>
> Is there anyone who help me???
>
>
>
> Thanks.
>
>
>
> ./Medical1 ~~~~~~~~
>
>
>
> ERROR: In /home/hinice/vtk-5.4.2/IO/vtkVolume16Reader.cxx, line 355
>
> vtkVolume16Reader (ox1a707bo) : Cant't find file: DATA.1
>
>
>
> Jo, Bong Su
>
> Tel) 010-9366-5313
>
> Life is too short not to be fun.
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>

--000e0cd51bca252a96048223a908
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>From what I can tell, Medical1 should be called with a path to t=
he data (eg. VTKData/Data/headsq/quarter), and complains if you do not.<br>=
<br>From your run, it looks like it thinks &quot;DATA&quot; is the path you=
 gave it.<br>

<br>The path should be the folder and the prefix of the files:<br>$ ls  VTK=
Data/Data/headsq/<br>quarter.1<br>quarter.2<br>....<br>quarter.81<br><br>If=
 you gave a path like that, maybe there is a space in your path? (eg. ./Med=
ical1 DATA VTK/Data/headsq/quarter)<br>


The space will make Medical1 think there are 2 arguments, &quot;DATA&quot; =
and &quot;VTK/Data/headsq/quarter&quot;, and it only uses the first.<br>In =
this case, you should enclose the path in double quotes (eg. ./Medical1 &qu=
ot;DATA VTK/Data/headsq/quarter&quot;), or escape any spaces with backslash=
es (eg. ./Medical1 DATA\ VTK/Data/headsq/quarter)<br>

<br>I&#39;m assuming you&#39;re on some flavor of *nix, but quotes will als=
o work on Windows (backslashes will not)<br><br><br>Developers: Medical/Cxx=
/Medical*.cxx and Infovis/Cxx/TreeLayout.cxx test for (argc &lt; 2), testin=
g for (argc !=3D 2) would catch this (like Array/Cxx/IdentityMatrix.cxx)<br=
>

[Not a particularly critical problem mind you]<br><br clear=3D"all">--<br>J=
onathan<br>
<br><br><div class=3D"gmail_quote">2010/3/19 =EC=A1=B0=EB=B4=89=EC=88=98 <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:hinice11 at naver.com">hinice11 at naver.co=
m</a>&gt;</span><br><blockquote class=3D"gmail_quote" style=3D"border-left:=
 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex=
;">










<div link=3D"blue" vlink=3D"purple" lang=3D"KO">

<div>

<p class=3D"MsoNormal"><span lang=3D"EN-US">When tried with the examples, t=
his error came
up.</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">Is there anyone who help me???<=
/span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">Thanks.</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">./Medical1 ~~~~~~~~</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">ERROR: In
/home/hinice/vtk-5.4.2/IO/vtkVolume16Reader.cxx, line 355</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">vtkVolume16Reader (ox1a707bo) :=
 Cant&#39;t find
file: DATA.1</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p>

<p class=3D"MsoNormal"><span style=3D"font-family: &quot;Cooper Black&quot;=
,&quot;serif&quot;;" lang=3D"EN-US">Jo,
Bong Su</span></p>

<p class=3D"MsoNormal"><span style=3D"font-family: &quot;Cooper Black&quot;=
,&quot;serif&quot;;" lang=3D"EN-US">Tel)
010-9366-5313</span></p>

<p class=3D"MsoNormal"><span style=3D"font-family: &quot;Cooper Black&quot;=
,&quot;serif&quot;;" lang=3D"EN-US">Life
is too short not to be fun.</span></p>

<p class=3D"MsoNormal"><span lang=3D"EN-US">=C2=A0</span></p>

</div>

</div>


<br>_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.kitware=
.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" target=3D"_blank">http://www.kitware.com/ope=
nsource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href=3D"http://w=
ww.vtk.org/Wiki/VTK_FAQ" target=3D"_blank">http://www.vtk.org/Wiki/VTK_FAQ<=
/a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"http://www.vtk.org/mailman/listinfo/vtkusers" target=3D"_blank">=
http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>

--000e0cd51bca252a96048223a908--


More information about the vtkusers mailing list