|
静态库目录和ACE_AS_STATIC_LIBS已设置,但还是出现下面Link错误。请高手指点!- Linking...
- main.obj : error LNK2001: unresolved external symbol "int __cdecl ACE_OS::closesocket(void *)" (?closesocket@ACE_OS@@YAHPAX@Z)
- main.obj : error LNK2001: unresolved external symbol "int __cdecl ACE_OS::listen(void *,int)" (?listen@ACE_OS@@YAHPAXH@Z)
- main.obj : error LNK2001: unresolved external symbol "int __cdecl ACE_OS::bind(void *,struct sockaddr *,int)" (?bind@ACE_OS@@YAHPAXPAUsockaddr@@H@Z)
- main.obj : error LNK2001: unresolved external symbol "public: static class ACE_Addr const ACE_Addr::sap_any" (?sap_any@ACE_Addr@@2V1@B)
- main.obj : error LNK2001: unresolved external symbol "int __cdecl ACE_OS::setsockopt(void *,int,int,char const *,int)" (?setsockopt@ACE_OS@@YAHPAXHHPBDH@Z)
- main.obj : error LNK2001: unresolved external symbol "void * __cdecl ACE_OS::socket(int,int,int)" (?socket@ACE_OS@@YAPAXHHH@Z)
- main.obj : error LNK2001: unresolved external symbol "public: static class ACE_Time_Value const ACE_Time_Value::zero" (?zero@ACE_Time_Value@@2V1@B)
- HA_Proactive_Service1.obj : error LNK2001: unresolved external symbol "public: static class ACE_Time_Value const ACE_Time_Value::zero" (?zero@ACE_Time_Value@@2V1@B)
- main.obj : error LNK2001: unresolved external symbol "public: static class ACE_Time_Value const ACE_Time_Value::max_time" (?max_time@ACE_Time_Value@@2V1@B)
- HA_Proactive_Service1.obj : error LNK2001: unresolved external symbol "public: static class ACE_Time_Value const ACE_Time_Value::max_time" (?max_time@ACE_Time_Value@@2V1@B)
- Debug/0410.exe : fatal error LNK1120: 8 unresolved externals
- Error executing link.exe.
复制代码 |
|