To compile LAC on Peppermint Linux in March of 2024, I used Synaptic to install all of these prerequisite libraries:
freeglut3-dev
libsdl1.2compat-dev
libsdl-mixer1.2-dev
I tried a conventional "make" through the supplied Makefile, but the linker couldn't find "main" for some reason. I don't know why. That same Makefile works on several other distros, but even after I reversed the order of the parameters passed to gcc (libs first, then objs or objs first, then libs) it always had trouble linking to "main".
I decided to install codeblocks and compile with that, using the .cbp ("codeblocks project") file that's always included with LAC's source code. That worked easily and I had LAC compiled within about 5 minutes.
Then, using "root" privileges, I ran the "install.sh" shell script exactly as documented in dozens of our YouTube video clips and I had LAC up and running, with exactly the same performance I had seen earlier that day, when I had used the LAC AppImage with no need to compile. (As with the AppImage, I had to use the optional "LacMenuLauncher" to configure and launch LAC because the built-in menus were unresponsive.
Last edit: bbosen 2024-03-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To compile LAC on Peppermint Linux in March of 2024, I used Synaptic to install all of these prerequisite libraries:
I tried a conventional "make" through the supplied Makefile, but the linker couldn't find "main" for some reason. I don't know why. That same Makefile works on several other distros, but even after I reversed the order of the parameters passed to gcc (libs first, then objs or objs first, then libs) it always had trouble linking to "main".
I decided to install codeblocks and compile with that, using the .cbp ("codeblocks project") file that's always included with LAC's source code. That worked easily and I had LAC compiled within about 5 minutes.
Then, using "root" privileges, I ran the "install.sh" shell script exactly as documented in dozens of our YouTube video clips and I had LAC up and running, with exactly the same performance I had seen earlier that day, when I had used the LAC AppImage with no need to compile. (As with the AppImage, I had to use the optional "LacMenuLauncher" to configure and launch LAC because the built-in menus were unresponsive.
Last edit: bbosen 2024-03-21