We need a spoiler for that?
Very nice, I had a good laugh earlier. Yeah, maybe others want to see the build fail and discover the exciting errors for themselves. >_>
I forgot about the code tag, which makes far more sense and also limits vertical height of long code.
Okay, I got the CMake/make build to compile: The CMake compiles all C files in
src, not only C++ files, and it will link against
stdc++fs. With this, the project compiles and links on Linux with GCC.
I will make a pull request from this. No idea whether this library is the same for all compilers.
When I run the game, I get a hollow editor window (you can see through it to application windows or the desktop behind it) and a nice file browser to select the L3CD.EXE.
When I select the L3CD.EXE, program crashes:
import Tkinter,tkMessageBox;root=Tkinter.Tk();root.withdraw();res=tkMessageBox.showinfo(icon='info',title='Welcome to Lem3edit!',message='Excellent! You've successfully set up Lem3edit!\n\nThis was one-time installation.');
^
SyntaxError: invalid syntax
Thread 1 "lem3edit" received signal SIGSEGV, Segmentation fault.
0x00007ffff7b09e3c in ?? () from /usr/lib/libSDL2-2.0.so.0
(gdb) bt
#0 0x00007ffff7b09e3c in ?? () from /usr/lib/libSDL2-2.0.so.0
#1 0x00005555555986b1 in Mainmenu::refreshPreviousPackText() ()
#2 0x0000555555597bf3 in Mainmenu::Mainmenu(Ini*, Editor*) ()
#3 0x00005555555a8d8a in main ()
When I run lem3edit again, I get "Oh no! Lem3edit could not find all of the data it will need to run. [...]", and program terminates without segfault.
-- Simon