每当我尝试包含除glut.h之外的任何other.h文件时,编译时会出错。我做错了什么?
#include <glut.h>
#include <type_traits>
#include <iostream>
//using namespace std;
int h=500;
int w=1000;
int x=1;
float a=0;
float b=0;
int s=35;
float speedy=0.2;
float speedx=0.15;
float rate=0.0002;
bool touchright=false;
bool escaped=false;
错误是:
"Error 1 error C2381: 'exit' : redefinition; __declspec(noreturn) differs d:\program files (x86)\microsoft visual studio 11.0\vc\include\stdlib.h 360 1 OpenGL2DTemplate"