I have copied the glut.h file in c:/turbo/tc/include/
directory and glut32.dll in c:/windows/System32/
.
After this what should I do ?
I have copied the glut.h file in c:/turbo/tc/include/
directory and glut32.dll in c:/windows/System32/
.
After this what should I do ?
your path implies old Borland Turbo C++ 3.1 to me
if you have newer compiler like Borland C++ BCC 5.0 or newer
link lib files for used dll's for example:
#include "my_GL_headers\\glut.h"
#pragma link "my_GL_headers\\glut.lib"
use implib tool if you do not have them or are incompatible
If you use IDE like Borland C++ builder 1,2,3,4,5,6 or Developer Studio 2006 Turbo C++
PS this is how mine usual GL includes look like in BDS2006 projects
#include <windows.h>
#include <jpeg.hpp>
#include <math.h>
#define GLEW_STATIC
#include "gl\glew.c"
#include "gl\gl.h"
#include "gl\glu.h"
#include "gl\glext.h"
#include "gl\wglext.h"
#include "gl\glut.h"