[Insight-developers] CableSwig

Miller, James V (Research) millerjv at crd . ge . com
Tue, 8 Jul 2003 13:44:33 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C34578.06891112
Content-Type: text/plain

Just ran your test.
 
First build:
 
cpp failed to build.  It could not locate insn-codes.h.  
 
Since cpp did not build, gccxml_cc1plus, SwigRuntimePython, and
_ITKCommonPython did not build.
 
Second build:
 
cpp built so gccxml_cc1plus, SwigRuntimePython, and _ITKCommonPython built.
 
wrap_itkVectorPython.cxx did not compile.
 
Third build:
 
Selected _VXLNumericsPython to be built.  It built fine.
 
Forth build:
 
Selected _ITKCommonPython again to be built.  It now built.
 
So I see two issues:
 
1. The gccxml components are not building in the right order.
2. Building _ITKCommonPython is not forcing _VXLNumericsPython to build
 
 



> -----Original Message-----
> From: Bill Hoffman [ mailto:bill . hoffman at kitware . com
<mailto:bill . hoffman at kitware . com> ]
> Sent: Tuesday, July 08, 2003 12:51 PM
> To: Miller, James V (Research); insight-developers at public . kitware . com
> Subject: RE: [Insight-developers] CableSwig
>
>
> It should not take that many builds.
>
> Can you verify that what I did here works for you:
>
> 1. start with a new build tree
> 2. cvs update itk
> 3. run cmake
> 4. load the vs 7 project
> 5. select ITKCommonTCL, and build it (right click Build)
>
> On my machine, this built cswig, gccxml, and went on to do
> the wrapping.
>
>
> -Bill
>
>
> At 12:34 PM 7/8/2003, Miller, James V (Research) wrote:
> >Thanks Bill.  Sometime around mid-morning, I finally got all
> the updates. 
> >I am now building Python wrappers for ITK.
> >
> >There still seems to be a problem with dependency checks. 
> It took several
> >builds
> >for gccxml, cswig, etc. to build to completion.  Once they
> were built, it
> >took
> >several more builds to get the wrappers built.  The wrappers
> for Algorithms
> >tried to build before the wrappers for Numerics which didn't
> fly. Repeated
> >builds
> >finally got everything built.  This could impact the
> automated testing.
> >
> >Jim
> >
> >
> >> -----Original Message-----
> >> From: Bill Hoffman [ mailto:bill . hoffman at kitware . com
<mailto:bill . hoffman at kitware . com> ]
> >> Sent: Tuesday, July 08, 2003 9:23 AM
> >> To: Miller, James V (Research);
> insight-developers at public . kitware . com
> >> Subject: RE: [Insight-developers] CableSwig
> >>
> >>
> >> It should be fixed now.   There were some missing target
> depends that
> >> caused vs7 to fail.   Let me know if you have any more problems.
> >>
> >> -Bill
> >>
> >>
> >> At 05:46 PM 7/7/2003, Bill Hoffman wrote:
> >> >OK, we were able to reproduce the problem here.    I had
> only tested
> >> >this with VS 6, and the makefiles.  It would seem that there
> >> are problems
> >> >with VS 7.
> >> >
> >> >-Bill
> >> >
> >> >
> >> >At 04:56 PM 7/7/2003, Miller, James V (Research) wrote:
> >> >
> >> >>Better,
> >> >>
> >> >>After building 4 times the various components of gccxml,
> >> cswig, etc. are all
> >> >>finally built (sounds like a dependency ordering problem
> >> here). I know have
> >> >>executables gccxml, cswig, etc.
> >> >>
> >> >>But I still have the original errors
> >> >>
> >> >>Building wrap_itkThresholdImageFilter.xml from 
> >> C:/projects/I2/Insight-net/Wrapping/CSwig/BasicFilters/wrap_it
> >> kThresholdImageFilter.xml
> >> >>Vc7/Include support directory is not available.
> >> >>Checked "C:/projects/I2/Insight-net/bin/Vc7/Include".
> >> >>Could not determine GCCXML_FLAGS setting.
> >> >>Project : error PRJ0019: A tool returned an error code:
> >> "Building wrap_itkThresholdImageFilter.xml from 
> >> C:/projects/I2/Insight-net/Wrapping/CSwig/BasicFilters/wrap_it
> >> kThresholdImageFilter.xml"
> >> >>
> >> >>There is not a Vc7/Include directory under the bin subdir
> >> of my build
> >> >>directory. Should this have been prefaced with the Visual
> >> Studio path?
> >> >>Jim
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>> -----Original Message-----
> >> >>> From: Bill Hoffman
> >> [< mailto:bill . hoffman at kitware . com <mailto:bill . hoffman at kitware . com> >
mailto:bill . hoffman at kitware . com <mailto:bill . hoffman at kitware . com> ]
> >> >>> Sent: Monday, July 07, 2003 4:34 PM
> >> >>> To: Miller, James V (Research);
> >> insight-developers at public . kitware . com
> >> >>> Subject: RE: [Insight-developers] CableSwig
> >> >>>
> >> >>>
> >> >>> OK, please update the CMakeLists.txt file in Utilities.
> >> >>> That should be the last of them.
> >> >>>
> >> >>> -Bill
> >> >>>
> >> >>> At 04:27 PM 7/7/2003, Miller, James V (Research) wrote:
> >> >>>
> >> >>> >Bill,
> >> >>> >
> >> >>> >They are all being set to something like
> >> >>> >
> >> >>> >//Path to an internal program.
> >> >>>
> >>
> >GCCXML:FILEPATH=C:/projects/I2/Insight-net/bin/$(IntDir)/gccxml.exe
> >> >>>
> >> >>>
> >> >>>
> >> >
> >> >
> >> >
> >> >_______________________________________________
> >> >Insight-developers mailing list
> >> >Insight-developers at itk . org
> >> > http://www . itk . org/mailman/listinfo/insight-developers
<http://www . itk . org/mailman/listinfo/insight-developers> 
> >>
> >>
> >>
>
>
> 


------_=_NextPart_001_01C34578.06891112
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE></TITLE>

<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff size=2>Just ran your test.</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><STRONG><FONT color=#0000ff size=2>First build:</FONT></STRONG></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>cpp failed to build.&nbsp; It could not locate 
insn-codes.h.&nbsp; </FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>Since cpp did not build, gccxml_cc1plus, 
SwigRuntimePython, and _ITKCommonPython did not build.</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><STRONG><FONT color=#0000ff size=2>Second build:</FONT></STRONG></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>cpp built so gccxml_cc1plus, SwigRuntimePython, 
and _ITKCommonPython built.</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>wrap_itkVectorPython.cxx did not 
compile.</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><STRONG><FONT color=#0000ff size=2>Third build:</FONT></STRONG></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>Selected _VXLNumericsPython to be built.&nbsp; 
It built fine.</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><STRONG><FONT color=#0000ff size=2>Forth build:</FONT></STRONG></DIV>
<DIV><STRONG><FONT color=#0000ff size=2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>Selected _ITKCommonPython again to be 
built.&nbsp; It now built.</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2><STRONG>So I see two 
issues:</STRONG></FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>1. The gccxml components are not building in the 
right order.</FONT></DIV>
<DIV><FONT color=#0000ff size=2>2. Building _ITKCommonPython is not forcing 
_VXLNumericsPython to build</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><BR><BR></DIV>
<P><FONT size=2>&gt; -----Original Message-----<BR>&gt; From: Bill Hoffman [<A 
href="mailto:bill . hoffman at kitware . com">mailto:bill . hoffman at kitware . com</A>]<BR>&gt; 
Sent: Tuesday, July 08, 2003 12:51 PM<BR>&gt; To: Miller, James V (Research); 
insight-developers at public . kitware . com<BR>&gt; Subject: RE: [Insight-developers] 
CableSwig<BR>&gt;<BR>&gt;<BR>&gt; It should not take that many 
builds.<BR>&gt;<BR>&gt; Can you verify that what I did here works for 
you:<BR>&gt;<BR>&gt; 1. start with a new build tree<BR>&gt; 2. cvs update 
itk<BR>&gt; 3. run cmake<BR>&gt; 4. load the vs 7 project<BR>&gt; 5. select 
ITKCommonTCL, and build it (right click Build)<BR>&gt;<BR>&gt; On my machine, 
this built cswig, gccxml, and went on to do<BR>&gt; the 
wrapping.<BR>&gt;<BR>&gt;<BR>&gt; -Bill<BR>&gt;<BR>&gt;<BR>&gt; At 12:34 PM 
7/8/2003, Miller, James V (Research) wrote:<BR>&gt; &gt;Thanks Bill.&nbsp; 
Sometime around mid-morning, I finally got all<BR>&gt; the 
updates.&nbsp;<BR>&gt; &gt;I am now building Python wrappers for ITK.<BR>&gt; 
&gt;<BR>&gt; &gt;There still seems to be a problem with dependency 
checks.&nbsp;<BR>&gt; It took several<BR>&gt; &gt;builds<BR>&gt; &gt;for gccxml, 
cswig, etc. to build to completion.&nbsp; Once they<BR>&gt; were built, 
it<BR>&gt; &gt;took<BR>&gt; &gt;several more builds to get the wrappers 
built.&nbsp; The wrappers<BR>&gt; for Algorithms<BR>&gt; &gt;tried to build 
before the wrappers for Numerics which didn't<BR>&gt; fly. Repeated<BR>&gt; 
&gt;builds<BR>&gt; &gt;finally got everything built.&nbsp; This could impact 
the<BR>&gt; automated testing.<BR>&gt; &gt;<BR>&gt; &gt;Jim<BR>&gt; &gt;<BR>&gt; 
&gt;<BR>&gt; &gt;&gt; -----Original Message-----<BR>&gt; &gt;&gt; From: Bill 
Hoffman [<A 
href="mailto:bill . hoffman at kitware . com">mailto:bill . hoffman at kitware . com</A>]<BR>&gt; 
&gt;&gt; Sent: Tuesday, July 08, 2003 9:23 AM<BR>&gt; &gt;&gt; To: Miller, James 
V (Research);<BR>&gt; insight-developers at public . kitware . com<BR>&gt; &gt;&gt; 
Subject: RE: [Insight-developers] CableSwig<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; It should be fixed now.&nbsp;&nbsp; There were some 
missing target<BR>&gt; depends that<BR>&gt; &gt;&gt; caused vs7 to 
fail.&nbsp;&nbsp; Let me know if you have any more problems.<BR>&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; -Bill<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;&gt; At 05:46 PM 7/7/2003, Bill Hoffman wrote:<BR>&gt; &gt;&gt; &gt;OK, we 
were able to reproduce the problem here.&nbsp;&nbsp;&nbsp; I had<BR>&gt; only 
tested<BR>&gt; &gt;&gt; &gt;this with VS 6, and the makefiles.&nbsp; It would 
seem that there<BR>&gt; &gt;&gt; are problems<BR>&gt; &gt;&gt; &gt;with VS 
7.<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;-Bill<BR>&gt; &gt;&gt; 
&gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;At 04:56 PM 7/7/2003, Miller, 
James V (Research) wrote:<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; 
&gt;&gt;Better,<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;After 
building 4 times the various components of gccxml,<BR>&gt; &gt;&gt; cswig, etc. 
are all<BR>&gt; &gt;&gt; &gt;&gt;finally built (sounds like a dependency 
ordering problem<BR>&gt; &gt;&gt; here). I know have<BR>&gt; &gt;&gt; 
&gt;&gt;executables gccxml, cswig, etc.<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; 
&gt;&gt; &gt;&gt;But I still have the original errors<BR>&gt; &gt;&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;Building wrap_itkThresholdImageFilter.xml 
from&nbsp;<BR>&gt; &gt;&gt; 
C:/projects/I2/Insight-net/Wrapping/CSwig/BasicFilters/wrap_it<BR>&gt; &gt;&gt; 
kThresholdImageFilter.xml<BR>&gt; &gt;&gt; &gt;&gt;Vc7/Include support directory 
is not available.<BR>&gt; &gt;&gt; &gt;&gt;Checked 
"C:/projects/I2/Insight-net/bin/Vc7/Include".<BR>&gt; &gt;&gt; &gt;&gt;Could not 
determine GCCXML_FLAGS setting.<BR>&gt; &gt;&gt; &gt;&gt;Project : error 
PRJ0019: A tool returned an error code:<BR>&gt; &gt;&gt; "Building 
wrap_itkThresholdImageFilter.xml from&nbsp;<BR>&gt; &gt;&gt; 
C:/projects/I2/Insight-net/Wrapping/CSwig/BasicFilters/wrap_it<BR>&gt; &gt;&gt; 
kThresholdImageFilter.xml"<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
&gt;&gt;There is not a Vc7/Include directory under the bin subdir<BR>&gt; 
&gt;&gt; of my build<BR>&gt; &gt;&gt; &gt;&gt;directory. Should this have been 
prefaced with the Visual<BR>&gt; &gt;&gt; Studio path?<BR>&gt; &gt;&gt; 
&gt;&gt;Jim<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
&gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;<BR>&gt; &gt;&gt; 
&gt;&gt;&gt; -----Original Message-----<BR>&gt; &gt;&gt; &gt;&gt;&gt; From: Bill 
Hoffman<BR>&gt; &gt;&gt; [&lt;<A 
href="mailto:bill . hoffman at kitware . com">mailto:bill . hoffman at kitware . com</A>&gt;<A 
href="mailto:bill . hoffman at kitware . com">mailto:bill . hoffman at kitware . com</A>]<BR>&gt; 
&gt;&gt; &gt;&gt;&gt; Sent: Monday, July 07, 2003 4:34 PM<BR>&gt; &gt;&gt; 
&gt;&gt;&gt; To: Miller, James V (Research);<BR>&gt; &gt;&gt; 
insight-developers at public . kitware . com<BR>&gt; &gt;&gt; &gt;&gt;&gt; Subject: RE: 
[Insight-developers] CableSwig<BR>&gt; &gt;&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;&gt; OK, please update the CMakeLists.txt 
file in Utilities.<BR>&gt; &gt;&gt; &gt;&gt;&gt; That should be the last of 
them.<BR>&gt; &gt;&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;&gt; -Bill<BR>&gt; 
&gt;&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;&gt; At 04:27 PM 7/7/2003, 
Miller, James V (Research) wrote:<BR>&gt; &gt;&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt; 
&gt;&gt;&gt; &gt;Bill,<BR>&gt; &gt;&gt; &gt;&gt;&gt; &gt;<BR>&gt; &gt;&gt; 
&gt;&gt;&gt; &gt;They are all being set to something like<BR>&gt; &gt;&gt; 
&gt;&gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;&gt;&gt; &gt;//Path to an internal 
program.<BR>&gt; &gt;&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; 
&gt;GCCXML:FILEPATH=C:/projects/I2/Insight-net/bin/$(IntDir)/gccxml.exe<BR>&gt; 
&gt;&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt; &gt;&gt;&gt;<BR>&gt; &gt;&gt; 
&gt;&gt;&gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; &gt;<BR>&gt; &gt;&gt; 
&gt;<BR>&gt; &gt;&gt; 
&gt;_______________________________________________<BR>&gt; &gt;&gt; 
&gt;Insight-developers mailing list<BR>&gt; &gt;&gt; 
&gt;Insight-developers at itk . org<BR>&gt; &gt;&gt; &gt;<A 
href="http://www . itk . org/mailman/listinfo/insight-developers" 
target=_blank>http://www . itk . org/mailman/listinfo/insight-developers</A><BR>&gt; 
&gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt;<BR>&gt;<BR>&gt; 
</FONT></P></BODY></HTML>

------_=_NextPart_001_01C34578.06891112--