Lesson 6 problem
Hi all
I am learning the tutorial from NeHe website. In lesson 6, i got this error from the define the texture array.
GLuint texture[1];
error C4368: cannot define 'texture' as a member of managed 'opengl_picturebox_test::Form1': mixed types are not supported
this the the stuff i have included
#include <windows.h>
#include <stdio.h>
#include <gl\glut.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include "BMP.h"
#include "stdafx.h"
also i have include the libraries list in lesson 6.
Multi-Byte Character Set was used.
By the way i am testing this tutorial in a windows form, is this ganna be any differences ??
Anyone has a solution for this problem?? Thanks a lot...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement