jynx
December 1st, 2008, 10:49 AM
#include <windows.h>
#include <iostream>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <GL/glui.h>
#include <GL/glext.h>
and I get linker errors for all the opengl functions used. [Linker error] undefined reference to `glutSolidCube' for example.
how can i fix this?
#include <iostream>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <GL/glui.h>
#include <GL/glext.h>
and I get linker errors for all the opengl functions used. [Linker error] undefined reference to `glutSolidCube' for example.
how can i fix this?