本文介绍了无法打开源文件“unistd.h”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我刚从OpenGL Superbible v7尝试过第一个样本



这里是代码:



Hello everyone ,

I just tried first sample from OpenGL Superbible v7

and here is the code :

#include "sb7.h"

class  my_application : public sb7::application
{
public:
	void render(double currentTime)
	{
		static const GLfloat red[] = { 1.0f,0.0f,0.0f,1.0f };
	glClearBufferfv(GL_COLOR, 0, red);
}
}

declare_main(my_application);







但这给了我一个错误。



无法打开源文件unistd.h





我的操作系统是Windows 10&我正在使用VS 15





那么问题是什么?



我无法解决这个问题。




but this gives me an error.

cannot open source file "unistd.h"


My OS is Windows 10 & i'm using VS 15


So what is the problem ?

I couldn't solve this.

推荐答案




这篇关于无法打开源文件“unistd.h”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 07:47
查看更多