c++ - Add BASS library in Code::Blocks on Linux -


can me adding bass library in code::blocks on ubuntu? step step. tried many things , can't this... have "bass24-linux.zip" file , now? please me possible!

edit:

i tell im doing:

  1. unzipping "bass24-linux.zip" on desktop.
  2. copying "bass.h" /usr/include
  3. copying "libbass.so" /usr/lib
  4. in code blocks going settings->compiler->search directories
  5. setting compiler path /usr/include (where bass.h is)
  6. setting linker path /usr/lib (where libbass.so is)
  7. then going project build options->linker settings , set path ../../../../../usr/lib/libbass.so;

then i'm writing simple program, example:

#include <iostream> int main(){ } 

and see error:

g++ -l/usr/lib -o bin/debug/lightbulb obj/debug/main.o ../../../../../usr/lib/libbass.so ../../../../../usr/lib/libbass.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -