[IGSTK-Users] Build Problem

Mehdi Esteghamatian mestegha at uwo.ca
Thu Sep 10 17:44:34 EDT 2009


Hi All & Andinet,

I gave a shot to Example folder in the IGSTK. However, I could not compile it. I wonder why it did not compile when I built the whole source before?

BTW, I look into environment variables. I could track down a couple of variable called 'VTKBUILD' and 'VTKSOURCE' that are referring to respective paths. However, I still have the problem?!  

Thank you so much,

Mehdi


----- Original Message -----
From: Andinet Enquobahrie <andinet.enqu at kitware.com>
Date: Tuesday, September 8, 2009 7:35 pm
Subject: Re: [IGSTK-Users] Build Problem
To: Mehdi Esteghamatian <mestegha at uwo.ca>

> On Tue, Sep 8, 2009 at 5:48 PM, Mehdi 
> Esteghamatian<mestegha at uwo.ca> wrote:
> > Perfect! It was compiled successfully. Nonetheless, when I am 
> trying run
> > executable files in the bin folder it states it cannot find 
> vtkCommon.dll?!
> This is a path problem... look into that.
> 
> > BTW, please let me know if you removed 
> 'OpenIGTLinkTrackerBroadcasting' from
> > the Sandbox? It used to work with "OpenIGTLink IF" module in 
> the Slicer3? Is
> > there any replacement for that so that I can use the code to 
> pull out
> > tracking information of the Aurora magnetic tracking system.
> 
> This has been moved to the main IGSTK CVS.. look in  the 
> examples subdirectory
> 
> 
> >
> >
> >
> > ----- Original Message -----
> > From: Andinet Enquobahrie <andinet.enqu at kitware.com>
> > Date: Tuesday, September 8, 2009 3:08 pm
> > Subject: Re: [IGSTK-Users] Build Problem
> > To: Mehdi Esteghamatian <mestegha at uwo.ca>
> > Cc: igstk-users at public.kitware.com
> >
> >> Hi Mehdi-
> >>
> >> Can you try the CVS version?
> >>
> >> cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/IGSTK login
> >> answer by 'igstk'
> >> cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/IGSTK 
> co IGSTK
> >>
> >>
> >> For the sandbox:
> >>
> >> cvs -d :pserver:anonymous at public.kitware.com:/cvsroot/IGSTK 
> co Sandbox
> >>
> >> Let us know if you still encounter compilation errors.
> >>
> >> Thanks,
> >> -Andinet
> >>
> >> On Tue, Sep 8, 2009 at 1:49 PM, Mehdi
> >> Esteghamatian<mestegha at uwo.ca> wrote:
> >> > Hello Everybody,
> >> >
> >> > I am trying to compile igstk-4-0 on Windows XP machine. I get
> >> stuck into ITK
> >> > version issue I think.
> >> >
> >> > MSVC threw the following error. I even replaced the
> >> itkVersion.cxx file with
> >> > an old one (InsightToolkit-3.10.0) . Nonetheless, it did 
> not work?!
> >> >
> >> > I would be appreciative for any clue or code snippets.
> >> >
> >> > Thank you,
> >> >
> >> > Mehdi
> >> >
> >> >
> >> > 1>------ Build started: Project: igstkVersionTest,
> >> Configuration: Debug
> >> > Win32 ------
> >> > 2>------ Skipped Build: Project: Continuous, Configuration:
> >> Debug Win32
> >> > ------
> >> > 2>Project not selected to build for this solution configuration
> >> > 3>------ Skipped Build: Project: RUN_TESTS, Configuration:
> >> Debug Win32
> >> > ------
> >> > 3>Project not selected to build for this solution configuration
> >> > 4>------ Skipped Build: Project: Nightly, Configuration: Debug
> >> Win32 ------
> >> > 4>Project not selected to build for this solution configuration
> >> > 5>------ Skipped Build: Project: Experimental, Configuration:
> >> Debug Win32
> >> > ------
> >> > 5>Project not selected to build for this solution configuration
> >> > 6>------ Skipped Build: Project: NightlyMemoryCheck,
> >> Configuration: Debug
> >> > Win32 ------
> >> > 6>Project not selected to build for this solution configuration
> >> > 1>Linking...
> >> > 1>igstkVersionTest.obj : error LNK2019: unresolved external 
> symbol>> > "__declspec(dllimport) public: static char const * __cdecl
> >> > itk::Version::GetITKSourceVersion(void)"
> >> > (__imp_?GetITKSourceVersion at Version@itk@@SAPBDXZ) referenced
> >> in function
> >> > _main
> >> > 1>igstkVersionTest.obj : error LNK2019: unresolved external 
> symbol>> > "__declspec(dllimport) public: static int __cdecl
> >> > itk::Version::GetITKBuildVersion(void)"
> >> > (__imp_?GetITKBuildVersion at Version@itk@@SAHXZ) referenced in
> >> function _main
> >> > 1>igstkVersionTest.obj : error LNK2019: unresolved external 
> symbol>> > "__declspec(dllimport) public: static int __cdecl
> >> > itk::Version::GetITKMinorVersion(void)"
> >> > (__imp_?GetITKMinorVersion at Version@itk@@SAHXZ) referenced in
> >> function _main
> >> > 1>igstkVersionTest.obj : error LNK2019: unresolved external 
> symbol>> > "__declspec(dllimport) public: static int __cdecl
> >> > itk::Version::GetITKMajorVersion(void)"
> >> > (__imp_?GetITKMajorVersion at Version@itk@@SAHXZ) referenced in
> >> function _main
> >> > 1>igstkVersionTest.obj : error LNK2019: unresolved external 
> symbol>> > "__declspec(dllimport) public: static char const * __cdecl
> >> > itk::Version::GetITKVersion(void)"
> >> > (__imp_?GetITKVersion at Version@itk@@SAPBDXZ) referenced in
> >> function _main
> >> > 1>E:\Slicer\tmp\IGSTK-4-0-build\bin\Debug\igstkVersionTest.exe
> >> : fatal error
> >> > LNK1120: 5 unresolved externals
> >> > 1>Build log was saved at
> >> > "file://e:\Slicer\tmp\IGSTK-4-0-
> >> build\Testing\igstkVersionTest.dir\Debug\BuildLog.htm">
> >> 1>igstkVersionTest - 6 error(s), 0 warning(s)
> >> > 7>------ Skipped Build: Project: PACKAGE, Configuration: Debug
> >> Win32 ------
> >> > 7>Project not selected to build for this solution configuration
> >> > 8>------ Skipped Build: Project: INSTALL, Configuration: Debug
> >> Win32 ------
> >> > 8>Project not selected to build for this solution configuration
> >> > ========== Build: 0 succeeded, 1 failed, 8 up-to-date, 7
> >> skipped ==========
> >> >
> >> > _______________________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
> >> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20090910/c199a906/attachment-0001.html>


More information about the IGSTK-Users mailing list