[Insight-users] ITK

Luis Ibanez luis . ibanez at kitware . com
Mon, 08 Dec 2003 21:58:53 -0500


Hi Peter,

InsightApplications is fully dependent on the ITK toolkit.
It is not worth to attempt to build InsightApplications
if your build of Insight has not been successful yet.


Please do the following:


1) Remove the binary directory where you tried to build
    InsightApplications

2) Remove the binary directory where you tried to build
    Insight

3) Start from scratch following the configuration process
    described in the SoftwareGuide

       http://www . itk . org/ItkSoftwareGuide . pdf

    Installation is discussed in Chapter One.

     Make sure that when you configure with CMake, you
     select the right compiler in the upper-right corner
     of the CMake GUI interface.  (VC++ 7.0 in your case).


4)  If you still get compilation errors please post to
     the list the file CMakeCache.txt that CMake creates
     in the binary directory where you build ITK.



    Thanks


      Luis


----------------------
Peter Noël wrote:

> Hi,
> 
> All of this Errors you can see at this Email, are more than one times in 
> the task list in Visual C++.
> 
> Thanks
> 
> peter
> 
>  
> 
> This Errors at application:
> 
> c:\itk\InsightApplications-1.4.0\StreamedWatershedSegmentation\ParameterFileParser\param.h(30): 
> error C2065: 'exit' : undeclared identifier
> 
> FuzzyConnectedness fatal error LNK1104: cannot open file 'ITKAlgorithms.lib'
> 
> c:\itk\InsightApplications-1.4.0\ITKFilterLib\ITKFilterLibTest.cxx(65): 
> warning C4244: '=' : conversion from 'double' to 
> 'g_ItkFilterLibDataType', possible loss of data
> 
> and at Insight:
> 
> c:\itk\InsightToolkit-1.4.0\Utilities\vxl\testlib\testlib_root_dir.cxx(29): 
> error C2039: 'getenv' : is not a member of 'std'
> 
> c:\itk\InsightToolkit-1.4.0\Utilities\kwsys\SystemTools.cxx(1667): error 
> C2065: 'exit' : undeclared identifier
> 
> Histogram fatal error LNK1104: cannot open file 'itksys.lib'
> 
> vnl_test_all fatal error LNK1104: cannot open file 'itktestlib.lib'
> 
> c:\itk\InsightToolkit-1.4.0\Utilities\vxl\v3p\netlib\exit.c(34): warning 
> C4013: 'exit' undefined; assuming extern returning int
> 
> C:\itk\InsightToolkit-1.4.0\Utilities\vxl\vnl\vnl_sample.h(36): warning 
> C4244: '=' : conversion from 'double' to 'float', possible loss of data
> 
> C:\itk\InsightToolkit-1.4.0\Utilities\vxl\vnl\vnl_vector.txx(728): 
> warning C4244: 'argument' : conversion from 'abs_r' to 'const 
> std::complex<_Ty>::_Ty', possible loss of data
>         with
>         [
>             _Ty=float
>         ]
> 
> itkzlib warning LNK4221: no public symbols found; archive member will be 
> inaccessible
> 
> Luis Ibanez <luis . ibanez at kitware . com> schrieb am 08.12.03 23:10:27:
>  >
>  > Hi Peter,
>  >
>  > Please post the errors message that you get,
>  >
>  > At least the first 100 lines :-)
>  >
>  > Thanks
>  >
>  >
>  > Luis
>  >
>  >
>  > ---------------------
>  > Peter Noël wrote:
>  >
>  >
>  >
>  > > Hello,
>  > >
>  > > i have a Problem with ITK, i hope somebody can help me. I want to
>  > > install ITK, but i get all the time a Error Message. My System is 
> WinXP
>  > > and Visual C++ 7. With CMake I don't have any Problem, but when i make
>  > > Buildall at Visual C++ 7, i get a hole Page of Errors. I think the 
> main
>  > > error is, that it don't find itksys.lib! That is one of the most 
> Errors.
>  > > I hope some body can help me!
>  > >
>  > > Thanks
>  > >
>  > > peter noel
>  > >
>  > >
>  > >
>  > >
>  > > 
> ______________________________________________________________________________
>  > > Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE 
> Screensaver1.2
>  > > Kostenlos downloaden: *http://screensaver . web . de/?mc=021110*
>  > > _______________________________________________ Insight-users mailing
>  > > list Insight-users at itk . org
>  > > http://www . itk . org/mailman/listinfo/insight-users
>  >
>  >
>  >
>  > _______________________________________________
>  > Insight-users mailing list
>  > Insight-users at itk . org
>  > http://www . itk . org/mailman/listinfo/insight-users
> 
> ______________________________________________________________________________
> Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2
> Kostenlos downloaden: *http://screensaver . web . de/?mc=021110*