> Hi, everyone,
>
> Now I am integrating fltk and glut in my project. The complication of the 
> project is successful, but when I try to build it, following link errors 
> occur.
>
> I think I have added the necessary libs into my project, such as opengl32.lib 
> and glu32.lib.
>
> For more I use fltk-1.1.7, VisualC++ 2005 express edition and Windows XP 
> system.
>
> Does somebody can give me some suggestions? I have spent hours on this error 
> but still can't find the solution.
>
> Thank you very much.

It's not linking with the glut functions of fltk.

If you are linking with the dynamic fltk library, check that:

  1. you have defined FL_DLL
  2. you are linking with fltkdll.lib

Or, if you are linking with the static fltk library, check that:

  1. you are linking with fltkgl.lib

Most likely, if above is ok, ensure that:

  1. your source file has a c++ extension - TerrainViz.cxx or TerrainViz.cpp 
(not TerrainViz.c).  Alternatively, you can tell the IDE to compile your source 
as a c++ file.

Don.

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

Reply via email to