I am playing around with the ci20 and flowcloud. I have downloaded their c library/sdk and have included the header.
The program is simply:
#include <stdio.h>
#include <stdbool.h>
#include <flow/flowcore.h>
int main (int argc, char*argv[])
{
printf("hello");
if(FlowCore_Initialise()) printf("init");
return (0);
}
but on compilation gcc -Wall test.c -o hello
I get this error:
/tmp/cch4kocL.o: In function `main':
test.c:(.text+0x40): undefined reference to `FlowCore_Initialise'
collect2: error: ld returned 1 exit status
I am not 100% sure what is going on here.