CannonFodder+Openfodder problem

i become a Code 512 on Fedora Workstation 40

lutris-wrapper: /usr/bin/bash
Started initial process 8987 from /usr/bin/bash -c cd /home/besitzer/.cache/lutris/installer/cannon-fodder && git clone GitHub - OpenFodder/openfodder: Open Fodder: An open source port of Cannon Fodder && cd /home/besitzer/.cache/lutris/installer/cannon-fodder/openfodder && make
Start monitoring process.
Klone nach ‘openfodder’…
git log -n 1 --pretty=“const char* gitversion="%h";” > ./Source/gitver.hpp
clang++ -c -Wall -std=c++14 -ferror-limit=100 -I/usr/include/directfb/direct -I/usr/include/directfb -I./Source/ sdl2-config --cflags Source/.cpp Source/PC/.cpp Source/Amiga/.cpp Source/Structures/.cpp Source/Utils/.cpp Source/Map/.cpp
/bin/sh: Zeile 1: sdl2-config: Kommando nicht gefunden.
/bin/sh: Zeile 1: clang++: Kommando nicht gefunden.
make: *** [Makefile:17: main] Fehler 127
Monitored process exited.
Initial process has exited (return code: 512)
All processes have quit
Exit with return code 512

best regards

sdl2 is a system package - it isn’t installed by Lutris.

This script might work, but for your Fedora, you are going to need to work through the dependencies - we can see from the log that you are missing sdl2-config (libsdl2-dev) and also clang++

Edit: Quick test compile - you’ll need the Fedora equivalent of of libsdl2-dev libsdl2-mixer-dev as well

1 Like

ah okay, i don’t know what the equivalent is on Fedora

On Linux Mint ich become, code 32512

Started initial process 292327 from /usr/bin/bash -c cd /home/besitzer/.cache/lutris/installer/cannon-fodder && git clone GitHub - OpenFodder/openfodder: Open Fodder: An open source port of Cannon Fodder && cd /home/besitzer/.cache/lutris/installer/cannon-fodder/openfodder && make
Start monitoring process.
/usr/bin/bash: Zeile 1: git: Befehl nicht gefunden
Monitored process exited.
Initial process has exited (return code: 32512)
All processes have quit
Exit with return code 32512

i think it would be better to add to Lutris something that this doesn’t make Problems
her i have no idea too for this Problem :slight_smile:

best regards

Well, if you want it to “just work,” you could always choose the non-linux WINE version :slightly_smiling_face:

Installing Linux mods usually means things are needed - in this case, you don’t have Git installed. Messages like /usr/bin/bash: Zeile 1: git: Befehl nicht gefunden
…will mean you are missing a command needed - usually a compiler, tool, or library. Typically, you just install the package from the repo sudo apt install git

There are too many variations for Lutris authors to cover all of the add-ons in detail, and the thousands of games makes it a never ending task.
It is why the installers are community sourced - if you want to submit an update to that installer with a list of required software, or rewrite it so it throws an error, then you can :slight_smile:

okay if it’s only git it couldn’t be a problem
I never used Linux Distribution intensive, but i see the problem for most coming from windows is :slight_smile: (on myself)
Only thing can help is, that the Scripts we have here are for Distributions are different and named for someone
All Games we need DosBox it isn’t nice to use Wine for efficency of the system, often it needs a lot cpu power and a dosbox needs Systemconsumption native, enough system recources i think
DosBox isn’t a problem for Linux, so for Retrogames it is perfectly, if we can install and use it all and not Linux-Pro’s only :smiley:
it can be that i’m blind, but no where we can read “prerequiseuites” or “system requirements” where somehing of this is listed

it try it on my different systems and hope that your tip helps

best regards