Steve, You need to add the wchar_t directive to your compiles.
This line in wengyenv.py (around line 532): self.__CCFlags = ['/Zm200', '/EHsc', '/GX', '/GR'] Needs to change to this line: self.__CCFlags = ['/Zm200', '/EHsc', '/GR', '/Zc:wchar_t-'] This fixed my problems. (The howto does reference the issue, but doesn't quite provide the solution.) -Lukas Lukas Oberhuber Message: 3 Date: Sun, 15 Oct 2006 16:05:11 -0700 From: "Steve Xu" <[EMAIL PROTECTED]> Subject: [Wengophone-devel] please help on building NG rc4 on VS 2005. To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi folks, I am new to wengophone-ng and want to try Wengophone-NG RC4 with VS 2005. I cannot build it successfully after followed the tutorial : http://dev.openwengo.com/trac/openwengo/trac.cgi/wiki/HowToBuildFromSourceNg Vs2005 scons mode=release-symbols qtwengophone Here is the error messages: Creating library release-symbols\wifo\phapi\phapi.lib and object release-symb ols\wifo\phapi\phapi.exp webcam.lib(DirectXWebcamDriver.obj) : error LNK2019: unresolved external symbol "char * __stdcall _com_util::ConvertBSTRToString(wchar_t *)" (?ConvertBSTRToStri [EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "public: char const * __thisca ll _bstr_t::Data_t::GetString(void)const " ( [EMAIL PROTECTED]@_bstr_t@@QBEPBDXZ) release-symbols\wifo\phapi\phapi.dll : fatal error LNK1120: 1 unresolved externa ls scons: *** [release-symbols\wifo\phapi\phapi.dll] Error 1120 scons: building terminated because of errors. Anybody knows what i am missed? Thanks, Steve _______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
