www.digitalmars.com         C & C++   DMDScript  

c++ - GLUT Invalid library file

reply 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
parent reply 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
parent "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