ASIO include 시에 fatal error C1189: #error : WinSock.h has already been included 해결법
등록자 : cpueblo (유광희), 2010-06-04
글수정 | 글삭제
ASIO include 시
fatal error C1189: #error : WinSock.h has already been included 에러 현상 수정
ASIO 클루드 시
fatal error C1189: #error : WinSock.h has already been included 위의 에러가 나온다면 아래의 헤더를 맨 위에 정의하시면 됩니다
1>Compiling...
1>test.cpp
1>d:\boost_1_37_0\boost\asio\detail\socket_types.hpp(27) : fatal error C1189: #error : WinSock.h has already been included
1>Build log was saved at "file://d:\libtorrent-rasterbar-0.14\examples\test\Debug\BuildLog.htm"
#include "winsock2.h"
#include "libtorrent/entry.hpp"
#include "libtorrent/bencode.hpp"
#include "libtorrent/session.hpp"
글수정 | 글삭제
http://codesarang.com. mail to cpueblo cpueblo.com
|