Closed nikneym closed 3 years ago
Hi, I want to embed Io inside to my project but I've got some linker errors. am I missing a flag there?
gcc main.c -lbasekit -liovmall
I ran this code to check if it works
#include <stdio.h> #include "io/IoState.h" int main(int argc, const char *argv[]) { IoState *self = IoState_new(); IoState_init(self); IoState_doCString_(self, "writeln(\"hello world!\""); IoState_free(self); return 0; }
the errors I got
I got the shared library installed at usr/local/lib
and header files at usr/local/include
gcc main.c -lbasekit -liovmall -lm?
gcc main.c -lbasekit -liovmall -lm
Ah, thank you. Works like a charm!
Hi, I want to embed Io inside to my project but I've got some linker errors. am I missing a flag there?
gcc main.c -lbasekit -liovmall
I ran this code to check if it works
the errors I got
I got the shared library installed at usr/local/lib
and header files at usr/local/include