Mike Werner wrote:
> After my success with 'Hello World' I tried copying the source files for the 
> CubeView demo into a new folder to see if I could compile, link, and run the 
> demo outside of the fltk demo environment. This is what I have to do to run 
> my apps (which run fine under 1.0.11). I looked at the Visual C++ project 
> files for guidance which helped a little. I'm at the point now where the demo 
> compiles but does not link. I get 8 error messages which look like -
> 
> 1>CubeView.obj : error LNK2001: unresolved external symbol "public: virtual 
> void __thiscall Fl_Gl_Window::resize(int,int,int,int)" 
> (?res...@fl_gl_window@@uaexh...@z)
> 1>CubeView.obj : error LNK2001: unresolved external symbol "public: virtual 
> void __thiscall Fl_Gl_Window::flush(void)" (?fl...@fl_gl_window@@UAEXXZ)
> 1>CubeView.obj : error LNK2001: unresolved external symbol "public: virtual 
> void __thiscall Fl_Gl_Window::show(void)" (?s...@fl_gl_window@@UAEXXZ)
> 1>CubeView.obj : error LNK2001: unresolved external symbol "public: virtual 
> void __thiscall Fl_Gl_Window::hide(void)" (?h...@fl_gl_window@@UAEXXZ)

        CubeView is an opengl application.

        FLTK has its opengl functions in a lib called fltkgl.lib,
        so you'll need to link that app with fltkgl.lib (in addition to 
fltk.lib).

        Note too that apps that require image libraries might need 
fltkimages.lib,
        etc.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to