[Insight-users] Problems while compling fltk code for Mouse evnet
handles
Luis Ibanez
luis.ibanez at kitware.com
Fri Jun 4 13:47:25 EDT 2004
Hi Max,
This has been explained in the FAQ:
http://www.itk.org/cgi-bin/InsightFAQ/InsightFAQ?req=show&file=faq05.003.htp
What version of CMake are you using ?
This was fixed in the FindFLTK.cmake file on
November 2002. You probably are using a very
old CMake version.
Regards,
Luis
--------------
Max wrote:
> Hello
> I am trying to do some stuff with fltk, i successfully implemented a
> window with some diagrams on it and with quit button and like. Its
> working fine.
> But when i am trying to do a Mouse Event Handle for showing some extra
> information when the mouse moves over the diagrams in the window, It is
> giving me Linking Error, like this:
>
> Compiling...
> Window.cpp
> c:\Documents and Settings\\My
> Documents\FLInventorWin\include\FL\Fl_Widget.H(156) : warning C4312:
> 'type cast' : conversion from 'long' to 'void *' of greater size
> Generating Code...
> Linking...
> fltk.lib(Fl_x.obj) : error LNK2019: unresolved external symbol
> __imp___TrackMouseEvent at 4 <mailto:__imp___TrackMouseEvent at 4> referenced
> in function "long __stdcall WndProc(struct HWND__ *,unsigned
> int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ at Z
> <mailto:?WndProc@@YGJPAUHWND__@@IIJ at Z>)
> Debug/Sol.exe : fatal error LNK1120: 1 unresolved externals
>
> What is reason for this error, I am not able to resolve it,
>
> Thanx
> Max
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger
> <http://messenger.yahoo.com/>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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