AW: [Insight-users] link error related probablz to FLTK

Luis Ibanez luis.ibanez at kitware.com
Mon, 15 Mar 2004 23:24:44 -0500


Hi Zein,

Yes, this should be solved with CMake 1.8.3.

The "..TrackMouseEvent" symbol is defined in
the windows library  "comctl32".

Can you please look at your .dsp file and
check if this library is being added to the
link line ?


Thanks


   Luis


-------------
salah wrote:

> Thanks Luis for the rapid answer!
> 
> If I have well understood, this problem is solved for new
> versions of CMake! I've actually used CMake 1.8.3 .
> 
> In case it may help, I have attached the CMakeList Files, 
> renamed for convenience:
> 
> - CMakeList_main.txt for the main Applications directory
> - CMakeList_sub.txt for that only-one subdirectory
> 
> Many Thanks,
> 
> Zein
> 
> 
> 
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Luis Ibanez [mailto:luis.ibanez at kitware.com]
> Gesendet: Freitag, 12. März 2004 15:02
> An: salah
> Cc: ITK Users (E-Mail)
> Betreff: Re: [Insight-users] link error related probablz to FLTK
> 
> 
> 
> HI Zein,
> 
> This is explained in the FAQ,
> 
> http://www.itk.org/cgi-bin/InsightFAQ/InsightFAQ?req=index
> 
> Please look at entry 5.3.
> 
> http://www.itk.org/cgi-bin/InsightFAQ/InsightFAQ?req=show&file=faq05.003.htp
> 
> Regards,
> 
> 
> 
>    Luis
> 
> 
> -------------
> salah wrote:
> 
> 
>>Hello all.
>>
>>Could anzbodz please guess what these link error are?
>>
>>Generating Code...
>>Linking...
>>   Creating library Debug\Masto16.lib and object Debug\Masto16.exp
>>fltkd.lib(Fl_x.obj) : error LNK2019: unresolved external symbol ___WSAFDIsSet at 8 referenced in function "int __cdecl fl_wait(double)" (?fl_wait at  at YAHN at Z)
>>fltkd.lib(Fl_x.obj) : error LNK2019: unresolved external symbol _select at 20 referenced in function "int __cdecl fl_wait(double)" (?fl_wait at  at YAHN at Z)
>>fltkd.lib(Fl_x.obj) : error LNK2019: unresolved external symbol __imp___TrackMouseEvent at 4 referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc at  at YGJPAUHWND__ at  at IIJ at Z)
>>Debug\Masto16.exe : fatal error LNK1120: 3 unresolved externals
>>
>>Build log was saved at ""
>>Masto16 - 4 error(s), 0 warning(s)
>>
>>
>>Many thanks,
>>
>>Zein
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users at itk.org
>>http://www.itk.org/mailman/listinfo/insight-users
>>
> 
> 
> 
> 
>