I´m trying to produce a little example code for the library libfixmath and I get the error "undefined reference to `fix16_mul' "
The code is:
#include <stdio.h>
#include "libfixmath/fixmath.h"
int main(){
fix16_t res = fix16_mul(fix16_from_int(1), fix16_from_int(2));
return 0;
}
The library is at the specified path and I compile just with the command
gcc -o testfix testfix.c