RE: How to write minimal program using GD library

2005-06-18 Thread Siegfried Heintze
Thanks Brian, It works! My problem was that I was running the program (via bash) from the emacs compile command. I wonder why the path is not set up correctly when I use emacs to create a subprocess? The path is setup correctly when I click on the Cygwin prompt. I think emacs specifies bash.exe

Re: How to write minimal program using GD library

2005-06-18 Thread Brian Dessent
Siegfried Heintze wrote: It works! My problem was that I was running the program (via bash) from the emacs compile command. I wonder why the path is not set up correctly when I use emacs to create a subprocess? The path is setup correctly when I click on the Cygwin prompt. I think emacs

How to write minimal program using GD library

2005-06-17 Thread Siegfried Heintze
I'm looking at the GD documentation (a C graphics library) and it pointed me to a simple minimal C program. I cut and pasted this. See below. I cannot get it to work, however, with g++ or msvc v7. When I follow the directions with gcc, it compiles and links fine but when I try to run the

Re: How to write minimal program using GD library

2005-06-17 Thread Brian Dessent
Siegfried Heintze wrote: I cannot get it to work, however, with g++ or msvc v7. When I follow the I very much doubt that you will be able to use Cygwin libraries with MSVC, unless you know precisely what you're doing. directions with gcc, it compiles and links fine but when I try to run the