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
electronics



c++ - "bass.lib" not a valid library file?

↑ ↓ ← ludwig <crappation hotmail.com> writes:
Hello there,

I'm trying to compile my C++ project with the Digital mars compiler.

It uses the "BASS" library, and I have "bass.lib".  My project
compiles fine, but the linker says bass.lib isn't a valid library
file.  Why is that?

Thanks for any help.
Jul 28 2007
↑ ↓ → Bertel Brander <bertel post4.tele.dk> writes:
ludwig skrev:
 Hello there,
 
 I'm trying to compile my C++ project with the Digital mars compiler.
 
 It uses the "BASS" library, and I have "bass.lib".  My project
 compiles fine, but the linker says bass.lib isn't a valid library
 file.  Why is that?

The lib file might be in a wrong format. From where did you get it, can you create it again? There are a two tools that can be used to convert the format, I have not used them, but have a look: http://www.digitalmars.com/ctg/coffimplib.html http://www.digitalmars.com/ctg/coff2omf.html -- Just another homepage: http://damb.dk But it's mine - Bertel
Jul 29 2007