Mudlet on Cygwin

Post Reply
User avatar
SlySven
Posts: 1019
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Mudlet on Cygwin

Post by SlySven »

I have just managed to get Mudlet running in a Cygwin environment (a POSIX emulation layer that enables many *nix projects to be compiled in a GNU-like manner on a Windows platform via a cygwin1.dll) - this is different from a mingw build as that provides a Windows native executable whereas a cygwin executable does need a cygwin environment installed. OTOH for those used to a *nix environment it is a much more familiar environment...! :geek:

I did have to make a couple of changes to the qmake src.pro project file but that is just to accommodate a slight variation in the name of the lua 5.1 directories. Which also necessitated a platform specific {#if define (Q_OS_CGYWIN) wrapped modification to the Lua cpath in the TLuaInterpreter::initLuaGlobal() function to add a couple of new alternatives to check for when looking for lua modules. In fact it took longer to get the run-time lua modules available than anything else but luarocks, well, rocks, once you have got a couple of other things compiled manually that those modules need:
mudlet on cygwin screenshot.png

Post Reply