This is the mail archive of the mailing list for the Cygwin XFree86 project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Looking for OpenGL "hello world"

if you've installed the *latest* cygwin & just used the default
settings & had not had previous versions of cygwin installed
nor do you have any instances of cygwin1.dll anywhere else
on your computer (due to other cygwin based s/w), then
getting it to compile a normal helloworld.c should be a piece
of cake (assuming you know enough basic *n*x stuff).

--- a.c ---
#include <stdio.h>
int main(void) {puts("Hello world!");return(0);}
/* the empty line below is required to compile properly */


should work just doing gcc -o a a.c.

get the X servers working under cygwin.
make sure you can run xclock or similar to test things out.

get mesa, take their examples (the X windows ones),
and try the simplest one out.
(you might want to break apart even that simple code to
test what works & what doesn't).

it might help to download source codes for xclock &
see what commands r used to compile X apps on cygwin too.

i'm sure you'll hit some walls along the way, but it's around

At 2004-12-28 12:30 PM, you wrote:
>Trying to get cygwin working to practice writing OpenGL code, but ready to throw in the towel.  As usual, I'm having Win OS based problems that are chewing up massive amounts of time.  I'd be better off ordering a new computer and installing Redhat myself I think, although finding an OpenGL "hello.c" program in their docs isn't a piece of cake either.
>If anyone can point me towards some links, tutorials, etc.  I can't see the forest through the trees.  Too much info, most of which is out of date.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]