Com um programa chamado XWinLogon eu *quase* consegui. O programa abriu e ate calcula legal, mas nao mostra qual eh o resultado.
Esse programa XWinLogon eh um Cygwin/X com supporte a OpenGL. Mas a pagina dele nao diz quais os packages a mais do que o Cygwin que foram instalados. Ele mostra tudo, menos a imagem que deveria aparecer.
Eh assim:
Mas deveria ser assim:
Com o XWin32 eu consegui numa boa, mas tava querendo evitar gastar mais 300 dolares nisso (so o programa ja foi uma boa facada).
Isso eh o que aparece na janela de output:
- Código: Selecionar todos
/usr/X11R6/bin/XWin_GL :0 -clipboard -trayicon -bs -mwextwm
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Multi Window or Rootless => ShadowGDI
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 994 depth: 32
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
glWinInitVisuals:1472: glWinInitVisuals
glWinInitVisualConfigs:1379: glWinInitVisualConfigs glWinSetVisualConfigs:1457:
glWinSetVisualConfigs
init_visuals:918: init_visuals
MIT-SHM extension disabled due to lack of kernel support
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
glWinScreenProbe:1266: glWinScreenProbe
init_screen_visuals:1199: init_screen_visuals
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000407" (00000407)
(--) Using preset keyboard for "German (Germany)" (407), type "4"
Rules = "xorg" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null
)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
list!
glWinRealizeWindow:700: glWinRealizeWindow
winPointerWarpCursor - Discarding first warp: 640 497
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - Locale not supported by X. Exiting.
glWinRealizeWindow:700: glWinRealizeWindow
glWinRealizeWindow:700: glWinRealizeWindow
glWinRealizeWindow:700: glWinRealizeWindow
glWinRealizeWindow:700: glWinRealizeWindow
glWinCopyWindow:763: glWinCopyWindow - passing to hw layer
glWinUnrealizeWindow:779: glWinUnrealizeWindow
glWinUnrealizeWindow:779: glWinUnrealizeWindow
glWinUnrealizeWindow:779: glWinUnrealizeWindow
glWinCreateContext:668: glWinCreateContext
glWinCreateContext:687: glWinCreateContext done
glWinCreateBuffer:1353: glWinCreateBuffer
attach:365: attach (ctx 0x0)
attach:384: attached
glWinSetVisualConfigs
init_visuals:918: init_visuals
MIT-SHM extension disabled due to lack of kernel support
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
XFree86-Bigfont extension local-client optimization disabled due to lack of shar
ed memory support in the kernel
glWinScreenProbe:1266: glWinScreenProbe
fixup_visuals:1166: fixup_visuals
init_screen_visuals:1199: init_screen_visuals
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000407" (00000407)
(--) Using preset keyboard for "German (Germany)" (407), type "4"
Rules = "xorg" Model = "pc105" Layout = "de" Variant = "(null)" Options = "(null
)"
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from li
st!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from
list!
glWinRealizeWindow:700: glWinRealizeWindow