[IGSTK-Users] errors building IGSTK 3.0 using Visual C++ .NET 2002
Anka Kochanowska
anka at bic.mni.mcgill.ca
Tue Feb 3 11:45:37 EST 2009
Hi!
I had the problem with FL/Fl.H and FL/Fl_Window.H beacause in the
release 3.0 some files include FL/Fl.h and FL/Fl_Window.h.
Simple fix - symbolic link
(in the FL directory ln -s Fl.H Fl.h)
FLTK manual says:
Header Files
The proper way to include FLTK header files is:
#include <FL/Fl_xyz.H>
* Microsoft Windows developers please note:* case *is* significant under
other operating systems, and the C standard uses the forward slash (/)
to separate directories. / Do not do any of the following:/
#include <FL\Fl_xyz.H>
#include <fl/fl_xyz.h>
#include <Fl/fl_xyz.h
I id not have other errors.
I am not using anymore the release 3.0 but the latest code from CVS.
Anka
Laurent Paul wrote:
> Dear Users,
>
> I have some problems building IGSTK 3.0. Options: No testing, no
> documentation, no examples, don't use FLTK
> I have just built ITK 3.4. I have VTK 5.0.3, CMake 2.4 patch 7.
> My system is:
> Windows XP pro 32 bits
> Visual C++ .net 2002 (Service Pack 1)
>
> Here are the 9 compilation errors (sorry in french ;-) ):
>
> c:\lib\IGSTK-3.0\Source\igstkCircularSimulatedTracker.cxx(146): error
> C2248: 'igstk::SimulatedTracker::ResultType' : impossible d'accéder à
> protected typedef déclaré(e) dans la classe 'igstk::SimulatedTracker'
>
> c:\lib\IGSTK-3.0\Source\igstkCircularSimulatedTracker.cxx(146): error
> C2248: 'igstk::SimulatedTracker::ResultType' : impossible d'accéder à
> protected typedef déclaré(e) dans la classe 'igstk::SimulatedTracker'
> c:\lib\IGSTK-3.0\Source\igstkSimulatedTracker.h(57) : voir la
> déclaration de 'igstk::SimulatedTracker::ResultType'
> c:\lib\IGSTK-3.0\Source\igstkSimulatedTracker.h(41) : voir la
> déclaration de 'igstk::SimulatedTracker'
>
> c:\lib\IGSTK-3.0\Source\igstkCoordinateSystem.cxx(423): error C2784:
> 'void igstk::CoordinateSystemTransformToResult::Initialize(const
> igstk::Transform &,const TSource *,const TDestination *)' : impossible
> de déduire l'argument de modèle de 'const *' à partir de
> 'igstk::CoordinateSystem::ConstPointer'
>
> c:\lib\IGSTK-3.0\Source\igstkImageSpatialObject.txx(234): error C2784:
> 'void igstk::CoordinateSystemTransformToResult::Initialize(const
> igstk::Transform &,const TSource *,const TDestination *)' : impossible
> de déduire l'argument de modèle de 'const *' à partir de
> 'igstk::CoordinateSystem::Pointer'
>
> c:\lib\IGSTK-3.0\Source\igstkView.cxx(412): error C2784: 'void
> igstk::CoordinateSystemTransformToResult::Initialize(const
> igstk::Transform &,const TSource *,const TDestination *)' : impossible
> de déduire l'argument de modèle de 'const *' à partir de
> 'igstk::CoordinateSystem::Pointer'
>
> c:\lib\IGSTK-3.0\Source\igstkLandmark3DRegistration.cxx(618): error
> C2784: 'void
> igstk::CoordinateSystemTransformToResult::Initialize(const
> igstk::Transform &,const TSource *,const TDestination *)' : impossible
> de déduire l'argument de modèle de 'const *' à partir de
> 'igstk::CoordinateSystem::Pointer'
>
> c:\lib\IGSTK-3.0\Source\igstkLandmark3DRegistration.cxx(654): error
> C2784: 'void
> igstk::CoordinateSystemTransformToResult::Initialize(const
> igstk::Transform &,const TSource *,const TDestination *)' : impossible
> de déduire l'argument de modèle de 'const *' à partir de
> 'igstk::CoordinateSystem::Pointer'
>
> c:\lib\IGSTK-3.0\Source\igstkImageSpatialObject.txx(234): error C2784:
> 'void igstk::CoordinateSystemTransformToResult::Initialize(const
> igstk::Transform &,const TSource *,const TDestination *)' : impossible
> de déduire l'argument de modèle de 'const *' à partir de
> 'igstk::CoordinateSystem::Pointer'
>
> c:\lib\IGSTK-3.0\Source\igstkImageSpatialObject.txx(234): error C2784:
> 'void igstk::CoordinateSystemTransformToResult::Initialize(const
> igstk::Transform &,const TSource *,const TDestination *)' : impossible
> de déduire l'argument de modèle de 'const *' à partir de
> 'igstk::CoordinateSystem::Pointer'
>
>
> Besides, I also tried to build linking FLTK but my compiler doesn't
> find FL/Fl.H. Path to the the include dir is well set. Quite strange
> since I use FLTK since several years... Never had that kind of error.
> I tried using FLTK 1.1.7 and FLTK 1.1.6 with no success....
> Please, is someone can help me to build it!
>
> Many thanks,
>
> Laurent.
> _______________________________________________
> IGSTK-Users mailing list
> IGSTK-Users at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
More information about the IGSTK-Users
mailing list