• 6986阅读
  • 3回复

Vs2008编译Qt4.6 3rdpart\phonon\ds9\backend.cpp错误 [复制链接]

上一主题 下一主题
离线ebillow
 

只看楼主 倒序阅读 楼主  发表于: 2010-04-24
参数:
configure -debug-and-release -platform win32-msvc2008 -static -no-qt3support -qt-libpng -qt-libjpeq -qt-libmng -qt-libtiff -qt-zlib -qt-sql-mysql -openssl-linked -l D:\OpenSSL\inc32 -L d:\OpenSSL\out32

错误:
backend.cpp
..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C2227: left of '->m_directShowMutex' must point to class/struct/union/generic type
..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C3861: 'qt_plugin_instance': identifier not found

我已经编译好几次了,都挂在这。
恳请大侠援手下!
[ 此帖被ebillow在2010-04-25 08:37重新编辑 ]
离线ebillow

只看该作者 1楼 发表于: 2010-04-24
dx sdk和platform sdk 我都装了的。。因为要用webkit,动态的库太大。。所以编个静态的,每次到这都错。。郁闷啊
离线ebillow

只看该作者 2楼 发表于: 2010-04-24
perl我也装了,是不是还需要什么?有编过的大侠介绍下啊
离线numen

只看该作者 3楼 发表于: 2011-03-14
configure -debug-and-release -platform win32-msvc2008 -static -no-qt3support -qt-libpng -qt-libjpeq -qt-libmng -qt-libtiff -qt-zlib -qt-sql-mysql -openssl-linked -l D:\OpenSSL\inc32 -L d:\OpenSSL\out32

错误:
backend.cpp
..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C2227: left of '->m_directShowMutex' must point to class/struct/union/generic type
..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C3861: 'qt_plugin_instance': identifier not found

cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_EDITION=QT_EDITION_DESKTOP -DPHONON_MAKE_QT_ONLY_BACKEND -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include" -I"..\..\..\..\include\ActiveQt" -I"..\..\..\..\include\phonon_compat\phonon" -I"..\..\..\..\include\phonon_compat" -I"..\..\..\..\include\phonon\Phonon" -I"tmp\moc\debug_static" -I"..\..\..\..\mkspecs\win32-msvc2008" -Fotmp\obj\debug_static\ @C:\Users\sthomass.NOE\AppData\Local\Temp\nmD43B.tmp

abstractvideorenderer.cpp

audiooutput.cpp

backend.cpp

..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C2227: left of '->m_directShowMutex' must point to class/struct/union/generic type

..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C3861: 'qt_plugin_instance': identifier not found

At the compilation with vs2008 amd64 with this configure:
configure -release -static -sse -sse2 -no-exceptions -no-qt3support -no-opengl
I have bug at the compilation on phonon:
..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C2227: left of '->m_directShowMutex' must point to class/struct/union/generic type
..\..\..\3rdparty\phonon\ds9\backend.cpp(69) : error C3861: 'qt_plugin_instance': identifier not found

将'qt_plugin_instance' 改为qt_plugin_instance_phonon_ds9即可
欢迎访问我的blog:
http://www.cnblogs.com/baizx
快速回复
限100 字节
 
上一个 下一个