Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: problem with texture

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2003
    Location
    Dublin
    Posts
    2

    problem with texture

    When I try to place a image the compiler
    give me these error message, anyone could tell me what's wrong?

    GLuint texture[1];
    AUX_RGBImageRec *LoadBMP(char *Filename)
    {....
    D:\robotArm.cpp(17) : error C2143: syntax error : missing ';' before '*'

    D:\robotArm.cpp(17) : error C2501: 'AUX_RGBImageRec' : missing storage-class or type specifiers
    tracy

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: problem with texture

    The error message says that AUX_RGBImageRec does not exist...

    Have you included glaux.h or what ever the name of this file is, glaux is an old library that is not part of OpenGL itself you so need a header file and a library/dll to use it.

    Mikael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •