回复: 用Qt和FFmpeg写了个播放器 QtAV库
#16 回 9楼(tearring) 的帖子 [novesky 03-15 23:01]
不错不错!!
#17 [blueseait 03-16 12:01]
楼主,谢谢你的指导,我的程序能正常通过编译了,但是在WIN7下用QtCreator建的工程还是不能运行,错误与上面写的一样,不知道是什么原因,请问楼主是否测试过win7+QtCreator环境的运行。另外,请问楼主最新源代码加入的OPENGL是什么版本,我下载了一个openGL加入后有些openGL函数找不到。再次谢谢楼主的无私奉献!
#18 [novesky 03-16 13:43]
我的mingw是官网上的版本http://www.mingw.org,Qt4、5都是自己编译的。我用QtCreator、命令行都编译过没问题。OpenGL的什么函数找不到?为什么要自己下载OpenGL,mingw应该自带的吧?你的Qt是哪个版本?我来试试
#19 [blueseait 03-16 19:07]
我下载了你说的官网上的版本mingw,还是有很多函数找不到,比如:
D:\qtav\QtAV-master\src\GLWidgetRenderer.cpp:100: 错误:'GL_SMOOTH' was not declared in this scope
D:\qtav\QtAV-master\src\GLWidgetRenderer.cpp:100: 错误:'glShadeModel' was not declared in this scope
D:\qtav\QtAV-master\src\GLWidgetRenderer.cpp:127: 错误:'glPushMatrix' was not declared in this scope
我用的qtcreator5.01版本,你试试吧
#20 [blueseait 03-16 20:53]
不对,我用的是qtcreator2.6.2,qt库版本是5.0.1,直接安装网上下载的windows+mingw下编译过的qt5.0.1可安装版本,直接安装的。不加任何外部opengl也是以上错误找不到glShadeModel、glPushMatrix等函数。楼主看看吧