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

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

解决方法:

在cmakelists.txt添加

find_package(Qt5OpenGL)
find_package(OpenGL)

猜你喜欢

转载自www.cnblogs.com/fuhang/p/10196238.html
今日推荐