FMODGMS
FMODGMS copied to clipboard
kissfft not working on the linux version
I am trying to port my application, which uses this library and the kiss_fft functions I contributed, to Linux. But it seems something has gone wrong in the linking process or something. There are no release binaries for the latest version in this repo, but if I build the library myself using the build64.sh script, it completes and the program runs, but when I then try to call a function that uses the kissfft library, the program crashes with the following error:
symbol lookup error: assets/libfmodgms.so: undefined symbol: kiss_fft_alloc
Do you know how to build the library to fix the kissfft symbols?
For the record I was able to build it properly, but I'm not sure if you want a pull request as the toolset is completely different, I used g++ instead of clang, and fmod libs are in /usr/local.
With v0.10.1 branch, and cd'd to the linux folder:
g++ -Wall -std=c++14 -fPIC -O2 -c ../code/kissfft/kiss_fft.c
g++ -Wall -std=c++14 -fPIC -O2 -c ../code/kissfft/kiss_fftr.c
g++ -Wall -std=c++14 -fPIC -O2 -c ../code/fmodgms.cpp
g++ -shared -o libfmodgms.so ../code/fmodgms.o ../code/kissfft/kiss_fftr.o ../code/kissfft/kiss_fft.o /usr/local/lib/libfmod.so