关于Wince程序开发Build出现LINK错误问题

rambo123321   2008-5-22 15:07 楼主
我用EVC++开发的程序,在Win32(WCE emulator) Debug,POCKET PC 2003 Emulator环境下Build,结果出现下面的错误,用到的lib已经加到工程里了,为什么还会报这些错误阿?请指教。
Linking...
XDCCL2.obj : error LNK2019: unresolved external symbol _wcstod referenced in function "protected: void __thiscall CXDCCL2::OnBtnSelect(void)" (?OnBtnSelect@CXDCCL2@@IAEXXZ)
XDCCL5.obj : error LNK2019: unresolved external symbol _wcstod referenced in function "private: void __thiscall CXDCCL5::FillGrid(void)" (?FillGrid@CXDCCL5@@AAEXXZ)
XDCCLJL.obj : error LNK2001: unresolved external symbol _wcstod
GridCtrl.obj : error LNK2001: unresolved external symbol __wtol
GPSSetting.obj : error LNK2019: unresolved external symbol __wtol referenced in function "public: virtual __thiscall CGPSTestDlg::~CGPSTestDlg(void)" (??1CGPSTestDlg@@UAE@XZ)
XDCCL2.obj : error LNK2019: unresolved external symbol __wtol referenced in function "protected: void __thiscall CXDCCL2::OnBtnSelect(void)" (?OnBtnSelect@CXDCCL2@@IAEXXZ)
XDCCL4.obj : error LNK2019: unresolved external symbol __wtol referenced in function "private: void __thiscall CXDCCL4::GetXH(class CString,class CString)" (?GetXH@CXDCCL4@@AAEXVCString@@0@Z)
XDCCL5.obj : error LNK2001: unresolved external symbol __wtol
XDCCLJL.obj : error LNK2001: unresolved external symbol __wtol
Sqlite3.lib(vdbe.obj) : error LNK2019: unresolved external symbol __fltused referenced in function _sqlite3VdbeExec
Sqlite3.lib(printf.obj) : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(date.obj) : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(where.obj) : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(vdbemem.obj) : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(os_win.obj) : error LNK2019: unresolved external symbol __fltused referenced in function _winFileSize
Sqlite3.lib(vdbeaux.obj) : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(func.obj) : error LNK2001: unresolved external symbol __fltused
IRecset.obj : error LNK2001: unresolved external symbol __fltused
NumEdit.obj : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(vdbeapi.obj) : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(util.obj) : error LNK2001: unresolved external symbol __fltused
XDCCL2.obj : error LNK2001: unresolved external symbol __fltused
XDCCL5.obj : error LNK2001: unresolved external symbol __fltused
XDCCLJL.obj : error LNK2001: unresolved external symbol __fltused
GridURLCell.obj : error LNK2001: unresolved external symbol __fltused
Sqlite3.lib(expr.obj) : error LNK2001: unresolved external symbol _atoi
Sqlite3.lib(parse.obj) : error LNK2019: unresolved external symbol _atoi referenced in function _yy_reduce
Sqlite3.lib(pragma.obj) : error LNK2019: unresolved external symbol _atoi referenced in function _sqlite3Pragma
XDCCL2.obj : error LNK2019: unresolved external symbol _atoi referenced in function "private: void __thiscall CXDCCL2::GetQdcs(void)" (?GetQdcs@CXDCCL2@@AAEXXZ)
AutoListCtrl.obj : error LNK2001: unresolved external symbol _atoi
Sqlite3.lib(prepare.obj) : error LNK2001: unresolved external symbol _atoi
Sqlite3.lib(util.obj) : error LNK2019: unresolved external symbol _atoi referenced in function _sqlite3MallocFailed
DocListComboBox.obj : error LNK2001: unresolved external symbol _memset
PropTabCtrl.obj : error LNK2001: unresolved external symbol _memset
TabCtrlEx.obj : error LNK2001: unresolved external symbol _memset
selecttask.obj : error LNK2019: unresolved external symbol _memset referenced in function "private: void __thiscall CSelectTask::InitCombo(void)" (?InitCombo@CSelectTask@@AAEXXZ)
XDCCL2.obj : error LNK2019: unresolved external symbol _memset referenced in function "private: void __thiscall CXDCCL2::GetQdcs(void)" (?GetQdcs@CXDCCL2@@AAEXXZ)
GridCtrl.obj : error LNK2001: unresolved external symbol _memset
AutoListCtrl.obj : error LNK2001: unresolved external symbol _memset
CeBtnST.obj : error LNK2019: unresolved external symbol _memset referenced in function "protected: void __thiscall CCeButtonST::OnLButtonDown(unsigned int,class CPoint)" (?OnLButtonDown@CCeButtonST@@IAEXIVCPoint@@@Z)
viewcard.obj : error LNK2019: unresolved external symbol _GetTextExtentExPointW referenced in function "private: void __thiscall CViewCard::FillGrid(void)" (?FillGrid@CViewCard@@AAEXXZ)
viewnbug.obj : error LNK2001: unresolved external symbol _GetTextExtentExPointW
viewtask.obj : error LNK2001: unresolved external symbol _GetTextExtentExPointW
xjzbinfo.obj : error LNK2001: unresolved external symbol _GetTextExtentExPointW
XDCCL5.obj : error LNK2019: unresolved external symbol _GetTextExtentExPointW referenced in function "private: void __thiscall CXDCCL5::FillGrid(void)" (?FillGrid@CXDCCL5@@AAEXXZ)
environment.obj : error LNK2001: unresolved external symbol _GetTextExtentExPointW
equipinfo.obj : error LNK2019: unresolved external symbol _GetTextExtentExPointW referenced in function "private: void __thiscall CEquipInfo::FillGrid(void)" (?FillGrid@CEquipInfo@@AAEXXZ)
gridformview.obj : error LNK2001: unresolved external symbol _GetTextExtentExPointW
GPSCheck.obj : error LNK2019: unresolved external symbol _MessageBoxW referenced in function "public: virtual int __thiscall CGPSCheckApp::InitInstance(void)" (?InitInstance@CGPSCheckApp@@UAEHXZ)
xjzbinfo.obj : error LNK2001: unresolved external symbol _IsWindow
gridformview.obj : error LNK2001: unresolved external symbol _IsWindow
viewcard.obj : error LNK2001: unresolved external symbol _IsWindow
viewnbug.obj : error LNK2019: unresolved external symbol _IsWindow referenced in function "private: void __thiscall CViewNBug::FillGrid(void)" (?FillGrid@CViewNBug@@AAEXXZ)
viewtask.obj : error LNK2019: unresolved external symbol _IsWindow referenced in function "private: void __thiscall CViewTask::FillGrid(void)" (?FillGrid@CViewTask@@AAEXXZ)
InPlaceEdit.obj : error LNK2001: unresolved external symbol _IsWindow
AutoListCtrl.obj : error LNK2001: unresolved external symbol _IsWindow
environment.obj : error LNK2001: unresolved external symbol _IsWindow
equipinfo.obj : error LNK2001: unresolved external symbol _IsWindow
SVMainFrame.obj : error LNK2019: unresolved external symbol _IsWindow referenced in function "protected: void __thiscall CSVMainFrame::ShutdownWindow(void)" (?ShutdownWindow@CSVMainFrame@@IAEXXZ)
GridCellCombo.obj : error LNK2019: unresolved external symbol _IsWindow referenced in function "public: void __thiscall CInPlaceList::EndEdit(void)" (?EndEdit@CInPlaceList@@QAEXXZ)
GridCellDateTime.obj : error LNK2001: unresolved external symbol _IsWindow

回复评论 (5)

想问lz你建的是什么工程。

详细一些。
点赞  2008-5-22 18:13
检查下你的lib是否是for emulator的
点赞  2008-5-22 19:02
没有函数体......
点赞  2008-5-23 17:06
是WCE POCKET PC 2003 APPLICATION吧
点赞  2008-9-8 14:58
是的
点赞  2008-10-22 14:10
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复