Hey everyone,I'm sitting down to spend some free time tearing through the OpenGL Superbible this month, and attempting to start all development under Linux.Presently, I've gotten Code::Blocks to compile... two out of three things. First, of course, I just did up a Hello World to make sure I had compiler paths correct and Code::Blocks knew how to use gnome-terminal (I'm on Gnome 3).
I installed OpenGL onto my computer running Linux Mint following the instructions on this tutorial. I am trying to compile a program that uses OpenGL, but I'm getting a compile error: fatal error: GL/glew.h: No such file or directory. I check the /usr/include/GL folder, and glew.h is indeed missing.
I have GLUT installed, this is the code that I am compiling with GCC:
#include <GL/glut.h>
void display()
{
glClearColor(1.0,1.0,1.0,1.0);
glClear(GL_COLOR_BUFFER_BIT);
glFlush();
}
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_RGB | GLUT_SINGLE);
glutInitWindowSize(500,500);
glutCreateWindow("test");
glutDisplayFun
Hi:
I've some experience programming on high-level (C#, java) and I thought it was time to learn some low-level stuff.
I have verified using yum that I have the most uptodate glut, freeglut, freeglut-devel etc., yet when I compile Example 2-6 from the Red Book at http://www.glprogramming.com/red/chapter02.html#name16, I get a window that is too small for the program output, includes display from other windows, and will not redraw
Hello, I'm new here :)
I run Ubuntu 12.10 with the Gnome 3 shell. I program in C++ using Code::Blocks. The libraries I use are OpenGL and GLUT.
My issue is that the OpenGL window has a name, but in the Activities bar, where for example one would see Firefox, my application says Unknown, and there is no icon.
I attached an image.
Hi,
I've been trying to cross compile a 3D linux game to Windows from source code using Fedora 17 and Mingw cross compilation tools. I continue to get an openGL related error. I have installed every related file that i could think of. The particular error I get after #mingw64-config is:
Code:
checking for glEnable in -lGL...
Hello
I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make.
the error that i get when i try to compile it in GNOME Terminal is :
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
Hey,I'm trying to compile torcs (http://torcs.sourceforge.net/) from source and I'm getting an error.make[3]: *** No rule to make target `/usr/include/x86_64-linux-gnu/bits/predefs.h', needed by `controlconfig.o'.