Jump to content

Error message on Ubuntu 20.04 LTS


Recommended Posts

Thanks, Nescio! That helped me compile successfully. However, when I start the game now, I get the same error as at the very beginning of this thread. I don't understand why, since (after the cleaning of the workspace and before updating it and compiling) I fixed cache.cpp just like Stan' explains and also changed the few lines in timer.cpp.

BTW, what GitHub-link should I use when cloning the repository with git in order to get A23B?
I am thinking using https://github.com/0ad/0ad/tree/535f7881d52ff25cabec5730c051f7552873b324, since that seems to be the commit with A23B. However, clicking on the green button 'Code' gives me again https://github.com/0ad/0ad.git, hence executing $ git clone https://github.com/0ad/0ad.git I will download A24 as before, I assume.

(BTW, I tried downloading the zip-file twice, but the download failed both times at around 1.1 GB.)

Link to post
Share on other sites
  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

You don't need to install any version of SpiderMonkey, the 0 A.D. repository includes the required version by default. The --with-system-mozjs is optional, just omit it. Looking at your first p

@Samuraijp, it's not entirely clear what you're exactly trying to do. Are you using gcc or a different compiler (e.g. clang)? Which version? You can check with e.g. gcc --version Are you

Thanks, the issue is clear: it's not Ubuntu, nor gcc, it's your CPU. I don't have a Ryzen processor, therefore I can't reproduce your errors, nor figure out which step is the bottleneck for you.

Posted Images

If you applied the patch you shouldn't get that error.

The git link gives you A24 (more like a version of it anyway) the commands I gave you bring you back to A23B

If you get the same popup but a different error try clearing the 0ad cache.

 

Should be in ~/.share/0ad/cache (delete the folder)

Link to post
Share on other sites
On 09/01/2021 at 10:06 PM, just_a_fan said:

BTW, what GitHub-link should I use when cloning the repository with git in order to get A23B?
I am thinking using https://github.com/0ad/0ad/tree/535f7881d52ff25cabec5730c051f7552873b324, since that seems to be the commit with A23B. However, clicking on the green button 'Code' gives me again https://github.com/0ad/0ad.git, hence executing $ git clone https://github.com/0ad/0ad.git I will download A24 as before, I assume.

That's due to the way git works. First you clone everything, which will put you on the latest version ("clone" command), because you haven't picked a version yet. After that, you can switch to any version you like ("checkout" command), but you always get the complete repository first. You can also save some bandwidth when cloning by using the "depth" parameter, but that would have made things more complicated for guiding you through.

Edited by GunChleoc
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...