fubark / cyber

Fast and concurrent scripting.
https://cyberscript.dev
MIT License
1.16k stars 38 forks source link

Error occurs when compiling the examples - undefined symbol: execBytecode. #83

Closed jub0t closed 5 months ago

jub0t commented 5 months ago
D:\Cyber\examples\c-embedded>zig c++ main.cpp -I ../../src/include ../../zig-out/lib/cyber.lib -o ./main.exe

RESULTS:

LLD Link... lld-link: error: undefined symbol: execBytecode
>>> referenced by cyber.lib(cyber.lib.obj):(vm.evalLoopGrowStack)
fubark commented 5 months ago

This broke when the VM was separated from the lib. I have the fix mixed in with my other WIP changes, but for now 6d85e885 works.

jub0t commented 5 months ago

Thanks a lot for pointing it out, I already started to suspect the current commit version for the broken feature. Any ETA on it being fixed?

fubark commented 5 months ago

Hopefully this weekend I can push up everything. Also been wanting to improve the CI test step for libs by actually running them after linking. Hopefully I can squeeze that in too.

fubark commented 5 months ago

This should be fixed. Please reopen if you encounter more issues.