Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-return: allowed Date: Tue, 13 Aug 2002 16:10:23 -0400 From: "Julin, Joshua" Subject: opengl:glut - PATH variable doesn't decide which dll to link to? To: "'cygwin AT cygwin DOT com'" Message-id: <7424935D9B6CD311B72800508B108FD2BB5027@emss03m08.orl.lmco.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hello all, My application keeps linking to the wrong glut32.dll which causes my application to crash. I have verified that this by: (1) removing the file and (2) via cygcheck. I have two glut32.dll's on my system. The dll I want to use is from the cygwin distribution (/bin/glut32.dll). The offending dll is in my windows system folder (c:\winnt\system32\glut32.dll). Is there a way of making cygwin ignore c:\winnt\system32\glut32.dll, short of deleting it? It seems to me that putting /bin in my PATH before 'c:\winnt\system32' should solve this problem, but it doesn't. I also tried LD_LIBRARY_PATH to no avail. Thanks in advance, Joshua -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/