www.digitalmars.com         C & C++   DMDScript  

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

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