[Insight-users] Re: compiling problem with insight applications 2.4

Luis Ibanez luis.ibanez at kitware.com
Tue Jul 10 10:11:11 EDT 2007


Hi 夏松

1) Are you opening the "InsightApplications.dsw" file ?

2) In what directory did you build ITK ?

3) Check the CMakeCache.txt file in your InsightApplications
   binary directory and find what the content is for the
   variable "ITK_DIR".  Does it match the directory in
   question (2) ?

4) What compilation mode are you using for Insight Applications ?
   (Debug ? Release ? Other?)

5) What compilation mode did you used for ITK ?
   (Debug ? Release ? Other?)



Please let us know



  Thanks


     Luis


----------------
夏松 wrote:
> hello Luis :
>       when i compiled the insight applications 2.4 in vc++6.0,i was told that "cannot open file \InsightToolkit-2.4.0\BINARY\bin\.\Debug.obj". I really don't know what's wrong with it and how to solve this problem.
> Could you please help me ?i will deeply appreciate that.Looking forward for your replying .
>       Best wishes
>        
>       
> 
> 	
> 
> ======= 2007-07-09 19:31:31 您在来信中写道:=======
> 
> 
>>Hi 夏松
>>
>>The file itkImageToVTKImageFilter.h has been in the
>>InsightApplications/Auxiliary/vtk directory since
>>October 2002, as you can see from the CVS web interface:
>>http://www.itk.org/cgi-bin/viewcvs.cgi/Auxiliary/vtk/?root=InsightApplications
>>
>>
>>
>>It seems that you have not yet downloaded the "InsightApplications"
>>checkout.
>>
>>
>>You can download the .h and .txx files from the Web interface:
>>
>>http://www.itk.org/cgi-bin/viewcvs.cgi/*checkout*/Auxiliary/vtk/itkImageToVTKImageFilter.h?rev=1.5.2.1&root=InsightApplications
>>Note that you need two files:
>>
>>            itkImageToVTKImageFilter.h
>>            itkImageToVTKImageFilter.txx
>>
>>
>>Just to help you get started, please find the two
>>files attached to this email.
>>
>>however...
>>
>>for a future occasions you should learn how to
>>download the software directly from www.itk.org.
>>
>>
>>
>>  Regards,
>>
>>
>>
>>      Luis
>>
>>
>>
>>------------------------
>>夏松 wrote:
>>
>>>Hello Luis :
>>>      sorry to bother you again. It seems that the file itkImageToVITImageFilter.h isn't in the directory InsightApplications/Auxiliary/vtk.I followed each step in the "Getting Started with ITK + VTK" in order to show the image using vc++6.0. but the file itkImageToVTKImageFilter.h still cann't be fond by the compiler,i am so frustrated .i don't know how to solve it .i hope you can give a hand to me .thanks again.
>>>     xs 
>>>     Regards
>>>		 
>>>
>>>        xs81525 at 126.com
>>>          2007-07-09
>>>     
>>>	
>>>
>>>
>>>
>>>
>>>>        'itkImageToVTKImageFilter.h'
>>>>
>>>>
>>>>in the "InsightApplications" checkout,
>>>>it will be in the directory:
>>>>
>>>>
>>>>   InsightApplications/Auxiliary/vtk
>>>>
>>>>
>>>>You can get the InsightApplications source tree by
>>>>going to the ITK download page:
>>>>
>>>> http://www.itk.org/HTML/Download.php
>>>>
>>>>and following the instructions on getting the tarballs,
>>>>or the instructions on how to use CVS.
>>>>
>>>>
>>>>You will also find download instructions in the
>>>>ITK Software Guide:
>>>>
>>>>
>>>>     http://www.itk.org/ItkSoftwareGuide.pdf
>>>>
>>>>
>>>>
>>>>
>>>> Regards,
>>>>
>>>>
>>>>    Luis
>>>>
>>>>
>>>>
>>>>----------------
>>>>夏松 wrote:
>>>>
>>>>
>>>>>Hello  Luis:
>>>>>    I deeply appreciate your replying.i follow the directions written in the ITK Software Guide. But still the same compiling problem occured("LINK : fatal error LNK1104: cannot open file "\InsightToolkit-3.0.0\Binary\bin\.\Debug.obj"").
>>>>>    In addition, i downloaded the welcome documents from the home page. i did as "Getting Started with ITK + VTK"said.But when compiling ,it is said that "fatal error C1083: Cannot open include file: 'itkImageToVTKImageFilter.h': No such file or directory"  .
>>>>>    i want to how to solve these two problems.
>>>>>    looking forward for your replying 
>>>>>    Best wishes.
>>>>>      xs
>>>>>    xs81525 at 126.com
>>>>>      2007-7-5
>>>>>
>>>>>
>>>>
>>>= = = = = = = = = = = = = = = = = = = =
>>>			
>>>
>>> 
>>>
>>
> 
> = = = = = = = = = = = = = = = = = = = =
> 			
> 
>         致
> 礼!
>  
> 				 
>         夏松
>         xs81525 at 126.com
>           2007-07-10
> 


More information about the Insight-users mailing list