Visual C++ 2005 Include Issue
when i have this code:
#include "stdafx.h"
#include <GL/gl.h>
#include <GL/glu.h>
it has no errors, but my openGL code (just taken from examples, simple code) won't work.
when i have this:
#include <windows.h>
#include "stdafx.h"
#include <GL/gl.h>
#include <GL/glu.h>
OR
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
it displays a whole BUNCH of errors. it dosn't like the windows.h file but it needs to be there. what should i do?
-- by the way:
i am using "Visual C++ 2005 Express Edition"
i go to file->new->project. win32->win32 console application.
Console Application = checked;
Precompiled Header = checked
Sounds like you need the Windows Platform SDK. You can get it for free from the Microsoft website.
I'm sure you have your reasons for not buying it. Download it from a school or a friend. I wonder if from Linux's WINE it would work :)
Since most developers aren't big on pirates who would likely take from their pockets too, I don't think you'll get much help. If you don't like Microsoft, use Linux/Mac, etc. If you just like stealing from others, go else where :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement