简体   繁体   中英

unresolved inclusion <GL/glut.h>

I am trying to get opengl to work with eclipse and I keep getting the following error unresolved inclusion however when i run some sample code it still works, it's just an issue of loads of errors showing up- which would make debugging next to impossible.

在此处输入图片说明

this is my path

在此处输入图片说明

GLUT is not a standard library, shipping with the OpenGL development resources. Most likely you either don't have installed GLUT or the examples you were compiling did configure additional include file search directories in their build options.

Make sure you have installed GLUT and your project build options cover the include and library paths the GLUT development files have been installed to.

您的include路径中可能没有GL目录。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM