Can somebody help me with adding BASS library in Code::Blocks on Ubuntu? But step by step. I tried many things and I can't do this... I have "bass24-linux.zip" file and what now? Please help me as soon as possible!
EDIT:
I will tell you what Im doing:
- Unzipping "bass24-linux.zip" on Desktop.
- Copying "bass.h" to /usr/include
- Copying "libbass.so" to /usr/lib
- In Code Blocks going to Settings->Compiler->Search directories
- Setting compiler path to /usr/include (where bass.h is)
- Setting linker path to /usr/lib (where libbass.so is)
- Then going to the project build options->Linker settings and set path ../../../../../usr/lib/libbass.so;
Then I'm writing a simple program, for example:
#include <iostream>
int main(){
}
And then I 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