我试图编译一个 GLSL 程序,但它显示了这个错误
warning C4627: '#include "Angel.h"': skipped when looking for precompiled header use
Add directive to 'stdafx.h' or rebuild precompiled header
fatal error C1010: unexpected end of file while looking for precompiled header. Did you
forget to add '#include "stdafx.h"' to your source
但实际上我已经包含了 stdafx.h 并且我使用带有预编译头文件的 Visual Studio 2012 创建了项目
#include "stdafx.h"
#include "Angel.h"
const int NumPoints = 5000;
//----------------------------------------------------------------------------
void
init( void )
{
vec2 points[NumPoints];
...