Closed petterreinholdtsen closed 1 year ago
It seems -rv
is missing from that line, try: mymake -O3 -rv rogueviz/nilrider/nilrider.cpp
That should work.
-DNILRIDER=1
is not necessary, it is only for building an executable which contains only Nil Rider (that is, it starts Nil Rider when run without any options and does not include some features that are not used by Nil Rider). That would be built using
g++ -std=c++17 -DNILRIDER=1 rogueviz/nilrider/nilrider.cpp -c -o nilrider.o -O3 -I /usr/include/SDL/
g++ nilrider.o -o nilrider -lSDL -lGL -lSDL_gfx -lGLEW -lSDL_mixer savepng.cpp -lpng -lz -lSDL_ttf
Thank you. This worked better. I suspect the web comment 'run with commandline parameter "-nillrider"' got an unwanted double l, ie -nilrider .
Thanks, fixed this one too!
According to https://zenorogue.itch.io/nil-rider, the way to build nil-rider on a Debian derived Linux is to run
mymake -O3 rogueviz/nilrider/nilrider.cpp
. when I try this on a Debian Bookworm installation, after installing the dependencies mentioned in the README, I get this error:Is there something missing in the build recipe, or is it outdated? Looking at rogueviz/nilrider/nilrider.cpp it seem to need a -DNILRIDER=1 define during build, which seem to be missing. Adding '#define NILRIDER 1' at the top of the file only gave other and more scary errors, so I suspect something more is needed too.
Are you able to help us get the nilrider program building on Linux?