Thanks to Daniel Barland, we have learned of improvements in LAC's Makefile that seem to help Ubuntu compilation efforts. In his post (in the "Welcome to Ubuntu" thread), he refers to our YouTube video playlist showing exactly how we downloaded, compiled, installed, and tested LAC on a brand new Ubuntu system in September of 2020. Here is the YouTube playlist to which he refers:
Here is the text of Daniel's original post containing his improved PlayList:
========== BEGIN ==========
For those running Ubuntu 18.04LTS, things may be a little different from 20.04LTS as shown in the video playlist. You must still install the needed libraries, but successful compilation (Lac08p38) with 18.04LTS required a couple of tiny tweaks of the provided Makefile, as shown below. My 18.04 installation is using gcc 7.5.0, make 4.1, and glibc 2.27 on AMD64. The tweaks needed are to remove g++ PIE flag and that the linker requires libraries to be appended at the end of the compiler call.
As of this writing in November of2022, Ubuntu Linux users are advised to use the "Codeblocks"method of compiling Linux Air Combat, instead of relying on our "makefile".
Thanks to Daniel Barland, we have learned of improvements in LAC's Makefile that seem to help Ubuntu compilation efforts. In his post (in the "Welcome to Ubuntu" thread), he refers to our YouTube video playlist showing exactly how we downloaded, compiled, installed, and tested LAC on a brand new Ubuntu system in September of 2020. Here is the YouTube playlist to which he refers:
https://www.youtube.com/watch?v=7pgCJ5QLj6A&list=PL1IYes9MY6lLv_g8KUGIHWgpirjnzyi2i
Here is the text of Daniel's original post containing his improved PlayList:
========== BEGIN ==========
For those running Ubuntu 18.04LTS, things may be a little different from 20.04LTS as shown in the video playlist. You must still install the needed libraries, but successful compilation (Lac08p38) with 18.04LTS required a couple of tiny tweaks of the provided Makefile, as shown below. My 18.04 installation is using gcc 7.5.0, make 4.1, and glibc 2.27 on AMD64. The tweaks needed are to remove g++ PIE flag and that the linker requires libraries to be appended at the end of the compiler call.
Makefile:
Further information can be found in our "Compiling and installing LAC" forum here:
https://sourceforge.net/p/linuxaircombat/discussion/compilinglac/
================ END =============
Last edit: bbosen 2020-12-17
As of this writing in November of2022, Ubuntu Linux users are advised to use the "Codeblocks"method of compiling Linux Air Combat, instead of relying on our "makefile".
Learn about CodeBlocks and LAC here:
https://sourceforge.net/p/linuxaircombat/discussion/ubuntuandlac/thread/bdabd60d2d/
Update 07Jan2022:
Recent changes seem to have complicated this situation. We are working on it in our compiling forum. The best available info can now be found here:
https://sourceforge.net/p/linuxaircombat/discussion/compilinglac/thread/65a66b9fbe/