加入头文件后,出现link异常

加入头文件后,出现link错误
加入头文件fstream.h后出现以下错误,请问该如何解决?

调试信息如下:
Linking...
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & __thiscall ostream::operator<<(class ostream & (__cdecl*)(class ostream &))" (??6ostream@@QAEAAV0@P6AAAV0@AAV0@@Z@Z) already defined in EdgeDib.obj
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & __thiscall ostream::operator<<(char const *)" (??6ostream@@QAEAAV0@PBD@Z) already defined in libcimtd.lib(ostream.obj)
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: class ostream & __thiscall ostream::operator<<(char)" (??6ostream@@QAEAAV0@D@Z) already defined in EdgeDib.obj
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "public: int __thiscall ios::precision(void)const " (?precision@ios@@QBEHXZ) already defined in libcimtd.lib(_ios.obj)
msvcirt.lib(MSVCIRT.dll) : error LNK2005: "class ostream & __cdecl ends(class ostream &)" (?ends@@YAAAVostream@@AAV1@@Z) already defined in EdgeDib.obj
LINK : warning LNK4049: locally defined symbol "_strchr" imported
LINK : warning LNK4049: locally defined symbol "_sprintf" imported
LINK : warning LNK4049: locally defined symbol "_free" imported
LINK : warning LNK4049: locally defined symbol "_strrchr" imported
LINK : warning LNK4049: locally defined symbol "_malloc" imported
LINK : warning LNK4049: locally defined symbol "_vsprintf" imported
Debug/MyHarvest.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.

------解决方案--------------------
ROJECT->SETING->C/C++->PREPROCESSOR->定义 _AFXDLL
------解决方案--------------------
开发环境 库没导进来