JOBnik's Forum

BASS_FX => BASS_FX => Topic started by: grabi on May 24, 2010, 09:26:24 PM

Title: bass_fx for Linux
Post by: grabi on May 24, 2010, 09:26:24 PM
Hello, I have problems with version 2.4 for Linux.
Calling to any libbass_fx.so function the aplication finishes giving an error: segmentation fault

Works well with libbass.so functions

I use Realbasic and ubuntu 9.10 karmic koala
I tried with other distros (live-cd) and i get the same problem

Title: Re: bass_fx for Linux
Post by: grabi on May 25, 2010, 01:55:43 PM
This is the result using gdb debugger:

Starting program: /home/om/Escritorio/test linux/test2/MiAplicaciĆ³n
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x07dfa5c3 in BASS_FX_BPM_Free () from /usr/local/lib/libbass_fx.so

... the app crash when using BASS_FX_TempoCreate(), but appear to crash in BASS_FX_BPM_Free  :-\
Always crash in BASS_FX_BPM_Free
Title: Re: bass_fx for Linux
Post by: (: JOBnik! :) on May 26, 2010, 02:26:18 AM
Hi ;D

Please test the "contest" example as I've posted on un4seen.com forum:
http://www.un4seen.com/forum/?topic=11335.msg78940#msg78940
Title: Re: bass_fx for Linux
Post by: J05HYYY on July 23, 2010, 07:32:07 AM
Hello, I am having trouble with the linux version too. When I test the "contest" example I get:

/tmp/ccJMbUui.o: In function `getDecodingBPM':
contest.c:(.text+0x4c): undefined reference to `BASS_FX_BPM_DecodeGet'
contest.c:(.text+0x58): undefined reference to `BASS_FX_BPM_Free'
/tmp/ccJMbUui.o: In function `main':
contest.c:(.text+0x189): undefined reference to `BASS_FX_GetVersion'
contest.c:(.text+0x29e): undefined reference to `BASS_FX_TempoCreate'
collect2: ld returned 1 exit status
make: *** [contest] Error 1

Am I doing something silly?


Title: Re: bass_fx for Linux
Post by: (: JOBnik! :) on July 24, 2010, 02:38:10 PM
Hi;D

Hello, I am having trouble with the linux version too. When I test the "contest" example I get:

/tmp/ccJMbUui.o: In function `getDecodingBPM':
contest.c:(.text+0x4c): undefined reference to `BASS_FX_BPM_DecodeGet'
contest.c:(.text+0x58): undefined reference to `BASS_FX_BPM_Free'
/tmp/ccJMbUui.o: In function `main':
contest.c:(.text+0x189): undefined reference to `BASS_FX_GetVersion'
contest.c:(.text+0x29e): undefined reference to `BASS_FX_TempoCreate'
collect2: ld returned 1 exit status
make: *** [contest] Error 1

Am I doing something silly?

Please confirm that you're using the latest LIBBASS_FX.SO and LIBBASS.SO
Tested again and the contest works fine...
Title: Re: bass_fx for Linux
Post by: J05HYYY on July 24, 2010, 11:00:09 PM
Thank you, it worked with some modification. I will post my next question as a new topic.
Title: Re: bass_fx for Linux
Post by: grabi on November 12, 2010, 01:26:59 PM
I continue with the thread...

This code also crash in linux (segmentation fault):
Code: [Select]
#include <stdlib.h>
#include <stdio.h>
#include <dlfcn.h>
#include "bass.h"
#include "bass_fx.h"

void main(int argc, char **argv)
{

void *libHandle = dlopen ("./libbass_fx.so",RTLD_LAZY);

}