Ubuntu desktop LINUX can run Linux Air Combat very nicely. For best performance, we recommend paying particular attention to your video drivers and using the most optimized drivers that you can get. In addition, from time to time we discover other "tweaks" and "quirks", specific to Ubuntu users, that may be helpful. This forum is for discussion of those details.
NOTE, however, that compiling LAC on Ubuntu platforms is best covered in our "Compiling and Installing LAC" forum, which includes links of particular interest to Ubuntu users.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Ubuntu desktop LINUX can run Linux Air Combat very nicely. For best performance, we recommend paying particular attention to your video drivers and using the most optimized drivers that you can get. In addition, from time to time we discover other "tweaks" and "quirks", specific to Ubuntu users, that may be helpful. This forum is for discussion of those details.
NOTE, however, that compiling LAC on Ubuntu platforms is best covered in our "Compiling and Installing LAC" forum, which includes links of particular interest to Ubuntu users.
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:
OBJS=3ds.o aiobject.o audio.o cockpit.o common.o conf.o dirs.o effects.o fileloader.o FlightModel.o gl.o glland.o land.o loader_tga.o main.o mathtab.o menu.o mission.o model.o NetworkApi.o object.o objload.o pilots.o vertexarray.o
Lac08p38: $(OBJS)
g++ -o Lac08p38 $(OBJS) $(LIBS)
cp Lac08p38 bin/Release/Lac08p38
chmod +x bin/Release/Lac08p38
clean:
@rm -f *.o
@rm Lac08p38
Thank you very much Daniel! I will be re-posting this information to make it easier to find for folks using Ubuntu V18.04LTS.
-Bob-