Results 1 to 2 of 2

Thread: gluTessCallback giving me error

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Maidstone, Kent, UK
    Posts
    6

    gluTessCallback giving me error

    Hey guys, I've been looking at the tessellation features of OpenGL. I decided to test out one of the code samples from the red book (http://www.opengl.org/resources/code...redbook/tess.c), but I end up getting errors all over the place, mostly to do with gluTessCallback:

    One of the lines:
    gluTessCallback(tobj, GLU_TESS_VERTEX, glVertex3dv);

    the error:
    error C2664: 'glVertex3dv' : cannot convert parameter 1 from 'GLvoid *' to 'const GLdouble *'

    I tried with one of my own pieces of code too, but it seems to keep giving me this error. I'm on Visual Studio .NET. Does that code sample need something extra to get it running or should it be able to just run? Am I right in thinking that the existing library files for opengl and glu don't need updating? Thanks for any help you can give

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2004
    Location
    Maidstone, Kent, UK
    Posts
    6

    Re: gluTessCallback giving me error

    Still having no luck here I'm running out of things to investigate. Is it possible I have incorrect compiler settings? And it's correct to run that program in a win32 Windows project, right?

Similar Threads

  1. Type cast error when use gluTessCallback();
    By Qiaowen in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-19-2012, 06:44 AM
  2. gluTessCallback compile error on OSX
    By Jorufo in forum OpenGL: macOS
    Replies: 6
    Last Post: 07-03-2006, 06:49 AM
  3. gluTessCallback compile error on OSX
    By Jorufo in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 07-02-2006, 11:41 PM
  4. gluTessCallback compile error on OSX
    By Jorufo in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 07-02-2006, 02:54 PM
  5. gluTessCallback(tess, GLU_TESS_BEGIN, glBegin)Compile error
    By Andyxia in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-01-2002, 01:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean