Hey!
I am trying to port some filters from faust to axoloti and I am having some trouble executing a standard function. What is the correct way to get tanf to work?
Generate code complete
Start compiling patch
Compiling patch... with /Applications/Axoloti.app/Contents/Java/firmware
BDIR = /Users/logsol/Documents/axoloti/build
FIRMWARE = .
RM
APP
! /Users/logsol/Documents/axoloti/build/xpatch.h.gch
. /Applications/axoloti_runtime/platform_osx/arm-none-eabi/include/math.h
. /Applications/axoloti_runtime/platform_osx/lib/gcc/arm-none-eabi/4.9.3/include/stdint.h
. /Applications/axoloti_runtime/platform_osx/arm-none-eabi/include/stdlib.h
LINK
/Users/logsol/Documents/axoloti/build/xpatch.o: In function `PatchProcess(long*, long*)':
xpatch.cpp:(.text+0xc0): undefined reference to `tanf'
In the output log I see that math.h is being included and when I search this file, I do see a reference to tanf in it:
...
/* Single precision versions of ANSI functions. */
extern float atanf _PARAMS((float));
extern float cosf _PARAMS((float));
extern float sinf _PARAMS((float));
extern float tanf _PARAMS((float));
extern float tanhf _PARAMS((float));
extern float frexpf _PARAMS((float, int *));
extern float modff _PARAMS((float, float *));
extern float ceilf _PARAMS((float));
extern float fabsf _PARAMS((float));
extern float floorf _PARAMS((float));
...
Can anybody shine some light on this? Or maybe I should be using another tangent implementation altogether?
Cheers!