lovefs along with Slab
Posted: Tue May 30, 2023 1:59 pm
ok so i'm simply trying to use Slab and lovefs together, but on startup it throws this error:
i understand this is because Slab defines parts of this library for itself (i require Slab before lovefs and it doesnt matter, the error gets thrown either way)
how do i resolve this? i'm assuming i just need to comment out some conflicting definitions, however, whatever i try to comment out, there is always an error
UPDATE: i managed to get it to work after about 5 waves of errors. its a total mess, but it works (i think), so no further help needed for now
Code: Select all
Error
lovefs.lua:35: attempt to redefine 'WIN32_FIND_DATAW' at line 3
Traceback
[C]: in function 'cdef'
lovefs.lua:35: in main chunk
[C]: in function 'require'
main.lua:4: in function 'load'
[C]: in function 'xpcall'
[C]: in function 'xpcall'
how do i resolve this? i'm assuming i just need to comment out some conflicting definitions, however, whatever i try to comment out, there is always an error
UPDATE: i managed to get it to work after about 5 waves of errors. its a total mess, but it works (i think), so no further help needed for now