Insert a blank line in, or at the end of, .fgfsrc and Flightgear 'next' terminates with a message "Unknown command line option:" and no other message.
Running 2024.1 with the same .fgfsrc results in Flightgear running, presumably ignoring the blank line.
Diff:
Weird, those branches are basically identical.
Actually i found that clicking on the dialogue repeatedly enabled FG to run.
But here's a patch that fixes it for me:
Actually I ran across this yesterday and also patched this, at an earlier processing stage. Please consider.
Last edit: Mariusz Matuszek 2024-11-01
Hey @jmturner, we have two patches available to solve this ticket, do you have any preference on which one to go with? I can go ahead and make the MR if need be.
Skipping at the parsing stage makes more sense, but we shouldn't add the SG_LOG call. I'll submit a tweaked version later today.
Fix pushed to next in commit f71d818e911f47ed1c4b19ac5e757e9075b85d82 - once verified I can cherry pick to 2024.1
Unable to verify because of this: https://sourceforge.net/p/flightgear/codetickets/2932/
Not sure if related.
Just to comment, next is not really intended to be in a 'download and test' state right now, due to other changes which are ongoing. So maybe between is to switch over to 2023.1 branch using D&C, and cherry-pick this fix?
All right. I'm still able to run next from a build I did about a month ago. This issue doesn't affect it. I accidentally made a duplicate [#2929] for this issue, and explained what happened for me there. I saw today that this was labeled Fixed, and wanted to test it.
I'm not sure how to switch over to a different branch with download_and_compile. My current next build is working, so there isn't much need to do anything at the moment, but if you could give me some pointers as to how to do that, I think it could be really useful to know in the future.
Thanks!
Related
Tickets:
#2929Last edit: linguisticmind 2024-11-07
$ cd dnc_managed/flightgear (or wherever you have the downloaded FG sources)
run 'git status' (output you will get will be similar to the one below)
$ git status
$ git pull
$ cd ../build/flightgear
$ make
if make succeeds:
$ make install
$ cd ../..
Run FG (likely ./run_fgfs.sh)
The above assumes you are on Linux and used default makefiles.
Hope this helps and that it was OK to post this in a ticket comment.
Thanks 👍