Thank for Darshaka Pathirana help!

Actually I have read your "[Wengophone-devel] patchset wengophone-2.2 (r13252) (was: Build wengophone-2.2 / windows 2000 / visual studio c++ 2005 (msvc) notes)" before your write back , and it's very helpful ,and thanks again .

With your guide , now I build a v2.2 patchset solution by "create_vcproj-VC80.bat" . For hours Compiling , It seemed more closer to the goal . Share the progress here , may useful for somebody:

[1] Because my VS IDE(language in P.R.CHINA) do not support "ISO 639" result a char-set Error in "languages.h" , save it to "UTF-8" to get through . [2] A child proj "lib" did't found when linking (sorry for my failing memory , I'm not sure the name exactly , may be "owutil") , that is because only dynamic lib build in the solution , change the proj setting and build a static lib can get through. [3] Hundreds of "LNK 2001 ERR" in dozens proj almost make me crazy ,at end I found add "msvcrt.lib" and "msvcrtd.lib" can get across those problem .

Now , Most of the proj can Compiling successfully ,[4] however "webcam","yealinkwenbox","Wengophone" remain some "LNK 2019 Err" need to be solve , may be somebody can help me ,the log info below:

------ Build started : Project: webcam, Configuration: Debug Win32 ------
Linking...
DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __thiscall NonCopyable::~NonCopyable(void)" (__imp_??1NonCopyable@@[EMAIL PROTECTED]),referenced in function __unwindfunclet$??0IWebcamDriver@@[EMAIL PROTECTED]@Z$0 WebcamDriver.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: __thiscall NonCopyable::~NonCopyable(void)" (__imp_??1NonCopyable@@[EMAIL PROTECTED]) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __thiscall NonCopyable::NonCopyable(void)" (__imp_??0NonCopyable@@[EMAIL PROTECTED]),referenced in function "public: __thiscall IWebcamDriver::IWebcamDriver(int)" (??0IWebcamDriver@@[EMAIL PROTECTED]@Z) WebcamDriver.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: __thiscall NonCopyable::NonCopyable(void)" (__imp_??0NonCopyable@@[EMAIL PROTECTED]) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::debug(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "public: virtual void __thiscall DirectXWebcamDriver::cleanup(void)" ([EMAIL PROTECTED]@@UAEXXZ) WebcamDriver.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::debug(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class Logger * __cdecl Logger::getInstance(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]),referenced in function "public: virtual void __thiscall DirectXWebcamDriver::cleanup(void)" ([EMAIL PROTECTED]@@UAEXXZ) WebcamDriver.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class Logger * __cdecl Logger::getInstance(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall StringList::operator+=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??YStringList@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z),referenced in function "public: virtual class StringList __thiscall DirectXWebcamDriver::getDeviceList(void)" ([EMAIL PROTECTED]@@UAE?AVStringList@@XZ) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall StringList::StringList(void)" (__imp_??0StringList@@[EMAIL PROTECTED]),referenced in function "public: virtual class StringList __thiscall DirectXWebcamDriver::getDeviceList(void)" ([EMAIL PROTECTED]@@UAE?AVStringList@@XZ) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::error(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "public: virtual enum WebcamErrorCode __thiscall DirectXWebcamDriver::setDevice(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@UAE?AW4WebcamErrorCode@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::warn(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "public: virtual void __thiscall DirectXWebcamDriver::stopCapture(void)" ([EMAIL PROTECTED]@@UAEXXZ) WebcamDriver.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::warn(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::fatal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "private: enum WebcamErrorCode __thiscall DirectXWebcamDriver::setCaps(enum pixosi,unsigned int,unsigned int,unsigned int)" ([EMAIL PROTECTED]@@AAE?AW4WebcamErrorCode@@W4pixosi@@[EMAIL PROTECTED]) DirectXWebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl String::fromNumber(int,int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "private: enum WebcamErrorCode __thiscall DirectXWebcamDriver::setCaps(enum pixosi,unsigned int,unsigned int,unsigned int)" ([EMAIL PROTECTED]@@AAE?AW4WebcamErrorCode@@W4pixosi@@[EMAIL PROTECTED]) WebcamDriver.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl String::fromNumber(int,int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) webcam.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall StringList::operator[](unsigned int)const " (__imp_??AStringList@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function _webcam_get_device_list WebcamDriver.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::info(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "public: virtual void __thiscall WebcamDriver::startCapture(void)" ([EMAIL PROTECTED]@@UAEXXZ)
Debug\webcam.dll : fatal error LNK1120: 12 unresolved external symbol
Build logs at“file://e:\coding\vs2005wspace\wengophone-2.1.99.2-source\build\libs\webcam\webcam.dir\Debug\BuildLog.htm”
webcam - 19 Errors,0 Warnnings
------ Build started : Project: yealinkwenbox, Configuration: Debug Win32 ------
Linking...
  正在创建库 Debug\yealinkwenbox.lib 和对象 Debug\yealinkwenbox.exp
YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __thiscall NonCopyable::~NonCopyable(void)" (__imp_??1NonCopyable@@[EMAIL PROTECTED]),referenced in function "public: virtual __thiscall Interface::~Interface(void)" (??1Interface@@[EMAIL PROTECTED]) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: __thiscall NonCopyable::NonCopyable(void)" (__imp_??0NonCopyable@@[EMAIL PROTECTED]),referenced in function "public: __thiscall Interface::Interface(void)" (??0Interface@@[EMAIL PROTECTED]) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall StringList::operator class std::list<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >(void)" (__imp_??BStringList@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@2@@std@@XZ),referenced in function "public: virtual class std::list<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __thiscall YealinkWenbox::getAudioDeviceNameList(void)const " ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@2@@std@@XZ) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall StringList::operator+=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??YStringList@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@@Z),referenced in function "public: virtual class std::list<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __thiscall YealinkWenbox::getAudioDeviceNameList(void)const " ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@2@@std@@XZ) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall StringList::StringList(void)" (__imp_??0StringList@@[EMAIL PROTECTED]),referenced in function "public: virtual class std::list<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __thiscall YealinkWenbox::getAudioDeviceNameList(void)const " ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@2@@std@@XZ) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::fatal(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "public: virtual bool __thiscall YealinkWenbox::setDefaultMode(enum IWenbox::Mode)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl String::fromNumber(int,int)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "public: virtual bool __thiscall YealinkWenbox::setDefaultMode(enum IWenbox::Mode)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::debug(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "public: virtual bool __thiscall YealinkWenbox::setDefaultMode(enum IWenbox::Mode)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class Logger * __cdecl Logger::getInstance(void)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]),referenced in function "public: virtual bool __thiscall YealinkWenbox::setDefaultMode(enum IWenbox::Mode)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@@Z) YealinkWenbox.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Logger::warn(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]),referenced in function "private: bool __thiscall YealinkWenbox::errorHandler(unsigned long)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]) YealinkWenbox.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW,referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __thiscall std::list<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >::_Const_iterator<1>::operator*(void)const " ([EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@2@@std@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@[EMAIL PROTECTED])
Debug\yealinkwenbox.dll : fatal error LNK1120: 11 unresolved external symbol
Build logs at“file://e:\coding\vs2005wspace\wengophone-2.1.99.2-source\build\libs\wenbox\src\yealink\yealinkwenbox.dir\Debug\BuildLog.htm”
yealinkwenbox - 12 Errors,0 Warnnings





GIC 20080316


--------------------------------------------------
From: "Darshaka Pathirana" <[EMAIL PROTECTED]>
Sent: Saturday, March 15, 2008 3:07 PM
To: "wengophone-devel" <[email protected]>
Subject: Re: [Wengophone-devel] [Howto]Build and Compiling V2.1.2 With VisualStudio 2005

Hi!

On 14.03.2008 17:32, [EMAIL PROTECTED] wrote:
Hi Everybody

I Compiling V2.1.2 With Visual Studio 2005 Build by
"create_vcproj-VC80.bat".

I tried that too..  ;)

But there are too many LINK ERROR when compiling to Phapi .I found the
some "vcproj" in path "wengophone-2.1.2\wifo\vs2005\Wifo\" (e.g.
ilbc.vcproj etc.) not build correctly in the VC Solution .

Any one can tell me HOWTO Build and Compiling V2.1.2 With Visual Studio
2005 Correctly , please post me a detailed Compiling .V2.1.2 or
V2.2 both possible.

I wrote a small howto on this mailling list a while ago. You can
find it under:

[1] http://thread.gmane.org/gmane.comp.voip.wengophone.devel/5743

Be carefull and read the whole thread as there are a few issues
regarding Visual Studio 2005 which must be solved in order to
compile wengophone cleanly.

Be aware that wengophone is now maintained by MDBSYS and is now
actually called qutecom. The new (hg) repository can be found here:

[2] http://hg.qutecom.com

FYI: At the end I did not use "create_vcproj-VC80.bat"[3] instead I
took the "nmake"-approach to compile wengophone with Visual Studio
2005[4]. I would love to know how to compile everything with the
"Visual Studio 8"-generator and I am willing to assist you whereever
I can. Maybe we can solve it together...

[3] http://thread.gmane.org/gmane.comp.voip.wengophone.devel/5987
[4] http://thread.gmane.org/gmane.comp.voip.wengophone.devel/5989

HTH && HAND,
- Darsha


_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to