[Insight-developers] Unresolved external SimpleMemberCommand in VC++

Luis Ibanez ibanez@choroid.cs.unc.edu
Fri, 19 Oct 2001 06:05:19 -0400 (EDT)


The Intel C++ build is reporting an unresolved external
in /Examples/Curve2DExtractor but that seem to be a
problem with its cvs update.

The linker is looking for a method GetDisplayListUpdateCommand()
in fltk::Shape3D, returning a SimpleMemberCommand<>,  but
this method has been modified to return a SimpleConstMemberCommand<>.

It looks like the update of /Unsupported/FltkImageViewer is out
of sync.


any ideas ?


BTW, the SimpleConstMemberCommand was added to itkCommand.h
because SimpleMemberCommand didn't allow to call const member
methods.


Thanks


Luis



--------------------------

             Linking...
             ceExtractorConsole.obj : error LNK2001: unresolved external
symbol "public: class itk::SmartPointer<class
itk::SimpleMemberCommand<class fltk::Shape3D> >  __thiscall
fltk::Shape3D::GetDisplayListUpdateCommand(void)"
(?GetDisplayListUpdateCommand@Shape3D@fltk@@QAE?AV?$SmartPointer@V?$SimpleMemberCommand@VShape3D@fltk@@@itk@@@itk@@XZ)
             ceExtractorConsole.obj : error LNK2001: unresolved external
symbol "public: class itk::SmartPointer<class
itk::SimpleMemberCommand<class fltk::Shape3D> >  __thiscall
fltk::Shape3D::GetDrawCommand(void)"
(?GetDrawCommand@Shape3D@fltk@@QAE?AV?$SmartPointer@V?$SimpleMemberCommand@VShape3D@fltk@@@itk@@@itk@@XZ)
             Release/Curves2DExtractor.exe : fatal error LNK1120: 2
unresolved externals
             Error executing xilink6.exe.
             Curves2DExtractor.exe - 3 error(s), 0 warning(s)
             --------------------Configuration: OperatingRoom - Win32
Release--------------------
             Linking...
             xilink6: executing 'C:\PROGRA~1\MICROS~2\VC98\bin\link.exe'