git repository now contains everthing to "make run"

Discussion around programming R'n'D, its source code and its tools.

Moderators: Flumminator, Zomis

BrownSky
Posts: 41
Joined: Mon Sep 24, 2018 4:04 am

Re: git repository now contains everthing to "make run"

Post by BrownSky »

filbo wrote: Wed Mar 04, 2015 5:17 am OK!

$ git pull; make clean-git; make run RO_GAME_DIR=/usr/share/games/rocksndiamonds RW_GAME_DIR=/var/games/rocksndiamonds

... RnD pops up! With visible mouse cursor (when I move it) in the splash screen!
Hi, I'm revealing a woeful lack of understanding by asking this, but I will go ahead:

Is there any way I can run the command above on Windows, and have it generate a RnD executable for me? (I assume that generating a RnD executable is what the commands above are resulting in, as opposed to an interpreted form of RnD.)

If it can be done on Windows, and anyone is able to specify the things to install to be able to do that ... and any other tips and tricks... I would be most grateful.

John
User avatar
Holger
Site Admin
Posts: 4295
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: git repository now contains everthing to "make run"

Post by Holger »

Yes, this should still be possible (and I did it myself many years agon when I had a Windows installation with Cygwin environment installed on it).

You need a decent terminal that runs bash, a C compiler (probably you want to use MinGW) and build tools like "make".

Doing this will require some Linux/Unix skills, and it may be too hard to try for a typical Windows user who is most comfortable with using only the graphical user interface.
BrownSky
Posts: 41
Joined: Mon Sep 24, 2018 4:04 am

Re: git repository now contains everthing to "make run"

Post by BrownSky »

Is there anyone (not necessarily Holger) who has done this before, even if in the distant past, who would be willing to try again, and publish a step-by-step guide to compiling RnD from sourcecode on Windows?

Sorry for the feeble nature of this request, it breaks the cardinal rule of at least getting to a certain point and then reporting back where/how you got stuck. I did try a year or so ago but I got hopelessly confused at the point of trying to pick which variants of programs and libraries etc to download and install. Too many options, too many choices = "always outnumbered, always outgunned" :-)

John
User avatar
Holger
Site Admin
Posts: 4295
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: git repository now contains everthing to "make run"

Post by Holger »

In my opinion, finding out what you need to do to write, compile and run a most simple "Hello, world!" program is the most basic skill that you really should try for yourself first, without anyone else helping out (at least from the R'n'D forum). There are more resources available on the web on this topic (for even the most exotic operating systems) than I could have ever dreamed of when I started my first steps in programming when I was about 15 years old back in the eighties (when we had nothing but books about that). ;-)

If you have managed these first steps, I will happily help out if you should have any problems doing a "git pull" on the R'n'D source code and a "make" to compile it. :)
User avatar
Holger
Site Admin
Posts: 4295
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: git repository now contains everthing to "make run"

Post by Holger »

Just after writing that last post, I read the following blog post about AI assisted coding:

https://harper.blog/2025/04/17/an-llm-c ... s-journey/

Why bother writing code yourself anymore? Oh dear, I really feel like an old programming fart... :shock: :lol:
Post Reply