Closed MathieuTuli closed 3 years ago
Since much of the code in Jericho is built on an older version of the Frotz engine, I'm curious if you can download Frotz (https://gitlab.com/DavidGriffith/frotz) and run "make dumb". If this works than perhaps comparing files that caused the linker error may give some insight.
oh I didn't realize frotz was a seperate package, I'll try that thanks!
okay I've fixed the issue, I was on track earlier, it had to do with missing extern
decorators, although I initially added one too many. I've corrected that according to the update frotz
code you sent me. I'm happy to make a PR.
Awesome! Please send a PR.
I'm having difficulty installing jericho, a dependency I need for TextWorld. Specifically, I'm having trouble building that
frotz
library.cd
-ing into the frotz directory and runningmake library -j4
gives this linker error:For reference:
5.12.8-arch1-1
gcc --version = gcc (GCC) 11.1.0
make --version = GNU Make 4.3
I have attempted to do the following in an attempt to resolve this:
gcc
andmake
versions, with no success there. I only downgraded togcc-7
andgcc-8
extern
decorators. I reached a state of the code that allowed me to compile, but then I ran it with TextWorld and the game crashed and it couldn't find the variable definitions. So basically I couldn't successfully alter the code to find this issue. I didn't do an extensive code read/fix though, and myC
is a little rusty. This is super hacky and it makes sense why it fails to run properly.Is this an issue that others have encountered or is there something about my system that is causing this that I can fix?
Thanks