[Xcb] [Xcb-commit] win32port.mdwn

Vincent Torri vtorri at univ-evry.fr
Sun Nov 28 12:27:43 PST 2010



On Mon, 29 Nov 2010, Jeetu Golani wrote:

>
> Hi Vincent,
>
>> Question: i have compiled your test. Now, how to launch it ? it seg fault
>> if I just try to launch it inside MSYS. I tried with Xlaunch, but also seg
>> fault. Do you want the backtrace ?
>
> If all went well you should have a .exe and should be able to run it in
> Windows natively i.e. without msys. The test in my wiki
> (http://xcb.freedesktop.org/win32port/) is hard coded to connect to an xserver
> on the localhost therefore you should have xming (or some other xserver)
> running on the same machine.
>
> Send me the backtrace please.

The program is the one in the win32 notes. A copy paste. I changed nothing 
except the include of xcb.h line 5.

#0  xcb_setup_roots_iterator (R=0x0) at xproto.c:1415
No locals.
#1  0x00401a22 in main () at xcb_test.c:227
         screenNum = 0
         i = 2009091625
         rc = 0
         connection = 0x64dd20cc
         iter = {data = 0x22ff2c, rem = 2009111904, index = 8}
         screen = 0x22ffe0
         window = 2293560
         mask = 2293508
         values = {2009113902, 2009275112}
         windowCookie = {sequence = 2009095316}
         mapCookie = {sequence = 2293532}
         isHand = 255 '\377'


More information about the Xcb mailing list