c++ - GCC - Linking bass.lib on Ubuntu -


I wrote an application on windows using CPP and bass, and now I have to run it on linux (UbuTU) . / P>

  I'm using GCC version 4.5.2.   

I have bass.lib in my directory, out of which I try to compile prog.cpp using the following command arguments:

  Gcc prog.cpp -L -lbass.lib   

but I get the following error:

  / usr / bin / ld: can not be found -lbass.lib collect2: ld back 1 Exit status   

I think this is a linking error, the compiler is not getting the bass.lib, but I have specified the command line as an argument.

Not sure what to do, any help will really be great.

bass.Lib seems like a window library. You can not use linux generated on Windows (possibly generated from MSWC compiler) on Linux.

The Linux version of the library is named libbass.so, in that case you can use the -bos linker logic, and possibly on the basis of other compiler / linker flags , Depending on where you install the library. Bass in linux download on linux. There are some notes on Tex Linux

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -