This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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]

opengl:glut - PATH variable doesn't decide which dll to link to?


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/


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