You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm trying to wrap CRoaring. Cmake created libroaring.dylib. I work from ./CRoaring which contains roaring.c, roaring.h and roaring.hh. The roaring-header references e.g. <stdlib.h>, <stdint.h>, thats why i had to add the macOS-frameworks path.
nim r --maxLoopIterationsVM:30000000 wrapper.nim yields
... many more ...
/Volumes/backup/Downloads/qemu/cc/CRoaring/wrapper.nim(5, 1) template/generic instantiation of `importc` from here
/Users/asc/.nimble/pkgs/futhark-0.7.4/futhark.nim(503, 14) template/generic instantiation of `importcImpl` from here
/Users/asc/.nimble/pkgs/futhark-0.7.4/futhark.nim(624, 11) Warning: Anonymous global: {"kind":"import","file":"/Volumes/backup/Downloads/qemu/cc/CRoaring/roaring.h","position":{"column":1,"line":2371},"import":"/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/stdint.h"} [User]
stack trace: (most recent call last)
/Users/asc/.nimble/pkgs/futhark-0.7.4/futhark.nim(619, 19) importcImpl
/Users/asc/.nimble/pkgs/futhark-0.7.4/futhark.nim(140, 29) addUsings
/Users/asc/.nimble/pkgs/futhark-0.7.4/futhark.nim(111, 10) findAlias
/Volumes/backup/Downloads/qemu/cc/CRoaring/wrapper.nim(5, 1) template/generic instantiation of `importc` from here
/Users/asc/.nimble/pkgs/futhark-0.7.4/futhark.nim(503, 14) template/generic instantiation of `importcImpl` from here
/Users/asc/.nimble/pkgs/futhark-0.7.4/futhark.nim(111, 10) Error: Unknown kind in findAlias: {"kind":"atomic","base":{"kind":"base","value":"uint32"}}
The text was updated successfully, but these errors were encountered:
Hi Peter,
i'm trying to wrap CRoaring. Cmake created
libroaring.dylib
. I work from./CRoaring
which containsroaring.c
,roaring.h
androaring.hh
. The roaring-header references e.g.<stdlib.h>
,<stdint.h>
, thats why i had to add the macOS-frameworks path.nim r --maxLoopIterationsVM:30000000 wrapper.nim
yieldsThe text was updated successfully, but these errors were encountered: