刚刚开始接触ACE,
ace库编译成功
qt中配置为:
pro文件:
INCLUDEPATH += D:/ACE_wrappers
LIBS += lib/libACE.a
main.cpp文件:
#include "ace/OS.h"
定义了一个
const ACE_Time_Value interval(60*60);
然后编译
错误如下:
In file included from ../../../../ACE_wrappers/ace/OS_NS_stdio.h:424,
from ../../../../ACE_wrappers/ace/OS_NS_arpa_inet.inl:6,
from ../../../../ACE_wrappers/ace/OS_NS_arpa_inet.h:74,
from ../../../../ACE_wrappers/ace/OS.h:30,
from logindialog.cpp:6:
../../../../ACE_wrappers/ace/OS_NS_stdio.inl: In function `FILE* ACE_OS::fdopen(void*, const ACE_TCHAR*)':
../../../../ACE_wrappers/ace/OS_NS_stdio.inl:656: error: invalid conversion from `const ACE_TCHAR*' to `wchar_t*'
../../../../ACE_wrappers/ace/OS_NS_stdio.inl:656: error: initializing argument 2 of `FILE* _wfdopen(int, wchar_t*)'
请大家帮我看看,多谢了