Here''s the code:
http://pop3.route24.net/~jtrost/lesson01.cpp
The preprocessor directives are exactly how they appeared when I downloaded this file. More help would be greatly appreciated.
Problem setting up OpenGL in Borland C++
Include condefs.h instead of vcl.h, if you aren''t using any of the visual component library. BTW, at least in Borland c++ builder 4, if you create a console win32 program, then vcl.h is not included by default.
Sorry, that didn''t work either. I would really appreciate it if someone using Borland C++ 5 could copy what files they include and post them here.
I''m using this, and it compiled fine in BCB 4
#include <windows.h>
#pragma hdrstop
#include <condefs.h>
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h>
HTH
Prometheus
#include <windows.h>
#pragma hdrstop
#include <condefs.h>
#include <gl\gl.h> // Header File For The OpenGL32 Library
#include <gl\glu.h> // Header File For The GLu32 Library
#include <gl\glaux.h>
HTH
Prometheus
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement