Hard to address a linking problem without seeing the link command.
The easiest way to add libraries in watcom is to use a #pragma library
to autoinclude 'em:
Hmm, those are in '*_' form rather than '_*' form
That's probably the problem right there. It's trying to link against
register calling convention, when the libraries are cdecl. Peeking at
the Mesa 2.6 header, it seems to cover this case only for dll's in
win32. Are you compiling for DOS? I never tried it in DOS, so I
can't be sure.
A sloppy hack might be to edit the gl.h file:
#define APIENTRY __cdecl
#define CALLBACK __cdecl
Hope that is somewhat helpfulish
On Sat, 02 May 1998 01:48:32 +0200, Gunnar Tunkrans
>Does anyone know how to compile openGL-programs with Watcom (mesa) ?
>(I'm just starting to explore openGL )
>I keep getting these errors like:
>Error! E2028: glGenLists_ is an undefined reference
>Error! E2028: glNewList_ is an undefined reference
>Error! E2028: glBegin_ is an undefined reference
>... and so on.
>I think there's something wrong with the linking with opengl32.lib.