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:
- unzipping "bass24-linux.zip" on desktop.
- copying "bass.h" /usr/include
- copying "libbass.so" /usr/lib
- in code blocks going settings->compiler->search directories
- setting compiler path /usr/include (where bass.h is)
- setting linker path /usr/lib (where libbass.so is)
- 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
Post a Comment