[Insight-developers] itkMesh errors

C. Aaron Cois cacst11+@pitt.edu
Wed, 30 May 2001 11:42:45 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0045_01C0E8FD.A4910030
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have been trying diligently to add a mesh into one of our pieces of =
code, and have hit somewhat of a road block.  i can include itkMesh.h =
without error, and declare this typedef:  typedef itk::Mesh<int>  Mesh;

>From what i can tell, adding anything else related to mesh (such as =
declaring one:   Mesh::Pointer mesh =3D Mesh::New(); or even more =
typedefs such as typedef Mesh::CellTraits  CellTraits; or typedef =
Mesh::Cell  Cell; ) causes over 100 warnings, and a few errors which i =
am not sure what to make of:

fatal error C1063:
Command line warning D4028 : minimal rebuild failure, reverting to =
normal build
HeartMedialWindow.cpp
f:\projects\flow versions\itkflow\itkflow\heartmedialwindow.cpp(0) : =
fatal error C1033: cannot open program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'
HeartShape.cpp
f:\projects\flow versions\itkflow\itkflow\heartshape.cpp(0) : fatal =
error C1033: cannot open program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'
HeartShapeWindow.cpp
f:\projects\flow versions\itkflow\itkflow\heartshapewindow.cpp(0) : =
fatal error C1033: cannot open program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'
LaptopMain.cpp
f:\projects\flow versions\itkflow\itkflow\laptopmain.cpp(0) : fatal =
error C1033: cannot open program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'
MedialWindow.cpp
f:\projects\flow versions\itkflow\itkflow\medialwindow.cpp(0) : fatal =
error C1033: cannot open program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'
Shape.cpp
f:\projects\flow versions\itkflow\itkflow\shape.cpp(0) : fatal error =
C1033: cannot open program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'
ShapeWindow.cpp
f:\projects\flow versions\itkflow\itkflow\shapewindow.cpp(0) : fatal =
error C1033: cannot open program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'
Error executing cl.exe.

itkFlow.exe - 8 error(s), 117 warning(s)


        Is there a possible compatibility issue with the itk components, =
requiring another statement similar to the=20

#ifdef _MSC_VER
#pragma warning ( disable : 4786 )
#endif

        statement in the itkMesh example?  I'm not quite sure what to =
think about it, so any advice would be appreciated.=20

                                                                         =
                                                   Aaron Cois
                                                                         =
                                          University of Pittsburgh

------=_NextPart_000_0045_01C0E8FD.A4910030
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have been trying diligently to add a =
mesh=20
into&nbsp;one of our pieces of code, and have hit somewhat of a road=20
block.&nbsp; i can include itkMesh.h without error, and declare this=20
typedef:&nbsp; typedef itk::Mesh&lt;int&gt;&nbsp; Mesh;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>From what i can tell, adding anything =
else related=20
to mesh (such as declaring one:&nbsp;&nbsp; Mesh::Pointer mesh =3D=20
Mesh::New();&nbsp;or even more typedefs such as typedef =
Mesh::CellTraits&nbsp;=20
CellTraits; or typedef Mesh::Cell&nbsp; Cell; ) causes over 100 =
warnings, and a=20
few errors which i am not sure what to make of:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>fatal error C1063:<BR>Command line =
warning D4028 :=20
minimal rebuild failure, reverting to normal=20
build<BR>HeartMedialWindow.cpp<BR>f:\projects\flow=20
versions\itkflow\itkflow\heartmedialwindow.cpp(0) : fatal error C1033: =
cannot=20
open program database 'f:\projects\flow=20
versions\itkflow\debug\vc60.pdb'<BR>HeartShape.cpp<BR>f:\projects\flow=20
versions\itkflow\itkflow\heartshape.cpp(0) : fatal error C1033: cannot =
open=20
program database 'f:\projects\flow=20
versions\itkflow\debug\vc60.pdb'<BR>HeartShapeWindow.cpp<BR>f:\projects\f=
low=20
versions\itkflow\itkflow\heartshapewindow.cpp(0) : fatal error C1033: =
cannot=20
open program database 'f:\projects\flow=20
versions\itkflow\debug\vc60.pdb'<BR>LaptopMain.cpp<BR>f:\projects\flow=20
versions\itkflow\itkflow\laptopmain.cpp(0) : fatal error C1033: cannot =
open=20
program database 'f:\projects\flow=20
versions\itkflow\debug\vc60.pdb'<BR>MedialWindow.cpp<BR>f:\projects\flow =

versions\itkflow\itkflow\medialwindow.cpp(0) : fatal error C1033: cannot =
open=20
program database 'f:\projects\flow=20
versions\itkflow\debug\vc60.pdb'<BR>Shape.cpp<BR>f:\projects\flow=20
versions\itkflow\itkflow\shape.cpp(0) : fatal error C1033: cannot open =
program=20
database 'f:\projects\flow=20
versions\itkflow\debug\vc60.pdb'<BR>ShapeWindow.cpp<BR>f:\projects\flow=20
versions\itkflow\itkflow\shapewindow.cpp(0) : fatal error C1033: cannot =
open=20
program database 'f:\projects\flow =
versions\itkflow\debug\vc60.pdb'<BR>Error=20
executing cl.exe.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>itkFlow.exe - 8 error(s), 117=20
warning(s)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
Is there a=20
possible compatibility issue with the itk components, requiring another=20
statement similar to the </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#ifdef _MSC_VER<BR>#pragma warning ( =
disable : 4786=20
)<BR>#endif</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
statement in=20
the itkMesh example?&nbsp; I'm not quite sure what to think about it, so =
any=20
advice would be appreciated. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; Aaron Cois</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=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