| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 497 人关注过本帖
标题:c++网络编程问题
只看楼主 加入收藏
qkhhss
Rank: 1
等 级:新手上路
帖 子:10
专家分:5
注 册:2010-11-11
结帖率:100%
收藏
 问题点数:0 回复次数:3 
c++网络编程问题
我用的是dev_c++ mingw32, 刚刚装完ACE-5.4.4 TAO-1.4.4
运行测试程序时出现这个问题,哪位高手帮我解决一下?
#include "ace/OS.h"
int main ()
{
  return 0;
}

44 D:\Dev-Cpp\include\ace\config-win32.h:36,from D:\Dev-Cpp\include\ace\config.h In file included from D:/Dev-Cpp/include/ace/configwin32.h:36,               from D:/Dev-Cpp/include/ace/config.h
6 D:\Dev-Cpp\include\ace\OS_NS_stdio.h:414,               from D:\Dev-Cpp\include\ace\OS_NS_arpa_inet.inl                  from D:/Dev-Cpp/include/ace/OS_NS_stdio.h:414,               from D:/Dev-Cpp/include/ace/OS_NS_arpa_inet.inl
搜索更多相关主题的帖子: 网络 
2010-12-06 18:05
qkhhss
Rank: 1
等 级:新手上路
帖 子:10
专家分:5
注 册:2010-11-11
收藏
得分:0 
6 D:\Dev-Cpp\include\ace\OS_NS_stdio.h:414,               from D:\Dev-Cpp\include\ace\OS_NS_arpa_inet.inl                  from D:/Dev-Cpp/include/ace/OS_NS_stdio.h:414,               from D:/Dev-Cpp/include/ace/OS_NS_arpa_inet.inl
2010-12-06 18:05
qkhhss
Rank: 1
等 级:新手上路
帖 子:10
专家分:5
注 册:2010-11-11
收藏
得分:0 
351:4 D:\Dev-Cpp\include\ace\config-win32-common.h #error You must link against multi-threaded libraries when using ACE (check your project settings)
2010-12-06 18:06
qkhhss
Rank: 1
等 级:新手上路
帖 子:10
专家分:5
注 册:2010-11-11
收藏
得分:0 
执行  g++.exe...
g++.exe "D:/clang/net002.cpp" -o "D:/clang/net002.exe"   -g3  -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"   -L"C:/Dev-Cpp/lib" -g3
In file included from C:/Dev-Cpp/include/ace/config-win32.h:36,
                 from C:/Dev-Cpp/include/ace/config.h:44,
                 from C:/Dev-Cpp/include/ace/config-lite.h:24,
                 from C:/Dev-Cpp/include/ace/config-all.h:20,
                 from C:/Dev-Cpp/include/ace/OS.h:20,
                 from D:/clang/net002.cpp:1:

C:/Dev-Cpp/include/ace/config-win32-common.h:351:4: #error You must link against multi-threaded libraries when using ACE (check your project settings)
In file included from C:/Dev-Cpp/include/ace/Time_Value.h:382,
                 from C:/Dev-Cpp/include/ace/OS_NS_unistd.h:29,
                 from C:/Dev-Cpp/include/ace/OS_NS_stdio.inl:4,
                 from C:/Dev-Cpp/include/ace/OS_NS_stdio.h:414,
                 from C:/Dev-Cpp/include/ace/OS_NS_arpa_inet.inl:6,

                 from C:/Dev-Cpp/include/ace/OS_NS_arpa_inet.h:70,
                 from C:/Dev-Cpp/include/ace/OS.h:30,
                 from D:/clang/net002.cpp:1:
C:/Dev-Cpp/include/ace/Time_Value.inl:73: warning: 'void ACE_Time_Value::set(const timeval&)' defined locally after being referenced with dllimport linkage

2010-12-06 18:58
快速回复:c++网络编程问题
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014285 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved