Ah sorry, looking more closely at the error messages this is just a linker issue. Futhark, unlike c2nim doesn't add header pragmas in order to support a wider variety of linking scenarios. What you're supposed to do is to add the C-based linking whichever way you see fit. In this case I'd assume linking to a dynamic or static library would be your way to solve the issue.
- error: assigning to 'xxx' (aka 'xxx') from incompatible type 'x... mantielero
- error: assigning to 'xxx' (aka 'xxx') from incompatible ty... PMunch
- error: assigning to 'xxx' (aka 'xxx') from incompatibl... mantielero
- error: assigning to 'xxx' (aka 'xxx') from incompa... mantielero
- error: assigning to 'xxx' (aka 'xxx') from inc... PMunch