首页 > 技术文章 > cmakelists.txt中配置openg环境出现: undefined reference to symbol 'glLightfv'

fuhang 2018-12-29 15:30 原文

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

解决方法:

在cmakelists.txt添加

find_package(Qt5OpenGL)
find_package(OpenGL)

 

推荐阅读