KQ compiled with Allegro 4: Visual Studio 2019 - OnlineCop/kq-fork GitHub Wiki

Environment

  • I am running Windows 10 Professional.
  • I created a new non-admin user account called kqlives to try to create as "clean" of a build environment as possible for these steps.
    • Some programs, runtimes, and dependencies had been previously installed under the admin account "for all users", so there may be more steps needed here.

Install Dependencies

  1. Install Visual Studio 2019.
  2. Download Allegro 4.4.
    • I downloaded the MSVC 10 precompiled binaries and extracted the bin, include and lib directories.
    • I put these under C:\Users\kqlives\Downloads\allegro.
  3. Download Lua 5.4.3.
    • Instead of downloading a precompiled solution, I downloaded the sources and compiled the files manually.
    • I found excellent instructions for this on YouTube, however I used modified steps for myself.
    • I put luac.exe (compiler) and lua.exe (interpreter) under C:\Users\kqlives\Downloads\lua\bin.
    • I put lua.dll and lua.lib under C:\Users\kqlives\Downloads\lua\lib.
    • I put the .h header files under C:\Users\kqlives\Downloads\lua\include.
      • The Lua sources combine the .c and .h files under its src/ directory; only the .h files were needed.