[Insight-users] [vtkusers] [ITK build error]

Bill Lorensen bill.lorensen at gmail.com
Mon Apr 16 12:33:02 EDT 2012


You have found a bug. In
Modules/Bridge/VtkGlue/test/itkVTKImageToImageFilterTest.cxx
change
int itkVTKImageToImageFilterTest(int, char**)
with
int itkVTKImageToImageFilterTest(int, char*[])

I'll submit a patch to fix it.


On Mon, Apr 16, 2012 at 3:28 AM, Humayun Irshad
<humayun.irshad at gmail.com> wrote:
> Dear all,
>
> First I run cmak for ITK 4.1.0 with following option enabled
>
> Module_ITKVtkGlue (checked)
> ITKv3_compatibility (checked)
> Build_Shared_libs (checked)
> build_examples (checked)
> build_testing (checked)
> ITK_Build_All_Modules (checked)
> ITK_Review (checked)
>
> I already build VTK 5.10.0 and InsightApplication 4.1.1. When i build
> ITK.4.1.0, then i found only one error during building process.
>
> 242>Linking...
> 241>   Creating library E:\ITK\ITK\Build\lib\Debug\ITKVtkGlueTestDriver.lib
> and object E:\ITK\ITK\Build\lib\Debug\ITKVtkGlueTestDriver.exp
> 242>Embedding manifest...
> 241>ITKVtkGlueTestDriver.obj : error LNK2001: unresolved external symbol
> "int __cdecl itkVTKImageToImageFilterTest(int,char * * const)"
> (?itkVTKImageToImageFilterTest@@YAHHQAPAD at Z)
> 242>Build log was saved at
> "file://e:\ITK\ITK\Build\Modules\Segmentation\LevelSetsv4\ITKLevelSetsv4HeaderTest1.dir\Debug\BuildLog.htm"
> 241>E:\ITK\ITK\Build\bin\Debug\ITKVtkGlueTestDriver.exe : fatal error
> LNK1120: 1 unresolved externals
> 242>ITKLevelSetsv4HeaderTest1 - 0 error(s), 0 warning(s)
> 241>Build log was saved at
> "file://e:\ITK\ITK\Build\Modules\Bridge\VtkGlue\test\ITKVtkGlueTestDriver.dir\Debug\BuildLog.htm"
> 241>ITKVtkGlueTestDriver - 2 error(s), 0 warning(s)
>
>
>
>
>
>
>
> --
> --
> Best Regards,
>
> HUMAYUN IRSHAD
> PhD student, University of Joseph Fourier, Grenoble, France
> Research Engineer,
> IPAL – Image & Pervasive Access Lab, Singapore
> UMI CNRS (I2R/A*STAR, NUS, UJF, UPMC, IT)
>
> Institute for Infocomm Research (I2R)
> 1 Fusionopolis Way
> #10-19 Connexis South Tower
> Singapore 138632
> Tel:+65-65162864
> Cell: +65-83851671
>
>
>
> _______________________________________________
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-users mailing list