janet-lang / jpm

Janet Project Manager
MIT License
65 stars 21 forks source link

Cannot load native module with MinGW (GC error) #86

Closed grmoth closed 8 months ago

grmoth commented 8 months ago

I'm trying to load native modules, but I get the same error everytime (and with every module I tried)

Janet 1.32.1-local mingw/x64/gcc - '(doc)' for help
repl:1:> (use spork/cmath)
janet interpreter runtime error at line 525 in file src/core/gc.c: please initialize janet before use

As noted above, every thing is compiled with MinGW, and the modules are installed with jpm, apparently without any warning or error.

Everything else (including loading source module, and compiling to binary .exe) seem to work without an issue.

grmoth commented 8 months ago

My mistake, should be in janet repo.