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++ - GLUT Invalid library file

↑ ↓ ← IvanScheers compuserve.com writes:
Hi,

I'm trying to compile OpenUniverse (www.openuniverse.org) with DM.

The sources seem to compile fine, but when the link process starts I get :

Error: C:\projects\IS\glut32.lib (96403780): Not a Valid Library File
Errors: 1 Warnings:0
Build failed

I think I've used an incompatible (VC++ ?) glut32.lib library.  Where can I find
a compatible one ?

Ivan
Jun 22 2002
↑ ↓ IvanScheers compuserve.com writes:
I'm replying my own message...

Found out that I need to create the import library with implib /s

However, now I get Symbol Undefined _glutBitmapCharacter 8 etc...
So many of them, I think it's for every glut function.  So I seem to have an
name mangling issue on my hands.

Anyone who knows how to solve them ?

Ivan




In article <af1auu$mkn$1 digitaldaemon.com>, IvanScheers compuserve.com says...
Hi,

I'm trying to compile OpenUniverse (www.openuniverse.org) with DM.

The sources seem to compile fine, but when the link process starts I get :

Error: C:\projects\IS\glut32.lib (96403780): Not a Valid Library File
Errors: 1 Warnings:0
Build failed

I think I've used an incompatible (VC++ ?) glut32.lib library.  Where can I find
a compatible one ?

Ivan

Jun 22 2002
↑ ↓ → "Nic Tiger" <nictiger pt.comcor.ru> writes:
I think you can convert your (possibly COFF format) library with
coff2omf.exe utility.

If it doesn't convert, try converting it first to old COFF format with VC's
lib.

Nic Tiger.

<IvanScheers compuserve.com> wrote in message
news:af1coi$14rc$1 digitaldaemon.com...
 I'm replying my own message...

 Found out that I need to create the import library with implib /s

 However, now I get Symbol Undefined _glutBitmapCharacter 8 etc...
 So many of them, I think it's for every glut function.  So I seem to have

 name mangling issue on my hands.

 Anyone who knows how to solve them ?

 Ivan




 In article <af1auu$mkn$1 digitaldaemon.com>, IvanScheers compuserve.com

Hi,

I'm trying to compile OpenUniverse (www.openuniverse.org) with DM.

The sources seem to compile fine, but when the link process starts I get


Error: C:\projects\IS\glut32.lib (96403780): Not a Valid Library File
Errors: 1 Warnings:0
Build failed

I think I've used an incompatible (VC++ ?) glut32.lib library.  Where can


a compatible one ?

Ivan


Jun 22 2002