I followed the instructions on the GitHub exactly: https://github.com/chaosforgeorg/doomrl
I installed the latest 32-bit version of Lazarus, as instructed. I managed to put the Valkyrie libraries in the right place, and the program found them, so that was promising.
The problem is, when I clicked Build after opening src/makewad.lpi, it gave me an error, and I suspect this is why the instructions tell you to use 32-bit Lazarus:
Quote
vconui.pas(411,20) Error: Can't determine which overloaded function to call
A google search told me that this is related to the compiler trying to build it in 64-bit and having two options for which data type to use and not being able to decide. However, the search results also stated it does compile in 32-bit Lazarus...
4 years ago.
Unfortunately, I triple-checked that I am in fact using 32-bit Lazarus, I even tried using an older version dated to Jan 5 2022, and when that also failed, I used many options in the menus to try and get it to compile a 32-bit program. None of them worked. Unfortunately, I am using 64-bit Windows, so maybe that's the issue...
Unfortunately, this means the instructions are incomplete, and I can't create makewad.exe. Without these files, any changes or updates I try to make to the source code would be pointless, so I'm afraid I can't continue unless somebody knows a workaround.
Can somebody help me?
EDIT: I may have figured it out. Cross-compiler instructions may be needed. https://wiki.lazarus.freepascal.org/Cross_compiling#From_win64_to_win32
I'll try this and update later.
EDIT 2: NOPE. That did not work. Exact same problem.