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