Closed GoogleCodeExporter closed 9 years ago
Sorry for the long delay and thanks a lot for the detailed report.
glDeleteBuffers is available only if the GL version is 1.5 or greater. Do you
know what is your GL version ? If it is high enough, this might be a problem
with the GL headers. You might to test with the GLEW library (pretty standard)
and report if it works (don't forget to call glewInit at some point).
Original comment by Nicolas.Rougier@gmail.com
on 23 May 2012 at 5:45
For Visual Studio support, the project really needs to be converted to either
C90 or C++, as C99 isn't supported. I, too, am in the process of translating
the project for use in my project. I am using GLEW and have no GL-related
errors.
Original comment by acr...@gmail.com
on 24 May 2012 at 3:45
Is there a way to "trick" CMake in using c++ instead of c on Windows ?
Original comment by Nicolas.Rougier@gmail.com
on 24 May 2012 at 7:37
The /TP compiler option forces the compiler to compile everything as C++.
Original comment by acr...@gmail.com
on 24 May 2012 at 9:42
Is the problem fixed with the current version ?
Original comment by Nicolas.Rougier@gmail.com
on 19 Jul 2012 at 8:54
Original comment by Nicolas.Rougier@gmail.com
on 17 Sep 2012 at 7:18
I've been hitting the library earned Windows.
In the Visual Studio project properties specify that compile the C++ source. In
Borland Studio I had to rename extension file c to cpp.
Change platform.h,platform.c - rename proc round(float v) to proc round2(float
v);
Change vertex-attribute.h,vertex-attribute.c -rename GLenum GL_TYPE( char ctype
) to GLenum GL_TYPE2( char ctype );
opengl.h:
#include <Windows.h>
#include <GL/glew.h> //download this library from inet
#include <GL/wglew.h>
#include <GLUT/glut.h> // changed according to your path of glut.h
and in demo add initialization glew:
int main( int argc, char **argv )
{
GLenum glew_status = glewInit();
if (GLEW_OK != glew_status)
{
printf("Error_my: %s",glewGetErrorString(glew_status));
return;
}
if (!GLEW_VERSION_2_0)
{
printf("No support for OpenGL 2.0 found");
return;
}
Original comment by vadim1...@gmail.com
on 3 Oct 2012 at 9:37
Original issue reported on code.google.com by
denga...@gmail.com
on 1 May 2012 at 1:52