Topic: fail to compile amazon on Ubuntu18.04
ektor Topic Opener |
Posted at: 2020-04-20, 10:38
Hi, I'm sorry but I try to compile for few days now amazon branch on my Ubuntu 18.04, and I have an error I don't understand. Here I paste the result of my many trys: Is someone here can help/advise me how to achieve the compilation of this amazon branch? I just run the ./compile.sh command in the folder where widelands is installed. Top Quote |
Nordfriese |
Posted at: 2020-04-20, 11:02
If Google Translate translated the error message correctly (I don't speak french) it seems that git is throwing a fatal error because it's used outside a git repo. How exactly did you fetch the repo? Did you use Top Quote |
ektor Topic Opener |
Posted at: 2020-04-20, 12:41
I download a ZIP from github. The revision that is recommended for the TTT : https://www.widelands.org/forum/post/32292/ So it's the point ? What is the good thing to do ? Top Quote |
Nordfriese |
Posted at: 2020-04-20, 12:46
Those ZIP files have been giving us trouble already: https://github.com/widelands/widelands/issues/3657 Could you please edit the Top Quote |
Nordfriese |
Posted at: 2020-04-20, 12:49
Oh and according to the pasted output the content of the following files might be helpful
Top Quote |
niektory |
Posted at: 2020-04-20, 16:01
This will not change anything. Despite the "fatal" error message the build should continue fine. @Ektor: Could you download (right click -> save link target as...) this file: FindSDL2.cmake and put it in this folder (overwrite the previous file): Then try again? Also, this is not related to your problem, but the compilation will go faster if you use this command:
Top Quote |
ektor Topic Opener |
Posted at: 2020-04-20, 16:03
It does not work.
OK, but I'm not a developer, and for me it's hard to understand the help it could provide to me... Well for me,it seem an impossible thing to compile widelands... Sorry to disturb I'll stay with the dev ppa, thanks Nordfriese! ==Edit:==
OK, it's compiling right now :) waiting for the result... Edited: 2020-04-20, 16:57
Top Quote |
ektor Topic Opener |
Posted at: 2020-04-20, 18:58
It work fine now, thanks a lot niektory Top Quote |
niektory |
Posted at: 2020-04-20, 19:30
Glad to read that! Feel free to ask again if you have any other trouble. Top Quote |
hessenfarmer |
Posted at: 2020-04-20, 19:48
Glad to hear you could at least try the amazons now. Happy you don't gave up. Top Quote |