Hi Mike

afaik: the fltkd.lib is the debug version of fltk.lib; rebuild the stuff 
with release optionand you get it.

To solve

unresolved external error for a routine called TrackMouseEvent

you must link against comctl32.lib.

Good luck

Rainer Rinke

Mike Werner schrieb:
>> Mike Werner wrote:
>>     
>>> CubeView.obj : error LNK2001: unresolved external symbol "private: virtual 
>>> void __thiscall Fl_Gl_Window::draw_overlay(void)" ([EMAIL 
>>> PROTECTED]@@EAEXXZ)
>>> CubeView.obj : error LNK2001: unresolved external symbol "public: virtual 
>>> void __thiscall Fl_Gl_Window::hide(void)" ([EMAIL PROTECTED]@@UAEXXZ)
>>> CubeView.obj : error LNK2001: unresolved external symbol "public: virtual 
>>> void __thiscall Fl_Gl_Window::show(void)" ([EMAIL PROTECTED]@@UAEXXZ)
>>> CubeView.obj : error LNK2001: unresolved external symbol "public: virtual 
>>> void __thiscall Fl_Gl_Window::flush(void)" ([EMAIL PROTECTED]@@UAEXXZ)
>>>
>>> I don't think it's finding any of my FLTK routines.  Any ideas?
>>>       
>>      Looks like you might not be linking with the fltkgl library (fltkgl.lib)
>>
>>      Try building the cube demo in fltk and looking at the build logs,
>>      and compare the build flags to your own.
>>
>>      FLTK's gl classes are in a separate lib from the core fltk.lib
>>      so that fltk apps not using opengl don't have to include its baggage.
>>     
>
> Greg - FLTK 1.1.9 built very cleanly using VC++ 6.0. So I assume it built 
> correctly. BUT - there are no files called 'fltk.lib' or 'fltkgl.lib' in the 
> \lib directory. There are files called 'fltkd.lib' and 'fltkgld.lib. If I add 
> both of these to the link list for my app I get only 1 unresolved external 
> error for a routine called TrackMouseEvent. Tried adding all the other 
> libraries in the \lib directory to the link list. Didn't help. Any 
> suggestions? Also, why is it that when I look at the Project Settings for 
> CubeView there is no reference to fltk.lib?
>
> Thanks for your feedback.
>
> _______________________________________________
> fltk-opengl mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk-opengl
>
>   

_______________________________________________
fltk-opengl mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-opengl

Reply via email to