ahmadasm
جمعه 01 مهر 1390, 10:11 صبح
سلام
دوستان اگه کسي در مورد اين خطا چيزي مي دونه لطفا راهنمايي کنه.
از vs2008 استفاده مي کنم و وقتي برنامه رو کامپايل مي کنم اين خطا رو ميده.در برنامه دارم برنامه نويسي سوکت انجام ميدم.
خروجی پنجره output در هنگام کامپایل:
Connection.obj : error LNK2019: unresolved external symbol _bind@12 referenced in function "public: bool __thiscall Connection::connect(char const *,int)" (?connect@Connection@@QAE_NPBDH@Z)
1>Connection.obj : error LNK2019: unresolved external symbol _htons@4 referenced in function "public: bool __thiscall Connection::connect(char const *,int)" (?connect@Connection@@QAE_NPBDH@Z)
1>Connection.obj : error LNK2019: unresolved external symbol _htonl@4 referenced in function "public: bool __thiscall Connection::connect(char const *,int)" (?connect@Connection@@QAE_NPBDH@Z)
دوستان اگه کسي در مورد اين خطا چيزي مي دونه لطفا راهنمايي کنه.
از vs2008 استفاده مي کنم و وقتي برنامه رو کامپايل مي کنم اين خطا رو ميده.در برنامه دارم برنامه نويسي سوکت انجام ميدم.
خروجی پنجره output در هنگام کامپایل:
Connection.obj : error LNK2019: unresolved external symbol _bind@12 referenced in function "public: bool __thiscall Connection::connect(char const *,int)" (?connect@Connection@@QAE_NPBDH@Z)
1>Connection.obj : error LNK2019: unresolved external symbol _htons@4 referenced in function "public: bool __thiscall Connection::connect(char const *,int)" (?connect@Connection@@QAE_NPBDH@Z)
1>Connection.obj : error LNK2019: unresolved external symbol _htonl@4 referenced in function "public: bool __thiscall Connection::connect(char const *,int)" (?connect@Connection@@QAE_NPBDH@Z)