PDA

View Full Version : Netbeans + GLUT + Cygwin


Alaa
04-12-10, 12:43 PM
I have been working to get them all to work together all day. I was able to get my app to build successfully but it fails to run! I tested it on Visual C++ and it worked but I need it on Netbeans for now. I get this error when I press debug. Any tips?
http://www.nvnews.net/vbulletin/attachment.php?attachmentid=39999&stc=1&d=1271094171

ViN86
04-12-10, 03:48 PM
Do you need X11?

Alaa
04-12-10, 09:09 PM
dxdiag says I have DX11. The thing with Visual C++ is that it has been buggy as hell lately for me. I can't create new projects/open others. I really need an alternative.

ViN86
04-13-10, 10:05 AM
No, X11 is the Linux/GNU window system.

http://en.wikipedia.org/wiki/X_Window_System

Try installing it in Cygwin (use the install package manager).

Alaa
04-13-10, 06:04 PM
Oh, OK! Downloaded everything related to X11 but still getting the same error.

Imbroglio
05-28-10, 08:17 AM
that's great but have you started the X display system?

typically you can just type 'startx' (I would refer to cygwin documentation though)

If that doesn't work, also ensure the $DISPLAY env variable in cygwin is properly setup, this can be checked using 'echo $DISPLAY'

Imbroglio
05-28-10, 08:19 AM
... just realized the date. hope you got it working!