是环境的问题,还是?
--------------------Configuration: Test - Win32 Debug--------------------Linking...
StdAfx.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
Test.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
TestDoc.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
TestView.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
RectangleRegion.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
SetColorDlg.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
SetDataDlg1.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
SetFillProperty.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
Line.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
MainFrm.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
MapElement.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
MapList.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
DrawCube.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
DrwaBez.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
DrwaBYT.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
Ellipse.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE
StdAfx.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
Test.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
TestDoc.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
TestView.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
RectangleRegion.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
SetColorDlg.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
SetDataDlg1.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
SetFillProperty.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
Line.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
MainFrm.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
MapElement.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
MapList.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
DrawCube.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
DrwaBez.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
DrwaBYT.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
Ellipse.obj : error LNK2001: unresolved external symbol __afxForceSTDAFX
TestView.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(int,int)" (??0CPoint@@QAE@HH@Z)
DrawCube.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(int,int)" (??0CPoint@@QAE@HH@Z)
DrwaBez.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(int,int)" (??0CPoint@@QAE@HH@Z)
DrwaBYT.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(int,int)" (??0CPoint@@QAE@HH@Z)
RectangleRegion.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(int,int)" (??0CPoint@@QAE@HH@Z)
DrawCube.obj : error LNK2001: unresolved external symbol _acos
TestView.obj : error LNK2001: unresolved external symbol _acos
MapElement.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(void)" (??0CPoint@@QAE@XZ)
TestView.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(void)" (??0CPoint@@QAE@XZ)
DrawCube.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(void)" (??0CPoint@@QAE@XZ)
DrwaBez.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(void)" (??0CPoint@@QAE@XZ)
DrwaBYT.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(void)" (??0CPoint@@QAE@XZ)
Line.obj : error LNK2001: unresolved external symbol "public: __thiscall CPoint::CPoint(void)" (??0CPoint@@QAE@XZ)
TestView.obj : error LNK2001: unresolved external symbol __fltused
DrawCube.obj : error LNK2001: unresolved external symbol __fltused
DrwaBez.obj : error LNK2001: unresolved external symbol __fltused
DrwaBYT.obj : error LNK2001: unresolved external symbol __fltused
Line.obj : error LNK2001: unresolved external symbol __fltused
Test.obj : error LNK2001: unresolved external symbol __chkesp
TestDoc.obj : error LNK2001: unresolved external symbol __chkesp
TestView.obj : error LNK2001: unresolved external symbol __chkesp
RectangleRegion.obj : error LNK2001: unresolved external symbol __chkesp
SetColorDlg.obj : error LNK2001: unresolved external symbol __chkesp
SetDataDlg1.obj : error LNK2001: unresolved external symbol __chkesp
SetFillProperty.obj : error LNK2001: unresolved external symbol __chkesp
Line.obj : error LNK2001: unresolved external symbol __chkesp
MainFrm.obj : error LNK2001: unresolved external symbol __chkesp
MapElement.obj : error LNK2001: unresolved external symbol __chkesp
MapList.obj : error LNK2001: unresolved external symbol __chkesp
DrawCube.obj : error LNK2001: unresolved external symbol __chkesp
DrwaBez.obj : error LNK2001: unresolved external symbol __chkesp
DrwaBYT.obj : error LNK2001: unresolved external symbol __chkesp
Ellipse.obj : error LNK2001: unresolved external symbol __chkesp
TestView.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
DrawCube.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
DrwaBez.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
DrwaBYT.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
Line.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
DrawCube.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CPen::~CPen(void)" (??1CPen@@UAE@XZ)
DrawCube.obj : error LNK2001: unresolved external symbol "public: int __thiscall CDC::Ellipse(int,int,int,int)" (?Ellipse@CDC@@QAEHHHHH@Z)
Ellipse.obj : error LNK2001: unresolved external symbol "public: int __thiscall CDC::Ellipse(int,int,int,int)" (?Ellipse@CDC@@QAEHHHHH@Z)
TestView.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CDC::SetPixel(int,int,unsigned long)" (?SetPixel@CDC@@QAEKHHK@Z)
DrawCube.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CDC::SetPixel(int,int,unsigned long)" (?SetPixel@CDC@@QAEKHHK@Z)
DrwaBez.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CDC::SetPixel(int,int,unsigned long)" (?SetPixel@CDC@@QAEKHHK@Z)
DrwaBYT.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CDC::SetPixel(int,int,unsigned long)" (?SetPixel@CDC@@QAEKHHK@Z)
Line.obj : error LNK2001: unresolved external symbol "public: unsigned long __thiscall CDC::SetPixel(int,int,unsigned long)" (?SetPixel@CDC@@QAEKHHK@Z)
DrawCube.obj : error LNK2001: unresolved external symbol "public: class CPen * __thiscall CDC::SelectObject(class CPen *)" (?SelectObject@CDC@@QAEPAVCPen@@PAV2@@Z)
DrawCube.obj : error LNK2001: unresolved external symbol "public: __thiscall CPen::CPen(int,int,unsigned long)" (??0CPen@@QAE@HHK@Z)
SetFillProperty.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
Test.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
TestDoc.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
TestView.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
MapElement.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
MapList.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
SetColorDlg.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
SetDataDlg1.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
DrawCube.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
DrwaBez.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
DrwaBYT.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
MainFrm.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
SetFillProperty.obj : error LNK2001: unresolved external symbol __except_list
Test.obj : error LNK2001: unresolved external symbol __except_list
TestDoc.obj : error LNK2001: unresolved external symbol __except_list
TestView.obj : error LNK2001: unresolved external symbol __except_list
MapElement.obj : error LNK2001: unresolved external symbol __except_list
MapList.obj : error LNK2001: unresolved external symbol __except_list
SetColorDlg.obj : error LNK2001: unresolved external symbol __except_list
SetDataDlg1.obj : error LNK2001: unresolved external symbol __except_list
DrawCube.obj : error LNK2001: unresolved external symbol __except_list
DrwaBez.obj : error LNK2001: unresolved external symbol __except_list
DrwaBYT.obj : error LNK2001: unresolved external symbol __except_list
MainFrm.obj : error LNK2001: unresolved external symbol __except_list
TestView.obj : error LNK2001: unresolved external symbol _fabs
DrawCube.obj : error LNK2001: unresolved external symbol _fabs
DrwaBez.obj : error LNK2001: unresolved external symbol _fabs
DrwaBYT.obj : error LNK2001: unresolved external symbol _fabs
Line.obj : error LNK2001: unresolved external symbol _fabs
TestView.obj : error LNK2001: unresolved external symbol __ftol
DrawCube.obj : error LNK2001: unresolved external symbol __ftol
DrwaBez.obj : error LNK2001: unresolved external symbol __ftol
DrwaBYT.obj : error LNK2001: unresolved external symbol __ftol
Line.obj : error LNK2001: unresolved external symbol __ftol
DrawCube.obj : error LNK2001: unresolved external symbol _sin
DrawCube.obj : error LNK2001: unresolved external symbol _cos
DrwaBez.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::Init(void)" (__imp_??0Init@ios_base@std@@QAE@XZ)
Test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::Init(void)" (__imp_??0Init@ios_base@std@@QAE@XZ)
TestView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::Init(void)" (__imp_??0Init@ios_base@std@@QAE@XZ)
DrwaBez.obj : error LNK2001: unresolved external symbol _atexit
Test.obj : error LNK2001: unresolved external symbol _atexit
TestView.obj : error LNK2001: unresolved external symbol _atexit
DrwaBez.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::~Init(void)" (__imp_??1Init@ios_base@std@@QAE@XZ)
Test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::~Init(void)" (__imp_??1Init@ios_base@std@@QAE@XZ)
TestView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::ios_base::Init::~Init(void)" (__imp_??1Init@ios_base@std@@QAE@XZ)
DrwaBez.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Winit::_Winit(void)" (__imp_??0_Winit@std@@QAE@XZ)
Test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Winit::_Winit(void)" (__imp_??0_Winit@std@@QAE@XZ)
TestView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Winit::_Winit(void)" (__imp_??0_Winit@std@@QAE@XZ)
DrwaBez.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Winit::~_Winit(void)" (__imp_??1_Winit@std@@QAE@XZ)
Test.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Winit::~_Winit(void)" (__imp_??1_Winit@std@@QAE@XZ)
TestView.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Winit::~_Winit(void)" (__imp_??1_Winit@std@@QAE@XZ)
DrwaBez.obj : error LNK2001: unresolved external symbol "void __stdcall `eh vector destructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *))" (??_M@YGXPAXIHP6EX0@Z@Z)
DrwaBYT.obj : error LNK2001: unresolved external symbol "void __stdcall `eh vector destructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *))" (??_M@YGXPAXIHP6EX0@Z@Z)
TestView.obj : error LNK2001: unresolved external symbol "void __stdcall `eh vector destructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *))" (??_M@YGXPAXIHP6EX0@Z@Z)
DrwaBez.obj : error LNK2001: unresolved external symbol "void __stdcall `eh vector constructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *),void (__thiscall*)(void *))" (??_L@YGXPAXIHP6EX0@Z1@Z)
DrwaBYT.obj : error LNK2001: unresolved external symbol "void __stdcall `eh vector constructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *),void (__thiscall*)(void *))" (??_L@YGXPAXIHP6EX0@Z1@Z)
TestView.obj : error LNK2001: unresolved external symbol "void __stdcall `eh vector constructor iterator'(void *,unsigned int,int,void (__thiscall*)(void *),void (__thiscall*)(void *))" (??_L@YGXPAXIHP6EX0@Z1@Z)
DrwaBez.obj : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *,char const *,int)" (??3@YAXPAXPBDH@Z)
DrwaBez.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int,char const *,int)" (??2@YAPAXIPBDH@Z)
DrwaBYT.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
TestView.obj : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
Ellipse.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Dump(class CDumpContext &)const " (?Dump@CObject@@UBEXAAVCDumpContext@@@Z)
MapElement.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Dump(class CDumpContext &)const " (?Dump@CObject@@UBEXAAVCDumpContext@@@Z)
RectangleRegion.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Dump(class CDumpContext &)const " (?Dump@CObject@@UBEXAAVCDumpContext@@@Z)
Ellipse.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::AssertValid(void)const " (?AssertValid@CObject@@UBEXXZ)
MapElement.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::AssertValid(void)const " (?AssertValid@CObject@@UBEXXZ)
RectangleRegion.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::AssertValid(void)const " (?AssertValid@CObject@@UBEXXZ)
TestView.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z)
SetColorDlg.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z)
SetDataDlg1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z)
SetFillProperty.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z)
Test.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z)
SetDataDlg1.obj : error LNK2001: unresolved external symbol "void __stdcall DDX_Text(class CDataExchange *,int,class CString &)" (?DDX_Text@@YGXPAVCDataExchange@@HAAVCString@@@Z)
SetFillProperty.obj : error LNK2001: unresolved external symbol "void __stdcall DDX_Text(class CDataExchange *,int,class CString &)" (?DDX_Text@@YGXPAVCDataExchange@@HAAVCString@@@Z)
SetColorDlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: static struct AFX_MSGMAP const CDialog::messageMap" (__imp_:Dump(class CDumpContext &)const " (?Dump@CView@@UBEXAAVCDumpContext@@@Z)
TestView.obj : error LNK2001: unresolved external symbol "int __stdcall AfxAssertFailedLine(char const *,int)" (?AfxAssertFailedLine@@YGHPBDH@Z)
TestView.obj : error LNK2001: unresolved external symbol "public: int __thiscall CObject::IsKindOf(struct CRuntimeClass const *)const " (?IsKindOf@CObject@@QBEHPBUCRuntimeClass@@@Z)
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnLButtonDown(unsigned int,class CPoint)" (?OnLButtonDown@CWnd@@IAEXIVCPoint@@@Z)
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnMouseMove(unsigned int,class CPoint)" (?OnMouseMove@CWnd@@IAEXIVCPoint@@@Z)
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnLButtonUp(unsigned int,class CPoint)" (?OnLButtonUp@CWnd@@IAEXIVCPoint@@@Z)
TestView.obj : error LNK2001: unresolved external symbol "public: class CDC * __thiscall CWnd::GetDC(void)" (?GetDC@CWnd@@QAEPAVCDC@@XZ)
TestView.obj : error LNK2001: unresolved external symbol __imp__LoadCursorA@8
TestView.obj : error LNK2001: unresolved external symbol "public: class CWnd * __thiscall CWnd::SetCapture(void)" (?SetCapture@CWnd@@QAEPAV1@XZ)
TestView.obj : error LNK2001: unresolved external symbol __imp__SetCursor@4
TestView.obj : error LNK2001: unresolved external symbol _abs
TestView.obj : error LNK2001: unresolved external symbol "public: int __thiscall CDC::SetROP2(int)" (?SetROP2@CDC@@QAEHH@Z)
TestView.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CClientDC::~CClientDC(void)" (??1CClientDC@@UAE@XZ)
TestView.obj : error LNK2001: unresolved external symbol "public: int __thiscall CObArray::Add(class CObject *)" (?Add@CObArray@@QAEHPAVCObject@@@Z)
TestView.obj : error LNK2001: unresolved external symbol "public: __thiscall CClientDC::CClientDC(class CWnd *)" (??0CClientDC@@QAE@PAVCWnd@@@Z)
TestView.obj : error LNK2001: unresolved external symbol __imp__ReleaseCapture@0
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnRButtonDown(unsigned int,class CPoint)" (?OnRButtonDown@CWnd@@IAEXIVCPoint@@@Z)
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnCaptureChanged(class CWnd *)" (?OnCaptureChanged@CWnd@@IAEXPAV1@@Z)
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnKeyDown(unsigned int,unsigned int,unsigned int)" (?OnKeyDown@CWnd@@IAEXIII@Z)
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnChar(unsigned int,unsigned int,unsigned int)" (?OnChar@CWnd@@IAEXIII@Z)
TestView.obj : error LNK2001: unresolved external symbol "public: void __thiscall CWnd::Invalidate(int)" (?Invalidate@CWnd@@QAEXH@Z)
TestView.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CWnd::OnLButtonDblClk(unsigned int,class CPoint)" (?OnLButtonDblClk@CWnd@@IAEXIVCPoint@@@Z)
LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup
Debug/Test.exe : fatal error LNK1120: 289 unresolved externals
执行 link.exe 时出错.
Test.exe - 1 error(s), 0 warning(s)