www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - OpenGL Lib Files.

↑ ↓ ← jstrom <jstrom_member pathlink.com> writes:
When ever I try to compile a program which uses the GLUT libraries in DMC, I get
the following error message:

"C:\dm\bin\...\lib\glut32.lib : Not a Valid Library File"

Does anyone know a way to fix this problem?

-js
Jan 21 2004
→ "Walter" <walter digitalmars.com> writes:
"jstrom" <jstrom_member pathlink.com> wrote in message
news:buni3v$4ah$1 digitaldaemon.com...
 When ever I try to compile a program which uses the GLUT libraries in DMC,

 the following error message:

 "C:\dm\bin\...\lib\glut32.lib : Not a Valid Library File"

 Does anyone know a way to fix this problem?

It's probably in COFF format. Optlink needs libraries to be in OMF format. You could try COFF2OMF on it.
Jan 23 2004
→ "Sean" <seanchen telus.net> writes:
I solved this problem by using Borland C++'s impdef and implib to generate
my own glut32.lib.

"jstrom" <jstrom_member pathlink.com> дʼ
news:buni3v$4ah$1 digitaldaemon.com...
 When ever I try to compile a program which uses the GLUT libraries in DMC,

 the following error message:

 "C:\dm\bin\...\lib\glut32.lib : Not a Valid Library File"

 Does anyone know a way to fix this problem?

 -js

Jan 27 2004