Closed agatlin closed 1 year ago
I modified the configuration to remove the getops dependencies, it will now use the standard system getopt function. If you check out the latest version, it should compile. I am using Linux mint so can't test Fedora, but should be OK.
I haven't actually looked at this code in YEARS, so it took a little while to remember what and why I'd done it.
Thank you, Rick! You certainly put a lot of work in this project. I wish I had found it years ago.
Thank you, Rick! You certainly put a lot of work in this project. I wish I had found it years ago.
Actually, I rewrote a goodly portion of it (Bigbang mostly) in Rust. I haven't uploaded it to github. I probably should. But the rust stuff isn't supposed to be compatible with this. Also, just a note that the actual tradewars source code was released by the author a few years ago.
I am attempting to compile the code under GCC 12.2.1 on Fedora 37, but I am running into an issue.
Just as the instructions suggested, I ran ./configure followed by make. Here is the output from ./configure
Then here is the output from ./make with the 'getopt' related issue.
Do you happen to have any ideas on how to get around this?
It appears there is a custom version of getopt (getopt.h, getopt.c) that is used with bigbang.c for universe generation. Is this custom version of getopt necessary when running with a modern version of c? If not, what is the easiest way to disable it?