OpenGL and cygwin

2003-11-16 Thread Suresh Venkatasubramanian
Hi all, I have been trying for the last few days to recreate some of the OpenGl problems that I have been asking the list about. Fortunately (or unfortunately, depending on one's perspective :)), I have been unable to get the errors reproduced in a standalone form, and in fact many of my OpenGL

Re: OpenGL and cygwin

2003-11-11 Thread Brian Ford
On Mon, 10 Nov 2003, Suresh Venkatasubramanian wrote: > On Mon, 10 Nov 2003, Brian Ford wrote: > > > Did you try it without -mno-cygwin? You will still get your Nvidia > > OpenGL libs, but will be subject to Cygwin's license. > > > So I compiled without -mno-cygwin. According to cygcheck, I get t

Re: OpenGL and cygwin

2003-11-11 Thread Andre Bleau
Suresh Venkatasubramanian wrote: So I compiled without -mno-cygwin. According to cygcheck, I get the correct dlls (dump enclosed below). This time the program runs silently, and exits without popping up a window and with no errors. From appropriately placed print statements, it appears that the p

Re: OpenGL and cygwin

2003-11-10 Thread Suresh Venkatasubramanian
On Mon, 10 Nov 2003, Brian Ford wrote: > This is part of your confusion. Cygwin proper has no OpenGL libs (ie. > opengl32, glu32) per se. It only has import libraries for the Window's > ones. (Cygwin does have a glut.dll and import lib as you have seen.) > > Cygwin XFree86 supplies OpenGL libs

Re: OpenGL and cygwin

2003-11-10 Thread Brian Ford
On Mon, 10 Nov 2003, Suresh Venkatasubramanian wrote: > OK. now I am really confused. > Let me try to summarize what I want to do. > > I want to compile an OpenGL program that uses the native windows > opengl drivers for linking rather than cygwin's libraries. > This is part of your confusion. Cy

Re: OpenGL and cygwin

2003-11-10 Thread Suresh Venkatasubramanian
I see. What is interesting is that I tried running the program from outside bash (i.e via a windows prompt), and then it complained because it couldn't find cygwin1.dll. So the cygwin dll is indeed being linked somehow. my compiling command line is: g++ -w -mno-cygwin from inside a cygwin t

Re: OpenGL and cygwin

2003-11-10 Thread Christopher Faylor
On Mon, Nov 10, 2003 at 05:12:12PM -0500, Suresh Venkatasubramanian wrote: > >On Mon, 10 Nov 2003, Christopher Faylor wrote: > >> On Mon, Nov 10, 2003 at 04:43:10PM -0500, Suresh Venkatasubramanian wrote: >> >True, but I am not using cygwin dlls. I am using native windows opengl >> >dlls and an nv

Re: OpenGL and cygwin

2003-11-10 Thread Suresh Venkatasubramanian
On Mon, 10 Nov 2003, Christopher Faylor wrote: > On Mon, Nov 10, 2003 at 04:43:10PM -0500, Suresh Venkatasubramanian wrote: > >True, but I am not using cygwin dlls. I am using native windows opengl > >dlls and an nvidia glut dll. moreover, I compile using -mno-cygwin > > Go back and read th

Re: OpenGL and cygwin

2003-11-10 Thread Christopher Faylor
On Mon, Nov 10, 2003 at 04:43:10PM -0500, Suresh Venkatasubramanian wrote: >True, but I am not using cygwin dlls. I am using native windows opengl >dlls and an nvidia glut dll. moreover, I compile using -mno-cygwin Go back and read the output from cygcheck that you sent to this mailing list.

Re: OpenGL and cygwin

2003-11-10 Thread Suresh Venkatasubramanian
True, but I am not using cygwin dlls. I am using native windows opengl dlls and an nvidia glut dll. moreover, I compile using -mno-cygwin Suresh Venkatasubramanian, Ph: 973 360 8951 (o) Member, Technical StaffWeb: http://www.research.att.com/~suresh/ AT&T Shannon Labs "The guitar is th

Re: OpenGL and cygwin

2003-11-10 Thread Christopher Faylor
On Mon, Nov 10, 2003 at 04:16:00PM -0500, Suresh Venkatasubramanian wrote: > >OK. now I am really confused. >Let me try to summarize what I want to do. > >I want to compile an OpenGL program that uses the native windows >opengl drivers for linking rather than cygwin's libraries. I compiled my >code

Re: OpenGL and cygwin

2003-11-10 Thread Suresh Venkatasubramanian
OK. now I am really confused. Let me try to summarize what I want to do. I want to compile an OpenGL program that uses the native windows opengl drivers for linking rather than cygwin's libraries. I compiled my code using gcc -mno-cygwin -lglut32 -lglu32 -lopengl32 also making sure that I was

Re: OpenGL and cygwin

2003-11-10 Thread Christopher Faylor
On Mon, Nov 10, 2003 at 03:51:58PM -0500, Suresh Venkatasubramanian wrote: >I see. this is true I think, inasmuch as I compiled the program using >gcc -mno-cygwin (because I need native windows opengl dlls rather than >the cygwin stuff) Then you can't use the cygwin glut32.dll. >On Mon, 10 Nov 2

Re: OpenGL and cygwin

2003-11-10 Thread Suresh Venkatasubramanian
I see. this is true I think, inasmuch as I compiled the program using gcc -mno-cygwin (because I need native windows opengl dlls rather than the cygwin stuff) On Mon, 10 Nov 2003, Jason Tishler wrote: > Suresh, > > On Mon, Nov 10, 2003 at 02:02:29PM -0500, Suresh Venkatasubramanian wrote: > > eu

Re: OpenGL and cygwin

2003-11-10 Thread Jason Tishler
Suresh, On Mon, Nov 10, 2003 at 02:02:29PM -0500, Suresh Venkatasubramanian wrote: > euclid 2:04pm [3d_diameter]> cygcheck main > Found: .\main.exe > main.exe > C:\WINDOWS\System32\msvcrt.dll > C:\WINDOWS\System32\KERNEL32.dll > C:\WINDOWS\System32\ntdll.dll > C:\WINDOWS\System32\GLU

Re: OpenGL and cygwin

2003-11-10 Thread Suresh Venkatasubramanian
On Mon, 10 Nov 2003, Christopher Faylor wrote: > On Mon, Nov 10, 2003 at 12:06:53PM -0500, Suresh Venkatasubramanian wrote: > > > >> > 61 [unknown (0x48)] ? 3804 cygheap_fixup_in_child: Couldn't reserve space > >> > for cygwin's heap (0x6160 <0x0>) in child, Win32 error 487 > >> > > >> WAG: H

Re: OpenGL and cygwin

2003-11-10 Thread Christopher Faylor
On Mon, Nov 10, 2003 at 12:06:53PM -0500, Suresh Venkatasubramanian wrote: > >On Mon, 3 Nov 2003, Brian Ford wrote: > >> AFAIK, Cygwin's glut is 3.7.3. >> >> > 61 [unknown (0x48)] ? 3804 cygheap_fixup_in_child: Couldn't reserve space >> > for cygwin's heap (0x6160 <0x0>) in child, Win32 error 4

Re: OpenGL and Cygwin

2003-11-10 Thread Suresh Venkatasubramanian
On Mon, 3 Nov 2003, Brian Ford wrote: > AFAIK, Cygwin's glut is 3.7.3. > > > 61 [unknown (0x48)] ? 3804 cygheap_fixup_in_child: Couldn't reserve space > > for cygwin's heap (0x6160 <0x0>) in child, Win32 error 487 > > > WAG: Have you read this? I read the doc on increasing cygwin's max memor

Re: OpenGL and Cygwin

2003-11-03 Thread Brian Ford
On Mon, 3 Nov 2003 [EMAIL PROTECTED] wrote: > The reason I was using Nvidia's glut is because they have a more recent > version of it (glut 3.7 I believe) than the stated version that cygwin > provides. I recognize that this may cause weird unsupported problems, so I > tried both versions, and get

Re: OpenGL and Cygwin

2003-11-03 Thread suresh
> >My g++ command line is > > > >g++ -mno-cygwin -lglut32 -lglu32 -lopengl32 > > > >and a cygcheck on my exe file indicated that the glut file being linked > >is my local copy that I got from nvidia, > > Can you tell us why you are using GLUT from NVDIA instead of GLUT from > Cygwin's OpenG

Re: OpenGL and Cygwin

2003-10-31 Thread Andre Bleau
suresh at research dot att dot com wrote: Hi Brian, Andre, cygwin folks, Thanks for all your help to date. I have been somewhat lax in replying since I am sitting at my laptop in India with a slow connection. Here is the situation: As per Andre's suggestion, I wanted to force linking via the w

Re: OpenGL and Cygwin

2003-10-26 Thread suresh
Hi Brian, Andre, cygwin folks, Thanks for all your help to date. I have been somewhat lax in replying since I am sitting at my laptop in India with a slow connection. Here is the situation: As per Andre's suggestion, I wanted to force linking via the windows gl headers, and so I just moved t

Re: OpenGL and Cygwin

2003-10-24 Thread Brian Ford
On Fri, 24 Oct 2003 [EMAIL PROTECTED] wrote: > thanks Andre ! the fix worked. I can now compile helloglut and many of > the red book opengl demos. > I went back to review this thread, but I am unsure exactly what fix you actually used. It would help greatly to see your exact compile line, and to

Re: OpenGL and Cygwin

2003-10-23 Thread suresh
thanks Andre ! the fix worked. I can now compile helloglut and many of the red book opengl demos. I noticed that glGetMinmax and some histogram related functions are not supported. It is possible that this is because these are opengl 1.2 functions. By setting appropriate flags I got the appropr

Re: OpenGL and Cygwin

2003-10-22 Thread Andre Bleau
suresh at research dot att dot com wrote: As per Andre's suggestion, i compiled and ran the attached program. Below are the outputs under different system settings: All programs run from tcsh inside cygwin. My LD_LIBRARY_PATH also had my current dir, because I had the nvidia glut32.dll and glut32.

Re: OpenGL and Cygwin

2003-10-21 Thread suresh
As per Andre's suggestion, i compiled and ran the attached program. Below are the outputs under different system settings: All programs run from tcsh inside cygwin. My LD_LIBRARY_PATH also had my current dir, because I had the nvidia glut32.dll and glut32.lib files in it (which work when compil

Re: OpenGL and Cygwin

2003-10-20 Thread Andre Bleau
Suresh Venkatasubramanian wrote: Hi, I apologize in advance if this duplicates questions already asked and answered: I have searched the cygwin/cygwin-apps mailing lists already, and there appears to be no clear answer, and most of the FAQs are a bit outdated. I have an opengl program that I wi

OpenGL and Cygwin

2003-10-18 Thread Suresh Venkatasubramanian
Hi, I apologize in advance if this duplicates questions already asked and answered: I have searched the cygwin/cygwin-apps mailing lists already, and there appears to be no clear answer, and most of the FAQs are a bit outdated. I have an opengl program that I wish to compile under the cygwin en

Re: opengl and cygwin

2002-02-08 Thread Andre Bleau
>Hi, > >I have been working OpenGl and Cygwin for some time now. >You do not have to install xfree in order to make it work. >Just download the Package : > >http://atlas.puj.edu.co/~amatta/tesis/OpenGl/Windows/cygwin/OpenGLPackage.zip > >It includes all the necesary l

Re: opengl and cygwin

2002-02-08 Thread Antonio MATTA
Hi, I have been working OpenGl and Cygwin for some time now. You do not have to install xfree in order to make it work. Just download the Package : http://atlas.puj.edu.co/~amatta/tesis/OpenGl/Windows/cygwin/OpenGLPackage.zip It includes all the necesary libraries to make OpenGl and Cygwin

Re: opengl and cygwin

2002-02-05 Thread Larry Hall (RFK Partners, Inc)
Cygwin follows UNIX conventions for library names. That means the glut library is named libglut.a. If you installed the OpenGL package, you should find this in /usr/lib. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Was

Re: opengl and cygwin

2002-02-05 Thread Ling F. Zhang
Thanks for that information. I read the info. If my understanding is correct, the opengl that came with cygwin is just like the one with windows and all I have to do is link. so I just added -llib to my gcc line...well, it returns symbol not found error...okay, that sounds to me that my lib PATh

Re: opengl and cygwin

2002-02-05 Thread Larry Hall (RFK Partners, Inc)
At 03:03 PM 2/5/2002, Ling F. Zhang wrote: >this seems like an X question, but it concerns openssh >as well, so I am going to ask. >okay, I need to do some opengl development. I found >that opengl library comes with cygwin, that's a plus >for me. but I think I might need to install xfree for >cyg

opengl and cygwin

2002-02-05 Thread Ling F. Zhang
this seems like an X question, but it concerns openssh as well, so I am going to ask. okay, I need to do some opengl development. I found that opengl library comes with cygwin, that's a plus for me. but I think I might need to install xfree for cygwin in order for it to work (is this true?) say I