Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 Kdevelop 4 将 glew 和 freeglut 链接到我的项目?glut 和 opengl 的功能显示在代码完成建议列表中,但是当我构建它时,由于未定义对 glut 函数的引用而失败。我必须如何设置以及设置哪些内容?路径?标志?
您需要添加链接器标志-lGLEW -lglut
-lGLEW -lglut