This is the mail archive of the cygwin-xfree 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: problem compiling code with OpenGL calls (update)


On Sat, Sep 17, 2005 at 07:41:40PM -0700, William Wallace wrote:
>Well it looks like user error was to blame for my
>compile problems.
>
>After a couple of hours of searching, I was able to
>compile using the following:
>gcc example.c -o example -lglu32 -lopengl32 -lglut
>
>Now, my attempt to execute the program has hit a snag,
>I'm seeing the following error:
>
>$example.exe
>-bash:example.exe: command not found.
>
>(example.exe is definately in the directory)

...but not in the path.

Try

./example

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


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