[Insight-users] Build errors during ImageViewer application
Luis Ibanez
luis . ibanez at kitware . com
Sat, 06 Sep 2003 06:53:35 -0400
HI Alejandro,
It seems that you are using version 1.2.
We are about to release version 1.4, most
of these third-party library dependencies
have been solved since version 1.2. The VXL
libraries have also been renamed.
You may want to give it a try to the CVS
version, which is pretty much what you will
see in ITK 1.4.
You can get a tarball from WinCVS at
http://www . itk . org/cgi-bin/viewcvs . cgi/cvs_root . tar . gz?tarball=1&cvsroot=Insight
You may want to look at the previous message
concerning the typical procedure for building the applications
http://www . itk . org/pipermail/insight-users/2003-September/004803 . html
Please let us know if you find any problems.
Thanks
Luis
----------------------
Alejandro Frangi wrote:
> Luis,
>
> One thing. I also had some problems in building the applications. In my
> opinion you do not easily compile all of them. For instance, in Cmake i
> could noy see any way to say where do you have the GLUT libs. On the
> other hand, the compilation of ImageViewer depends on having them in
> your system. I do have them but somehow they are not recognized by the
> cmake, and ImageViewer does not get compiled. Any idea?
>
> Another point is that some of the applications want to link to
> libVXLNumerics. But I do not know how to get this lib from the Insight
> installation. I do get a libITKNumerics from the vxl subdir. So, what
> happens? Are there two versions of the same lib? Why the applications do
> not link to libITKNumerics ?
>
> Thanks for any clue.
>
> Alex
>
> -----Mensaje original-----
> De: insight-users-admin at itk . org [mailto:insight-users-admin at itk . org] En
> nombre de Luis Ibanez
> Enviado el: jueves, 04 de septiembre de 2003 15:40
> Para: Sandy April
> CC: 'insight-users at itk . org'
> Asunto: Re: [Insight-users] Build errors during ImageViewer application
>
>
> Hi Sandy,
>
> It is better to keep InsightApplications in a separate folder from
> Insight. CMake allow you to select any directory. Simply create a
> binary directory for building InsightApplications, and when you
> configure with CMake, provide both the Source and Binary directories for
> InsightApplications.
>
> You will be prompted for the ITK_DIR directory (where you built ITK),
> and then you will have options for selecting FLTK and VTK.
>
> Please let us know if you find any problem,
>
>
> Thanks
>
>
> Luis.
>
>
> ----------------------
> Sandy April wrote:
>
>
>>Hi Luis,
>>Sorry I needed to confirm again.I have downloaded Insight toolkit,
>>cmake in a folder called itk.I have created a folder BITK in that as a
>
>
>>binary folder.I did setup cmake for Insight toolkit and BITK. I was
>>able to run itk. Now I was trying to run insight applications.should I
>
>
>>include this insight application folder in Insight toolkit folder or
>>should I be having the application as a seperate folder in itk
>>directory and setup cmake for the application. Please guide me through
>>
>>*/Luis Ibanez <luis . ibanez at kitware . com>/* wrote:
>>
>>
>> Hi Sandy,
>>
>>
>> Your configuration is missing to link with ITK libraries.
>>
>> Did you configure InsightApplications using CMake ?
>>
>> Did you run CMake at the top level of the InsightApplication
>> directory ? (not in one of the subdirectories).
>>
>> Did you provide the binary directory where you built ITK ?
>>
>>
>>
>> Luis
>>
>>
>>
>> --------------------
>> Sandy Gowda wrote:
>> > Hi,
>> > I have tried to run ImageViewer application. There were no
>> compilation
>> > error when I try to execute it gave me following errors. It gave
>
> 90
>
>> > errors but I am attaching some errors. Please let me know what I
>> should do.
>> >
>> > --------------------Configuration: itkImageViewer - Win32
>> > Debug--------------------
>> > Linking...
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> "public:
>> > static void ! __cdecl itk::LightObject::operator delete(void *)"
>> > (??3LightObject at itk@@SAXPAX at Z )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> "public:
>> > static void * __cdecl itk::LightObject::operator new(unsigned
>
> int)"
>
>> > (??2LightObject at itk@@SAPAXI at Z )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> "public:
>> > static class itk::SmartPointer __cdecl
>> > itk::ObjectFactoryBase::CreateInstance(char const *)"
>> > (?CreateInstance at ObjectFactoryBase@itk@@SA?AV?$SmartPointer
>> >
>> > @VLightObject at itk@@@2 at PBD@Z)
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: class itk::DataObject * __thiscall
>> > itk::ProcessObject::GetOutput(unsigned int)"
>> > (?GetOutput at ProcessObject@itk@@IAEPAVDataObj! ect at 2@I at Z
>> > )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: virtual void __thiscall
>> > itk::ProcessObject::PropagateResetPipeline(void)"
>> > (?PropagateResetPipeline at ProcessObject@itk@@MAEXXZ
>> > )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: virtual void __thiscall
>> > itk::ProcessObject::RemoveOutput(class itk::DataObject *)"
>> > (?RemoveOutput at ProcessObject@itk@@MAEXPAVDataObject at 2@@Z
>> > )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: virtual void __thiscall
>> itk::ProcessObject::AddOutput(class
>> > itk::DataObject *)"
>> > (?AddOutput at ProcessObject@itk@@MAEXPAVDataObject at 2@@Z
>> > )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: virtual void __thiscall
>> > itk::ProcessObject::SetNthOutput(unsigned int,class
>> itk::DataObject *)"
>> > (?SetNthOutput at ProcessObject@itk@@MAEXIPAVDataObject at 2@@Z
>> > )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: virtual void __thiscall
>> > itk::ProcessObject::GenerateOutputRequestedRegion(class
>> itk::DataObject
>> > *)"
>> >
>>
>>(?GenerateOutputRequestedRegion at ProcessObject@itk@@MAEXPAVDataObject at 2
>>@@Z
>>
>> > )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: virtual void __thiscall
>> > itk::ProcessObject::GenerateInputRequestedRegion(void)"
>> > (?GenerateInputRequestedRegion at ProcessObject@itk@@MAEXXZ
>> > )
>> > itkImageViewer.obj : error LNK2001: unresolved external symbol
>> > "protected: virtual void __thiscall
>> > itk::ProcessObject::RemoveInput(class itk::DataObject *)"
>> > (?RemoveInput at ProcessObject@itk@@MAEXPAVDataObject at 2@@Z
>> > )
>> > Can anybody help me. I dont know whether I am doing anything
>> wrong if
>> > anybody can let me know how to go by using insight application
>> it would
>> > really help.If i have to use fltk should I download in the same
>> folder
>> > as insight toolkit and should I use cmake for that. Please let
>> me know.
>> > Thank you
>> >
>> >
>>
> ------------------------------------------------------------------------
>
>> > Do you Yahoo!?
>> > Yahoo! SiteBuilder
>> > - Free,
>> > easy-to-use web site design software
>>
>>
>>
>>----------------------------------------------------------------------
>>--
>>Do you Yahoo!?
>>Yahoo! SiteBuilder
>><http://us . rd . yahoo . com/evt=10469/*http://sitebuilder . yahoo . com> -
>>Free, easy-to-use web site design software
>
>
>
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk . org http://www . itk . org/mailman/listinfo/insight-users
>
>