I've been getting into OS development both real and in Open Computers lately and while writing my kernel, I came across an issue that I cannot figure out. In my init.lua, I've put the following:
local GemKrnl = require("Sapphire.System.GemKrnl")
GemKrnl.EntryPoint()
This should jump into my kernel, but for some reason it comes back with "attempt to call global 'require' (a nil value). I've specified the directory that it can be found, so whats the problem here?
Also, one last thing, I suspect that if I want to use OpenOS apis, then I will need to include the files in my OS directory correct?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I've been getting into OS development both real and in Open Computers lately and while writing my kernel, I came across an issue that I cannot figure out. In my init.lua, I've put the following:
local GemKrnl = require("Sapphire.System.GemKrnl") GemKrnl.EntryPoint()
This should jump into my kernel, but for some reason it comes back with "attempt to call global 'require' (a nil value). I've specified the directory that it can be found, so whats the problem here?
Also, one last thing, I suspect that if I want to use OpenOS apis, then I will need to include the files in my OS directory correct?
Link to post
Share on other sites