[Insight-developers] Linux build error in gerrit after git rm

Gang Song songgang97 at gmail.com
Fri Aug 31 23:38:44 EDT 2012


Matt, thank you!

-Gang


On Fri, Aug 31, 2012 at 9:57 PM, Matt McCormick
<matt.mccormick at kitware.com> wrote:
> Hi Gang,
>
> The HeaderTests get regenerated properly now, but only with CMake
> 2.8.7 or greater.  I have updated the CMake used by dash5ubuntu to
> 2.8.9, so this will not be an issue on this box.  Regardless, the
> HeaderTest will get regenerated properly on the next clean build, and
> you can safely ignore this error.
>
> Thanks,
> Matt
>
> On Fri, Aug 31, 2012 at 2:41 PM, gang song <songgang97 at gmail.com> wrote:
>> In my gerrit branch, I used "git rm" to remove a class
>>
>>  git rm itkANTSNeighborhoodCorrelationImageToImageMetricv4DenseGetValueAndDerivativeThreader.h
>>  git rm itkANTSNeighborhoodCorrelationImageToImageMetricv4DenseGetValueAndDerivativeThreader.hxx
>>
>> The gerrit patch built OK in Mac OSX dashboard. But in Linux, there is
>> a built error related to the removed file. It seems that
>> ITKMetricsv4HeaderTest1 tries to include the file although it has been
>> removed.
>>
>> [ 61%] Building CXX object
>> Modules/Registration/Metricsv4/CMakeFiles/ITKMetricsv4HeaderTest1.dir/test/ITKMetricsv4HeaderTest1.cxx.o
>> /.../ITK-Gerrit-bin/Modules/Registration/Metricsv4/test/ITKMetricsv4HeaderTest1.cxx:31:100:
>> fatal error: itkANTSNeighborhoodCorrelationImageToImageMetricv4DenseGetValueAndDerivativeThreader.hxx:
>> No such file or directory
>> compilation terminated.
>>
>> The dashboard link is
>> http://open.cdash.org/buildSummary.php?buildid=2540909 . Did anyone
>> see a similar issue before?
>>
>>
>> Thanks
>>
>> Gang Song
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list