Having technical difficulties with Supermodel ? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!
No ROM requests or links.
Do not ask to be a play tester.
Do not ask about release dates.
No drama!
Jack_Tenrec
Posts: 6 Joined: Sun May 19, 2024 9:09 pm
Post
by Jack_Tenrec » Sun May 19, 2024 9:34 pm
Hello everyone,
This is my first post on the forum and I would like to thank the developers of Supermodel. I have used it a lot on Windows, and today I decided to install it on Linux. Although I followed the installation guide on Github (
https://github.com/trzy/Supermodel ), the source code was not compiled. I go through the list of steps I performed and the errors that were printed out in the terminal.
Installation of libsdl2-dev and libsdl2-net-dev;
I went into the /Supermodel_0.2a_Src/Makefiles/ folder;
While in the folder, I executed:
And here is the error message:
Code: Select all
make: Makefiles/Makefile.UNIX : No such file or directory
make: *** No rule to make target « Makefiles/Makefile.UNIX ». Stop.
Any help is greatly appreciated. I am available for any additional information. My operating system is Ubuntu 24.04. Kind regards.
Bart
Site Admin
Posts: 176 Joined: Tue Nov 07, 2023 5:50 am
Post
by Bart » Mon May 20, 2024 7:38 pm
Don't do it in that folder. Do it one level up.
Jack_Tenrec
Posts: 6 Joined: Sun May 19, 2024 9:09 pm
Post
by Jack_Tenrec » Tue May 21, 2024 3:38 pm
Hello Bart,
I renamed the main folder as "Supermodel02a" (to avoid errors with special characters), then I executed the following command in it as you suggested:
Code: Select all
make -f Makefiles/Makefile.SDL.UNIX.GCC
and here is the result:
Code: Select all
mkdir bin
mkdir obj
gcc Src/CPU/PowerPC/PPCDisasm.cpp `sdl-config --cflags` -ISrc/ -ISrc/OSD/SDL/ -ISrc/Pkgs/ -c -Wall -O3 -o obj/PPCDisasm.o
/bin/sh: 1: sdl-config: not found
/bin/sh: 1: gcc: not found
make: *** [Makefiles/Makefile.SDL.UNIX.GCC:193 : obj/PPCDisasm.o] Error 127
I would like to ask how can I install sdl-config and gcc. I would like to know what is "Error 127" as well. Kind regards.
Bart
Site Admin
Posts: 176 Joined: Tue Nov 07, 2023 5:50 am
Post
by Bart » Tue May 21, 2024 5:47 pm
I've never seen a Linux machine without gcc. But basically, you need to figure out how to install a recent version of gcc and SDL2. There should be a package manager (e.g., "apt get" or "pacman" or whatever your flavor of Linux uses). Weird that you have make but not gcc.
Bart
Site Admin
Posts: 176 Joined: Tue Nov 07, 2023 5:50 am
Post
by Bart » Tue May 21, 2024 5:53 pm
In Ubuntu you should be able to install SDL2 like so:
You should be able to get gcc like so:
But make sure to check online first.
Bart
Site Admin
Posts: 176 Joined: Tue Nov 07, 2023 5:50 am
Post
by Bart » Tue May 21, 2024 8:28 pm
Good catch. I didn't notice that!
Jack_Tenrec
Posts: 6 Joined: Sun May 19, 2024 9:09 pm
Post
by Jack_Tenrec » Wed May 22, 2024 5:22 pm
Hi to everybody! Now supermodel works.
I've never seen a Linux machine without gcc.
That is because I have chosen the minimal installation setup, many packages were not included.
Thanks ToBul
Here is the list of actions I took for the installation (I am sorry to be verbose, but I am interested in giving detailed information to those who may be in my situation):
Installation of Git, GCC, libglu1-mesa-dev;
Cloning of source code from Github;
Execution of: in /home/user/Supermodel/;
Copy of Games.xml and Supermodel.ini in /home/user/.config/supermodel/Config/;
Copy of Assets folder in /home/user/.local/share/supermodel/;
Execution of: in the bin folder.
Then I executed (with the rom in the same bin folder of the executable):
and the emulator started. Thanks to you all
Last edited by
Jack_Tenrec on Thu May 23, 2024 3:49 am, edited 1 time in total.
Bart
Site Admin
Posts: 176 Joined: Tue Nov 07, 2023 5:50 am
Post
by Bart » Wed May 22, 2024 6:36 pm
Congrats on building from source! Now you know how to stay on the bleeding edge.