[Xcb-commit] win32port.mdwn
XCB site
xcb at freedesktop.org
Tue Nov 23 04:05:52 PST 2010
win32port.mdwn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 44c19c9f4cb763e9481510617491d83963f2a068
Author: rgs <rgs at web>
Date: Tue Nov 23 04:05:52 2010 -0800
diff --git a/win32port.mdwn b/win32port.mdwn
index 85f372b..431b017 100644
--- a/win32port.mdwn
+++ b/win32port.mdwn
@@ -134,7 +134,7 @@ Apart from the XCB DLL (e.g. libxcb-1.dll) you will also need the DLL for libXau
The simplest way to use the DLL under MinGW is to include it during compiling your code. For e.g. :
- i586-mingw32msvc-gcc xcbclient.c libxcb-1.dll -o xcbclient.exe
+ i586-mingw32msvc-gcc xcbclient.c libxcb-1.dll -o xcbclient.exe -lws2_32
NOTE: Initialization ( using WSAStarup() ) and Cleanup ( WSACleanup() ) of the Windows Socket Library needs to be performed by the calling application prior to using this library.
More information about the xcb-commit
mailing list