lovefs along with Slab

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
mk8
Prole
Posts: 34
Joined: Thu Apr 22, 2021 7:11 am

lovefs along with Slab

Post by mk8 »

ok so i'm simply trying to use Slab and lovefs together, but on startup it throws this error:

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'
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 :)
hippity hoppity ur code is my property (thanc in advanc)
User avatar
Ghosx
Prole
Posts: 25
Joined: Mon Jun 05, 2023 5:53 pm
Location: Earth
Contact:

Re: lovefs along with Slab

Post by Ghosx »

hope to see it In the games and creations forum.
good luck :)
My Itch.io profile page: https://ghosx.itch.io/ see ya :3
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests