cmakelists.txt中配置openg环境出现: undefined reference to symbol 'glLightfv'

解决方法:

在cmakelists.txt添加

find_package(Qt5OpenGL)
find_package(OpenGL)

 

posted on 2018-12-29 15:30  未完代码  阅读(782)  评论(0编辑  收藏  举报