Topic: fail to compile amazon on Ubuntu18.04
ektor Topic Opener |
Posted at: 2020-04-21, 13:14
I have a little question: What is the difference between files FindSDL2.cmake, and why ? Top Quote |
niektory |
Posted at: 2020-04-21, 21:05
The change was just one line, you can see it here: Try to fix packaging for Focal Widelands uses the SDL2 library, which can be located in different folders on different operating systems. The compilation script couldn't find it on your system. The added line specifies an additional folder to search in. Top Quote |
ektor Topic Opener |
Posted at: 2020-04-22, 10:51
OK, thanks :) I have the same problem on an other machine on Ubuntu too, and adding this file don't change anything. Now I understand that I have to find the location of this SDL2 library to make it work... I'll try Top Quote |
niektory |
Posted at: 2020-04-24, 18:48
There's a better fix now, so if you want to try, download these files: CMakeLists.txt
Put it in cmake/WlFunctions.cmake
Put it in Edited: 2020-04-24, 18:49
Top Quote |
WorldSavior |
Posted at: 2020-05-31, 18:19
I'm not ektor, but can one fix "Version REVDETECT-BROKEN-PLEASE-REPORT-THIS" ? Wanted to save the world, then I got widetracked Top Quote |
Nordfriese |
Posted at: 2020-05-31, 18:26
Probably – if you describe which method of installation (git, bzr, appveyor, tarball, …) exactly you are using Top Quote |
WorldSavior |
Posted at: 2020-05-31, 18:28
Thanks. I've downloaded a zip from Github, extracted it and run the compile command. Is it a problem that I had also still a bzr build on that machine? Wanted to save the world, then I got widetracked Top Quote |
Nordfriese |
Posted at: 2020-05-31, 18:33
Downloaded ZIPs unfortunately don't contain the git history so the package does not contain any information that makes it possible to detect the version number (see also https://github.com/widelands/widelands/issues/3657) Top Quote |
WorldSavior |
Posted at: 2020-05-31, 18:36
Thanks for the info. Can one expect further problems from this bug than that the version number is hidden? There shouldn't be any serious, right? Edited: 2020-05-31, 18:36
Wanted to save the world, then I got widetracked Top Quote |
Nordfriese |
Posted at: 2020-05-31, 18:39
Technically "REVDETECT-BROKEN-PLEASE-REPORT-THIS" is as valid a version string as e.g. "r24618[00f7e94@master] (Release)" so there are no problems except
Other than that everything will work fine. Top Quote |