RSDKModding / RSDKv4-Decompilation

A complete decompilation of Sonic 1 & Sonic 2 (2013) & Retro Engine (v4)
Other
937 stars 175 forks source link

v.1.3.0 does not compile on Linux Ubuntu 20.04 #355

Closed DamianS-eng closed 7 months ago

DamianS-eng commented 2 years ago

When trying to make Sonic 2 using the latest v.1.3.0 release, cannot go further due to the following error:

make: *** No rule to make target 'objects/dependencies/all/tinyxml2/tinyxml2.cpp.o', needed by 'bin/RSDKv4'. Stop.

v.1.1.2.1 compiles and executes fine on Linux, so something's skewed with the makefile or the folder directories in the latest release.

consoleSkunk commented 2 years ago

Read dependencies/all/dependencies.txt

Zandengoff commented 2 years ago

I just compiled this on 18.04, can you specify the prerequisite packages you installed?

DamianS-eng commented 2 years ago

I just compiled this on 18.04, can you specify the prerequisite packages you installed?

20.04, I should have specified earlier. All prerequisite packages specified in the readme are installed, but none of them mention asio, stb or tinyxml2:

build-essential git libsdl2-dev libvorbis-dev libogg-dev libglew-dev libdecoration0-dev

Read dependencies/all/dependencies.txt

There is no "dependencies.txt" in the "all" folder, just the links to the extra dependencies introduced in the latest release. I had to use git clone --recursive, easy to miss these links when downloading the zip, not the case with the previous release.

So now it compiles, but another problem when executing, I get this error now:

./RSDKv4 error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: No such file or directory

What's going on here? I have libglew-dev 2.1.0-4 installed and compiled, but it needs this to start?

Zandengoff commented 2 years ago

I was able to launch it on 18.04 after a compile, but upon copying the binary over to my steam deck I got this message. I ended up having to compile and sideload the flatpak version.

MegAmi24 commented 7 months ago

Closing due to inactivity and because we've since overhauled the building process