Though I don't know how LÖVE handles dlls. And you are aware this makes your game windows-only?
I guess that would make sense. Sadly, I'm not that troubled making it windows-only. :\
Your suggestion didn't work, but after some fiddling around, I discovered that it would work if LuaXML_lib.dll was in the installed directory (C:\Program Files\LOVE).
So I investigated some more:
Here's what I've found when using WinXP and Windows Explorer: If I drag my folder to love.exe the working directory is C:\Windows
. However, if I right-clicking my project folder and using "Send To" or drag the folder to a shortcut of the exe, the directory is C:\Program Files\LOVE
Furthermore, when creating a .love or .exe, the working directory is wherever you begin to run the file, so that's where you've gotta have your dll's and what not.
Which leads to two questions:
1. Is there a way to make my project folder the working directory? It would be nice to have the same behavior during development as well as release.
2. If I included LuaXML_lib.o
in the .love would it work under Linux? (I also have LuaXml.cdr
, but I've never seen .cdr under Linux)