kevinlovesing / tjphone

Automatically exported from code.google.com/p/tjphone
0 stars 0 forks source link

vs2010 project问题 #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
整理了Debug、Debug_IPP、Release、Release_IPP,可能存在切换后编译��
�会出错的问题。需要继续整理。

Original issue reported on code.google.com by jia.jacky on 7 Jul 2012 at 4:07

GoogleCodeExporter commented 8 years ago
請教您的vs2010編譯環境? 我在build release時發生無法Link.
但文件說明Release: release,無g729、g723.1. 
編譯時仍嘗試link這些library?

4>contact.obj : error LNK2001: 無法解析的外部符號 
"__declspec(dllimport) public: class QString & __thiscall 
QString::operator=(class QString &&)" (__imp_??4QString@@QAEAAV0@$$QAV0@@Z)
4>preference.obj : error LNK2001: 無法解析的外部符號 
"__declspec(dllimport) public: class QVariant & __thiscall 
QVariant::operator=(class QVariant &&)" (__imp_??4QVariant@@QAEAAV0@$$QAV0@@Z)
4>mediastreamer2.lib(linphone_g729.obj) : error LNK2001: 
無法解析的外部符號 _USC_G729AFP_Fxns
4>mediastreamer2.lib(linphone_g729.obj) : error LNK2001: 
無法解析的外部符號 _ippStaticInit@0
4>mediastreamer2.lib(linphone_g729.obj) : error LNK2001: 
無法解析的外部符號 _w7_ippsFree@4
4>mediastreamer2.lib(linphone_g729.obj) : error LNK2001: 
無法解析的外部符號 _w7_ippsMalloc_8u@4
4>mediastreamer2.lib(linphone_g723.1.obj) : error LNK2001: 
無法解析的外部符號 _apiG723Encode
4>mediastreamer2.lib(linphone_g723.1.obj) : error LNK2001: 
無法解析的外部符號 _apiG723Decoder_Alloc
4>mediastreamer2.lib(linphone_g723.1.obj) : error LNK2001: 
無法解析的外部符號 _apiG723Decode
4>mediastreamer2.lib(linphone_g723.1.obj) : error LNK2001: 
無法解析的外部符號 _apiG723Encoder_Alloc
4>mediastreamer2.lib(linphone_g723.1.obj) : error LNK2001: 
無法解析的外部符號 _apiG723Encoder_Init
4>mediastreamer2.lib(linphone_g723.1.obj) : error LNK2001: 
無法解析的外部符號 _apiG723Decoder_Init

Original comment by shood...@gmail.com on 18 Jul 2012 at 2:53

GoogleCodeExporter commented 8 years ago
我在libcoreapi和mediastreamer2的專案compile command增加/U "__HAVE_IPP"
將IPP相關undefine即可成功編譯, 謝謝!

Original comment by shood...@gmail.com on 18 Jul 2012 at 4:59

GoogleCodeExporter commented 8 years ago
做了更新。刚好将 libcoreapi和mediastreamer2  的 debug_ipp/debug  
release/release_ipp配置反了。导致 link no ipp 
的phone时,link的支持ipp的  libcoreapi和mediastreamer2。

你可以svn update

Original comment by jia.jacky on 18 Jul 2012 at 5:49

GoogleCodeExporter commented 8 years ago
請教您,在Debug配置中,是否需另外編譯QtCore的source with debug?
雖然已複製QtCore4.dll,會發生找不到程序輸入點?setLayoutDirectio
n@QWidget....

我處理中文轉換發生些問題,想建立break point檢查下。

Original comment by shood...@gmail.com on 4 Oct 2012 at 8:52

GoogleCodeExporter commented 8 years ago
你要使用 qtcored4.dll  带有d的dll是可以debug的。

Original comment by jia.jacky on 10 Oct 2012 at 7:14

GoogleCodeExporter commented 8 years ago

Original comment by jia.jacky on 13 Mar 2014 at 1:45