Kirix Support Forums

Error compile testapp

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

Error compile testapp

Postby EhLtUd on Sat Sep 26, 2009 12:14 pm

Hi,

I downloaded webconnect-1.0 and open webconnect.sln in Visual Studio Express 2008

Compile webconnect lib is good. But error testapp:

Code: Select all
/Od /I "D:\DEVEL\wx\WX_2_8_10/include" /I "D:\DEVEL\wx\WX_2_8_10/lib/vc_lib/mswud" /D "WIN32" /D "_DEBUG" /D "UNICODE" /D "_VC80_UPGRADE=0x0600" /D "_UNICODE" /Gm /EHsc /RTC1 /MDd /Fp".\DebugUnicode/testapp.pch" /Fo".\DebugUnicode/" /Fd".\DebugUnicode/" /W3 /nologo /c /ZI /TP /errorReport:prompt

/OUT:".\DebugUnicode/testapp.exe" /INCREMENTAL /NOLOGO /LIBPATH:"D:\DEVEL\wx\WX_2_8_10/lib/vc_lib" /MANIFEST /MANIFESTFILE:".\DebugUnicode\testapp.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:".\DebugUnicode/testapp.pdb" /SUBSYSTEM:WINDOWS /DYNAMICBASE:NO /MACHINE:X86 /ERRORREPORT:PROMPT odbc32.lib odbccp32.lib comctl32.lib wsock32.lib rpcrt4.lib wxbase28ud.lib wxmsw28ud_core.lib wxmsw28ud_aui.lib wxjpegd.lib wxpngd.lib wxzlibd.lib  kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "..\webconnect\lib\webconnectud.lib"


..\webconnect\lib\webconnectud.lib exists.

Code: Select all
1>------ Rebuild All started: Project: webconnect, Configuration: Debug Unicode Win32 ------
1>Deleting intermediate and output files for project 'webconnect', configuration 'Debug Unicode|Win32'
1>Compiling...
1>nsimpl.cpp
1>promptservice.cpp
1>webcontrol.cpp
1>webframe.cpp
1>webprefs.cpp
1>dom.cpp
1>Generating Code...
1>Creating library...
1>Build log was saved at "file://D:\DEVEL\wx\webconnect-1.0\webconnect\webconnect\DebugUnicode\BuildLog.htm"
1>webconnect - 0 error(s), 0 warning(s)
2>------ Rebuild All started: Project: testapp, Configuration: Debug Unicode Win32 ------
2>Deleting intermediate and output files for project 'testapp', configuration 'Debug Unicode|Win32'
2>Compiling...
2>testapp.cpp
2>Compiling resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
2>Copyright (C) Microsoft Corporation.  All rights reserved.
2>Compiling manifest to resources...
2>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
2>Copyright (C) Microsoft Corporation.  All rights reserved.
2>Linking...
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __CrtSetDbgFlag already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(dbgheap.obj) : error LNK2005: __CrtSetCheckCount already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(crt0dat.obj) : error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(crt0dat.obj) : error LNK2005: __exit already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(crt0dat.obj) : error LNK2005: __cexit already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(crt0dat.obj) : error LNK2005: __amsg_exit already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(crt0dat.obj) : error LNK2005: __initterm_e already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(fflush.obj) : error LNK2005: _fflush already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(invarg.obj) : error LNK2005: __invoke_watson already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(dbghook.obj) : error LNK2005: __crt_debugger_hook already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(setlocal.obj) : error LNK2005: __configthreadlocale already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(setlocal.obj) : error LNK2005: _setlocale already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(tidtable.obj) : error LNK2005: __decode_pointer already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(sprintf.obj) : error LNK2005: _sprintf already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRTD.lib(cinitexe.obj)
2>LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRTD.lib(cinitexe.obj)
2>LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRTD.lib(cinitexe.obj)
2>LIBCMTD.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRTD.lib(cinitexe.obj)
2>LIBCMTD.lib(hooks.obj) : error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(dosmap.obj) : error LNK2005: __errno already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(mlock.obj) : error LNK2005: __lock already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(mlock.obj) : error LNK2005: __unlock already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(errmode.obj) : error LNK2005: ___set_app_type already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(mbstowcs.obj) : error LNK2005: _mbstowcs already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(dbgrptw.obj) : error LNK2005: __CrtDbgReportW already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(wcstombs.obj) : error LNK2005: _wcstombs already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(swprintf.obj) : error LNK2005: __swprintf already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(iswctype.obj) : error LNK2005: _iswctype already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(tolower.obj) : error LNK2005: _tolower already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LIBCMTD.lib(fputwc.obj) : error LNK2005: _fputwc already defined in MSVCRTD.lib(MSVCR90D.dll)
2>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
2>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall wxApp::Initialize(int &,wchar_t * *)" (?Initialize@wxApp@@UAE_NAAHPAPA_W@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::OnAssertFailure(wchar_t const *,int,wchar_t const *,wchar_t const *,wchar_t const *)" (?OnAssertFailure@wxAppConsole@@UAEXPB_WH000@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall wxAppConsole::OnAssert(wchar_t const *,int,wchar_t const *,wchar_t const *)" (?OnAssert@wxAppConsole@@UAEXPB_WH00@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxMessageBoxCaptionStr" (?wxMessageBoxCaptionStr@@3QB_WB)
2>webconnectud.lib(nsimpl.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
2>webconnectud.lib(webframe.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2019: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB) referenced in function "public: virtual unsigned int __stdcall PromptService::Confirm(class nsIDOMWindow *,wchar_t const *,wchar_t const *,int *)" (?Confirm@PromptService@@UAGIPAVnsIDOMWindow@@PB_W1PAH@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
2>webconnectud.lib(webprefs.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
2>webconnectud.lib(dom.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
2>webconnectud.lib(nsimpl.obj) : error LNK2001: unresolved external symbol "void __cdecl wxOnAssert(wchar_t const *,int,char const *,wchar_t const *,wchar_t const *)" (?wxOnAssert@@YAXPB_WHPBD00@Z)
2>webconnectud.lib(webframe.obj) : error LNK2001: unresolved external symbol "void __cdecl wxOnAssert(wchar_t const *,int,char const *,wchar_t const *,wchar_t const *)" (?wxOnAssert@@YAXPB_WHPBD00@Z)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "void __cdecl wxOnAssert(wchar_t const *,int,char const *,wchar_t const *,wchar_t const *)" (?wxOnAssert@@YAXPB_WHPBD00@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "void __cdecl wxOnAssert(wchar_t const *,int,char const *,wchar_t const *,wchar_t const *)" (?wxOnAssert@@YAXPB_WHPBD00@Z) referenced in function "public: __thiscall wxStringBase::wxStringBase(class wxStringBase const &)" (??0wxStringBase@@QAE@ABV0@@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "void __cdecl wxOnAssert(wchar_t const *,int,char const *,wchar_t const *,wchar_t const *)" (?wxOnAssert@@YAXPB_WHPBD00@Z)
2>webconnectud.lib(webprefs.obj) : error LNK2001: unresolved external symbol "void __cdecl wxOnAssert(wchar_t const *,int,char const *,wchar_t const *,wchar_t const *)" (?wxOnAssert@@YAXPB_WHPBD00@Z)
2>webconnectud.lib(dom.obj) : error LNK2001: unresolved external symbol "void __cdecl wxOnAssert(wchar_t const *,int,char const *,wchar_t const *,wchar_t const *)" (?wxOnAssert@@YAXPB_WHPBD00@Z)
2>webconnectud.lib(webframe.obj) : error LNK2001: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(wchar_t const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPB_WII@Z)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(wchar_t const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPB_WII@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(wchar_t const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPB_WII@Z) referenced in function "public: __thiscall wxStringBase::wxStringBase(wchar_t const *)" (??0wxStringBase@@QAE@PB_W@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(wchar_t const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPB_WII@Z)
2>webconnectud.lib(dom.obj) : error LNK2001: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(wchar_t const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPB_WII@Z)
2>webconnectud.lib(nsimpl.obj) : error LNK2001: unresolved external symbol "protected: void __thiscall wxStringBase::InitWith(wchar_t const *,unsigned int,unsigned int)" (?InitWith@wxStringBase@@IAEXPB_WII@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "protected: bool __thiscall wxStringBase::ConcatSelf(unsigned int,wchar_t const *,unsigned int)" (?ConcatSelf@wxStringBase@@IAE_NIPB_WI@Z) referenced in function "protected: bool __thiscall wxStringBase::ConcatSelf(unsigned int,wchar_t const *)" (?ConcatSelf@wxStringBase@@IAE_NIPB_W@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "protected: bool __thiscall wxStringBase::ConcatSelf(unsigned int,wchar_t const *,unsigned int)" (?ConcatSelf@wxStringBase@@IAE_NIPB_WI@Z)
2>webconnectud.lib(nsimpl.obj) : error LNK2001: unresolved external symbol "protected: bool __thiscall wxStringBase::ConcatSelf(unsigned int,wchar_t const *,unsigned int)" (?ConcatSelf@wxStringBase@@IAE_NIPB_WI@Z)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "protected: bool __thiscall wxStringBase::ConcatSelf(unsigned int,wchar_t const *,unsigned int)" (?ConcatSelf@wxStringBase@@IAE_NIPB_WI@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "class wxString __cdecl operator+(class wxString const &,wchar_t const *)" (??H@YA?AVwxString@@ABV0@PB_W@Z) referenced in function "public: class wxString __thiscall MyApp::FindXulRunner(class wxString const &)" (?FindXulRunner@MyApp@@QAE?AVwxString@@ABV2@@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "public: class wxString __thiscall wxString::BeforeLast(wchar_t)const " (?BeforeLast@wxString@@QBE?AV1@_W@Z) referenced in function "public: class wxString __thiscall MyApp::FindXulRunner(class wxString const &)" (?FindXulRunner@MyApp@@QAE?AVwxString@@ABV2@@Z)
2>webconnectud.lib(nsimpl.obj) : error LNK2001: unresolved external symbol "public: class wxString __thiscall wxString::BeforeLast(wchar_t)const " (?BeforeLast@wxString@@QBE?AV1@_W@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "public: __thiscall wxStringBase::wxStringBase(unsigned int,wchar_t)" (??0wxStringBase@@QAE@I_W@Z) referenced in function "public: __thiscall wxString::wxString(wchar_t,unsigned int)" (??0wxString@@QAE@_WI@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxComboBoxNameStr" (?wxComboBoxNameStr@@3QB_WB)
2>testapp.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxStatusLineNameStr" (?wxStatusLineNameStr@@3QB_WB)
2>testapp.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxFrameNameStr" (?wxFrameNameStr@@3QB_WB)
2>webconnectud.lib(webframe.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxFrameNameStr" (?wxFrameNameStr@@3QB_WB)
2>testapp.obj : error LNK2019: unresolved external symbol "public: class wxStringBase & __thiscall wxStringBase::operator=(wchar_t const *)" (??4wxStringBase@@QAEAAV0@PB_W@Z) referenced in function "public: class wxString & __thiscall wxString::operator=(wchar_t const *)" (??4wxString@@QAEAAV0@PB_W@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "public: class wxStringBase & __thiscall wxStringBase::operator=(wchar_t const *)" (??4wxStringBase@@QAEAAV0@PB_W@Z)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "public: class wxStringBase & __thiscall wxStringBase::operator=(wchar_t const *)" (??4wxStringBase@@QAEAAV0@PB_W@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "public: int __thiscall wxString::CmpNoCase(wchar_t const *)const " (?CmpNoCase@wxString@@QBEHPB_W@Z) referenced in function "public: bool __thiscall wxString::IsSameAs(wchar_t const *,bool)const " (?IsSameAs@wxString@@QBE_NPB_W_N@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "public: int __thiscall wxString::Cmp(wchar_t const *)const " (?Cmp@wxString@@QBEHPB_W@Z) referenced in function "public: bool __thiscall wxString::IsSameAs(wchar_t const *,bool)const " (?IsSameAs@wxString@@QBE_NPB_W_N@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "public: int __thiscall wxString::Cmp(wchar_t const *)const " (?Cmp@wxString@@QBEHPB_W@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxFileDialogNameStr" (?wxFileDialogNameStr@@3QB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxFileDialogNameStr" (?wxFileDialogNameStr@@3QB_WB)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall wxConvAuto::ToWChar(wchar_t *,unsigned int,char const *,unsigned int)const " (?ToWChar@wxConvAuto@@UBEIPA_WIPBDI@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall wxConvAuto::FromWChar(char *,unsigned int,wchar_t const *,unsigned int)const " (?FromWChar@wxConvAuto@@UBEIPADIPB_WI@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall wxMBConv::MB2WC(wchar_t *,char const *,unsigned int)const " (?MB2WC@wxMBConv@@UBEIPA_WPBDI@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall wxMBConv::WC2MB(char *,wchar_t const *,unsigned int)const " (?WC2MB@wxMBConv@@UBEIPADPB_WI@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall wxMBConv::ToWChar(wchar_t *,unsigned int,char const *,unsigned int)const " (?ToWChar@wxMBConv@@UBEIPA_WIPBDI@Z)
2>testapp.obj : error LNK2001: unresolved external symbol "public: virtual unsigned int __thiscall wxMBConv::FromWChar(char *,unsigned int,wchar_t const *,unsigned int)const " (?FromWChar@wxMBConv@@UBEIPADIPB_WI@Z)
2>testapp.obj : error LNK2019: unresolved external symbol "public: static class wxString __cdecl wxString::Format(wchar_t const *,...)" (?Format@wxString@@SA?AV1@PB_WZZ) referenced in function "private: void __thiscall MyFrame::OnInitDownload(class wxWebEvent &)" (?OnInitDownload@MyFrame@@AAEXAAVwxWebEvent@@@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "public: static class wxString __cdecl wxString::Format(wchar_t const *,...)" (?Format@wxString@@SA?AV1@PB_WZZ)
2>testapp.obj : error LNK2019: unresolved external symbol "class wxString __cdecl operator+(wchar_t const *,class wxString const &)" (??H@YA?AVwxString@@PB_WABV0@@Z) referenced in function "private: void __thiscall MyFrame::GetChildLinks(class wxDOMNode,class wxArrayString &)" (?GetChildLinks@MyFrame@@AAEXVwxDOMNode@@AAVwxArrayString@@@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2019: unresolved external symbol "public: class wxStringBase & __thiscall wxStringBase::append(unsigned int,wchar_t)" (?append@wxStringBase@@QAEAAV1@I_W@Z) referenced in function "public: class wxStringBase & __thiscall wxStringBase::operator+=(wchar_t)" (??YwxStringBase@@QAEAAV0@_W@Z)
2>webconnectud.lib(nsimpl.obj) : error LNK2001: unresolved external symbol "public: class wxStringBase & __thiscall wxStringBase::append(unsigned int,wchar_t)" (?append@wxStringBase@@QAEAAV1@I_W@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxControlNameStr" (?wxControlNameStr@@3QB_WB)
2>webconnectud.lib(webcontrol.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall wxFile::Open(wchar_t const *,enum wxFile::OpenMode,int)" (?Open@wxFile@@QAE_NPB_WW4OpenMode@1@H@Z) referenced in function "public: static bool __cdecl wxWebControl::SaveRequestToString(class wxString const &,class wxString *,class wxWebPostData *,class wxWebProgressBase *)" (?SaveRequestToString@wxWebControl@@SA_NABVwxString@@PAV2@PAVwxWebPostData@@PAVwxWebProgressBase@@@Z)
2>webconnectud.lib(webcontrol.obj) : error LNK2019: unresolved external symbol "public: class wxString __thiscall wxString::AfterLast(wchar_t)const " (?AfterLast@wxString@@QBE?AV1@_W@Z) referenced in function "private: void __thiscall wxWebControl::FetchFavIcon(void *)" (?FetchFavIcon@wxWebControl@@AAEXPAX@Z)
2>webconnectud.lib(webframe.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxDialogNameStr" (?wxDialogNameStr@@3QB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxDialogNameStr" (?wxDialogNameStr@@3QB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxStaticBitmapNameStr" (?wxStaticBitmapNameStr@@3QB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxButtonNameStr" (?wxButtonNameStr@@3QB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxTextCtrlNameStr" (?wxTextCtrlNameStr@@3QB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "wchar_t const * const wxStaticTextNameStr" (?wxStaticTextNameStr@@3QB_WB)
2>webconnectud.lib(promptservice.obj) : error LNK2001: unresolved external symbol "protected: virtual bool __thiscall wxColourBase::FromString(wchar_t const *)" (?FromString@wxColourBase@@MAE_NPB_W@Z)
2>LIBCMTD.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
2>.\DebugUnicode/testapp.exe : fatal error LNK1120: 37 unresolved externals
2>Build log was saved at "file://D:\DEVEL\wx\webconnect-1.0\webconnect\testapp\DebugUnicode\BuildLog.htm"
2>testapp - 99 error(s), 2 warning(s)
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========


Regards
EhLtUd
Registered User
 
Posts: 4
Joined: Fri Sep 11, 2009 3:24 am

Re: Error compile testapp

Postby gillesp on Thu Oct 08, 2009 4:53 am

Instead of linking with an external library wxwebconnect.lib, I included the wxwebconnect source files directly within the project. Then it compiled properly.
gillesp
Registered User
 
Posts: 7
Joined: Tue Oct 06, 2009 10:30 am

Return to wxWebConnect Questions, Thoughts & Feedback