I'm guessing it's due to Mudlet using a newer version of QT, but sound triggers and playSoundFile() are both working properly on Win 10 x64.
Some notes about the process:
In the following section, I also had to rename -llua51 to -llua to get the make to complete.
Also, Boost 1.45 wasn't working, and from what I read it seemed like that is an incompatibility with C++11. I ended up installing Boost 1.60 over top of 1.45, leaving the old 1.45 files because when I tried 1.60 only, some important files were missing. Sloppy, but that fixed those issues.git clone https://github.com/Chris7/Mudlet2.git
cd Mudlet2/src (if using my github repo)
git checkout mudletDev
edit src.pro and add:
to Win32:LIBS:
change:
-lzlib to -lzlib1
-lhunspell to -lhunspell-1.3-0
-lpcre to -lpcre-1
-llibzip to -llibzip-2
add right above -llua51:
-L"C:\\mingw32\\bin" \
The compiled Mudlet seems to be working fine, just have a lua library issue keeping me from switching to using it. When I tried "luarocks install luazip" I ended up with the following error:
Google has not been any help in fixing that issue, and until I can get a working copy of luazip compiled, I'm presumably going to keep running into this:C:\LuaRocks>luarocks install luazip
Installing https://luarocks.org/luazip-1.2.4-1.rockspec...
Using https://luarocks.org/luazip-1.2.4-1.rockspec... switching to 'build' mode
Error: Could not find header file for ZZIP
No file zzip.h in c:/external/include
You may have to install ZZIP in your system and/or pass ZZIP_DIR or ZZIP_INCDIR
to the luarocks command.
Example: luarocks install luazip ZZIP_DIR=/usr/local
C:\LuaRocks>
I even took the zip.dll file out of my current Mudlet 3.0.0-delta install, and I still end up getting an error, albeit a different one:[ ERROR ] - Cannot find Lua module zip.
Lua error:[string "require "zip""]:1: module 'zip' not found:
no field package.preload['zip']
no file '.\zip.lua'
no file 'C:\Users\Dicene\Desktop\Mudlet\lua\zip.lua'
no file 'C:\Users\Dicene\Desktop\Mudlet\lua\zip\init.lua'
no file 'C:\Users\Dicene\Desktop\Mudlet\zip.lua'
no file 'C:\Users\Dicene\Desktop\Mudlet\zip\init.lua'
no file '.\zip.dll'
no file 'C:\Users\Dicene\Desktop\Mudlet\zip.dll'
no file 'C:\Users\Dicene\Desktop\Mudlet\loadall.dll'
Any insight?[ ERROR ] - Cannot find Lua module zip.
Lua error:error loading module 'zip' from file '.\zip.dll':
The specified module could not be found.