[Insight-users] error LNK2001

Luis Ibanez luis.ibanez at kitware.com
Fri Jul 23 11:34:07 EDT 2004


Hi Sun,

The function

            ifuShowText()

is defined in

    InsightApplications/
                    Auxiliary/
                         FltkImageViewer/
                                   fltkUtils.cxx


You are probably attempting to use the FltkImageViewer
library from InsightApplications but you are forgetting
to add it to the list of libraries to link with, in the
CMakeLists.txt file of your project.


  Regards,


     Luis


----------------
Sun Hao wrote:

> Hi everybody,
>     I build my project in Visual C++ using ITK and FLTK, but it turns 
> out some link errors, one of them is like that:
>  
> DesktopBase.obj : error LNK2001: unresolved external symbol "int __cdecl 
> ifuShowText(char const *)" (?ifuShowText@@YAHPBD at Z 
> <mailto:?ifuShowText@@YAHPBD at Z>)
>  
> 
> How can I solve this problem?
>  
> Henry
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users





More information about the Insight-users mailing list