hi, ich will Vertex Buffer Objects verwenden....hab mir nun die extensions geladen und nun das:
ich weiss nicht weiter;-(
lg g
|
C-/C++-Quelltext
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <gl\glew.h>
#include <stdlib.h>
#include <stdio.h>
#include <SDL.h>
#include <SDL_opengl.h>
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h> // Header File For The Glaux Library
#include <gl\glext.h>
#pragma comment(lib, "SDLmain.lib")
#pragma comment(lib, "SDL.lib")
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "GLu32.lib") // link glu32.lib
#pragma comment(lib, "glut32.lib")
main.cpp
c:\SDL-1.2.9\include\SDL_opengl.h(4347) : error C2086: 'void (__stdcall *__stdcall PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum,GLenum,GLfloat *)' : redefinition
c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glew.h(7481) : see declaration of 'PFNGLFRAGMENTLIGHTFVSGIXPROC'
c:\SDL-1.2.9\include\SDL_opengl.h(4349) : error C2086: 'void (__stdcall *__stdcall PFNGLFRAGMENTLIGHTIVSGIXPROC)(GLenum,GLenum,GLint *)' : redefinition
c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glew.h(7483) : see declaration of 'PFNGLFRAGMENTLIGHTIVSGIXPROC'
c:\SDL-1.2.9\include\SDL_opengl.h(4351) : error C2086: 'void (__stdcall *__stdcall PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)(GLenum,GLfloat *)' : redefinition
c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glew.h(7477) : see declaration of 'PFNGLFRAGMENTLIGHTMODELFVSGIXPROC'
c:\SDL-1.2.9\include\SDL_opengl.h(4353) : error C2086: 'void (__stdcall *__stdcall PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)(GLenum,GLint *)' : redefinition
c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glew.h(7479) : see declaration of 'PFNGLFRAGMENTLIGHTMODELIVSGIXPROC'
c:\SDL-1.2.9\include\SDL_opengl.h(4360) : error C2086: 'void (__stdcall *__stdcall PFNGLGETFRAGMENTMATERIALFVSGIXPROC)(GLenum,GLenum,const GLfloat *)' : redefinition
c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glew.h(7490) : see declaration of 'PFNGLGETFRAGMENTMATERIALFVSGIXPROC'
c:\SDL-1.2.9\include\SDL_opengl.h(4361) : error C2086: 'void (__stdcall *__stdcall PFNGLGETFRAGMENTMATERIALIVSGIXPROC)(GLenum,GLenum,const GLint *)' : redefinition
c:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glew.h(7491) : see declaration of 'PFNGLGETFRAGMENTMATERIALIVSGIXPROC'
|