problem compiling code with OpenGL calls (update)

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Sun Sep 18 02:44:00 GMT 2005


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/



More information about the Cygwin-xfree mailing list