Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save coreybruce/5983a3e9e9beb84bbb86de24c3a6d5f6 to your computer and use it in GitHub Desktop.
Save coreybruce/5983a3e9e9beb84bbb86de24c3a6d5f6 to your computer and use it in GitHub Desktop.
Sonic-1-2-2013-Decompilation build log
[corey@corey-pi4 Sonic-1-2-2013-Decompilation]$ make -j4
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Animation.cpp -o objects/RSDKv4/Animation.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Audio.cpp -o objects/RSDKv4/Audio.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Collision.cpp -o objects/RSDKv4/Collision.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Debug.cpp -o objects/RSDKv4/Debug.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Drawing.cpp -o objects/RSDKv4/Drawing.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Ini.cpp -o objects/RSDKv4/Ini.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Input.cpp -o objects/RSDKv4/Input.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/main.cpp -o objects/RSDKv4/main.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Math.cpp -o objects/RSDKv4/Math.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Object.cpp -o objects/RSDKv4/Object.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Palette.cpp -o objects/RSDKv4/Palette.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/PauseMenu.cpp -o objects/RSDKv4/PauseMenu.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Reader.cpp -o objects/RSDKv4/Reader.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/RetroEngine.cpp -o objects/RSDKv4/RetroEngine.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/RetroGameLoop.cpp -o objects/RSDKv4/RetroGameLoop.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Scene.cpp -o objects/RSDKv4/Scene.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Scene3D.cpp -o objects/RSDKv4/Scene3D.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Script.cpp -o objects/RSDKv4/Script.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Sprite.cpp -o objects/RSDKv4/Sprite.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/String.cpp -o objects/RSDKv4/String.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Text.cpp -o objects/RSDKv4/Text.cpp.o -c
mkdir -p objects/RSDKv4
g++ -I/usr/include/SDL2 -D_REENTRANT -DBASE_PATH='""' RSDKv4/Userdata.cpp -o objects/RSDKv4/Userdata.cpp.o -c
RSDKv4/Userdata.cpp: In function ‘void initMods()’:
RSDKv4/Userdata.cpp:823:10: error: ‘std::filesystem’ has not been declared
823 | std::filesystem::path modPath(modBuf);
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:825:14: error: ‘std::filesystem’ has not been declared
825 | if (std::filesystem::exists(modPath) && std::filesystem::is_directory(modPath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:825:33: error: ‘modPath’ was not declared in this scope
825 | if (std::filesystem::exists(modPath) && std::filesystem::is_directory(modPath)) {
| ^~~~~~~
RSDKv4/Userdata.cpp:825:50: error: ‘std::filesystem’ has not been declared
825 | if (std::filesystem::exists(modPath) && std::filesystem::is_directory(modPath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:827:29: error: ‘std::filesystem’ has not been declared
827 | auto rdi = std::filesystem::directory_iterator(modPath);
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:830:26: error: ‘std::filesystem’ has not been declared
830 | std::filesystem::path modDirPath = de.path();
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:837:53: error: ‘modDirPath’ was not declared in this scope; did you mean ‘modDir’?
837 | std::string modDir = modDirPath.string();
| ^~~~~~~~~~
| modDir
RSDKv4/Userdata.cpp:877:30: error: ‘std::filesystem’ has not been declared
877 | std::filesystem::path dataPath(modDir + "/Data");
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:878:36: error: ‘std::filesystem’ has not been declared
878 | if (!(std::filesystem::exists(dataPath) && std::filesystem::is_directory(dataPath)))
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:878:55: error: ‘dataPath’ was not declared in this scope
878 | if (!(std::filesystem::exists(dataPath) && std::filesystem::is_directory(dataPath)))
| ^~~~~~~~
RSDKv4/Userdata.cpp:878:73: error: ‘std::filesystem’ has not been declared
878 | if (!(std::filesystem::exists(dataPath) && std::filesystem::is_directory(dataPath)))
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:879:34: error: ‘std::filesystem’ has not been declared
879 | std::filesystem::path dataPath(modDir + "\\Data");
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:881:34: error: ‘std::filesystem’ has not been declared
881 | if (std::filesystem::exists(dataPath) && std::filesystem::is_directory(dataPath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:881:53: error: ‘dataPath’ was not declared in this scope
881 | if (std::filesystem::exists(dataPath) && std::filesystem::is_directory(dataPath)) {
| ^~~~~~~~
RSDKv4/Userdata.cpp:881:71: error: ‘std::filesystem’ has not been declared
881 | if (std::filesystem::exists(dataPath) && std::filesystem::is_directory(dataPath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:883:54: error: ‘std::filesystem’ has not been declared
883 | auto data_rdi = std::filesystem::recursive_directory_iterator(dataPath);
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:914:43: error: ‘filesystem’ in namespace ‘std’ does not name a type
914 | } catch (std::filesystem::filesystem_error fe) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:914:72: error: expected unqualified-id before ‘fe’
914 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:914:71: error: expected ‘)’ before ‘fe’
914 | } catch (std::filesystem::filesystem_error fe) {
| ~ ^~~
| )
RSDKv4/Userdata.cpp:914:72: error: expected ‘{’ before ‘fe’
914 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:914:72: error: ‘fe’ was not declared in this scope; did you mean ‘f’?
914 | } catch (std::filesystem::filesystem_error fe) {
| ^~
| f
RSDKv4/Userdata.cpp:923:30: error: ‘std::filesystem’ has not been declared
923 | std::filesystem::path bytecodePath(modDir + "/Bytecode");
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:924:36: error: ‘std::filesystem’ has not been declared
924 | if (!(std::filesystem::exists(bytecodePath) && std::filesystem::is_directory(bytecodePath)))
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:924:55: error: ‘bytecodePath’ was not declared in this scope
924 | if (!(std::filesystem::exists(bytecodePath) && std::filesystem::is_directory(bytecodePath)))
| ^~~~~~~~~~~~
RSDKv4/Userdata.cpp:924:77: error: ‘std::filesystem’ has not been declared
924 | if (!(std::filesystem::exists(bytecodePath) && std::filesystem::is_directory(bytecodePath)))
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:925:34: error: ‘std::filesystem’ has not been declared
925 | std::filesystem::path bytecodePath(modDir + "\\Bytecode");
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:927:34: error: ‘std::filesystem’ has not been declared
927 | if (std::filesystem::exists(bytecodePath) && std::filesystem::is_directory(bytecodePath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:927:53: error: ‘bytecodePath’ was not declared in this scope
927 | if (std::filesystem::exists(bytecodePath) && std::filesystem::is_directory(bytecodePath)) {
| ^~~~~~~~~~~~
RSDKv4/Userdata.cpp:927:75: error: ‘std::filesystem’ has not been declared
927 | if (std::filesystem::exists(bytecodePath) && std::filesystem::is_directory(bytecodePath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:929:58: error: ‘std::filesystem’ has not been declared
929 | auto bytecode_rdi = std::filesystem::recursive_directory_iterator(bytecodePath);
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:960:43: error: ‘filesystem’ in namespace ‘std’ does not name a type
960 | } catch (std::filesystem::filesystem_error fe) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:960:72: error: expected unqualified-id before ‘fe’
960 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:960:71: error: expected ‘)’ before ‘fe’
960 | } catch (std::filesystem::filesystem_error fe) {
| ~ ^~~
| )
RSDKv4/Userdata.cpp:960:72: error: expected ‘{’ before ‘fe’
960 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:960:72: error: ‘fe’ was not declared in this scope; did you mean ‘f’?
960 | } catch (std::filesystem::filesystem_error fe) {
| ^~
| f
RSDKv4/Userdata.cpp:969:30: error: ‘std::filesystem’ has not been declared
969 | std::filesystem::path scriptsPath(modDir + "/Scripts");
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:970:36: error: ‘std::filesystem’ has not been declared
970 | if (!(std::filesystem::exists(scriptsPath) && std::filesystem::is_directory(scriptsPath)))
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:970:55: error: ‘scriptsPath’ was not declared in this scope; did you mean ‘scriptData’?
970 | if (!(std::filesystem::exists(scriptsPath) && std::filesystem::is_directory(scriptsPath)))
| ^~~~~~~~~~~
| scriptData
RSDKv4/Userdata.cpp:970:76: error: ‘std::filesystem’ has not been declared
970 | if (!(std::filesystem::exists(scriptsPath) && std::filesystem::is_directory(scriptsPath)))
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:971:34: error: ‘std::filesystem’ has not been declared
971 | std::filesystem::path scriptsPath(modDir + "\\Scripts");
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:973:34: error: ‘std::filesystem’ has not been declared
973 | if (std::filesystem::exists(scriptsPath) && std::filesystem::is_directory(scriptsPath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:973:53: error: ‘scriptsPath’ was not declared in this scope; did you mean ‘scriptData’?
973 | if (std::filesystem::exists(scriptsPath) && std::filesystem::is_directory(scriptsPath)) {
| ^~~~~~~~~~~
| scriptData
RSDKv4/Userdata.cpp:973:74: error: ‘std::filesystem’ has not been declared
973 | if (std::filesystem::exists(scriptsPath) && std::filesystem::is_directory(scriptsPath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:975:57: error: ‘std::filesystem’ has not been declared
975 | auto scripts_rdi = std::filesystem::recursive_directory_iterator(scriptsPath);
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:1006:43: error: ‘filesystem’ in namespace ‘std’ does not name a type
1006 | } catch (std::filesystem::filesystem_error fe) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:1006:72: error: expected unqualified-id before ‘fe’
1006 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:1006:71: error: expected ‘)’ before ‘fe’
1006 | } catch (std::filesystem::filesystem_error fe) {
| ~ ^~~
| )
RSDKv4/Userdata.cpp:1006:72: error: expected ‘{’ before ‘fe’
1006 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:1006:72: error: ‘fe’ was not declared in this scope; did you mean ‘f’?
1006 | } catch (std::filesystem::filesystem_error fe) {
| ^~
| f
RSDKv4/Userdata.cpp:1025:23: error: ‘filesystem’ in namespace ‘std’ does not name a type
1025 | } catch (std::filesystem::filesystem_error fe) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:1025:52: error: expected unqualified-id before ‘fe’
1025 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:1025:51: error: expected ‘)’ before ‘fe’
1025 | } catch (std::filesystem::filesystem_error fe) {
| ~ ^~~
| )
RSDKv4/Userdata.cpp:1025:52: error: expected ‘{’ before ‘fe’
1025 | } catch (std::filesystem::filesystem_error fe) {
| ^~
RSDKv4/Userdata.cpp:1025:52: error: ‘fe’ was not declared in this scope
RSDKv4/Userdata.cpp: In function ‘void saveMods()’:
RSDKv4/Userdata.cpp:1038:10: error: ‘std::filesystem’ has not been declared
1038 | std::filesystem::path modPath(modBuf);
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:1040:14: error: ‘std::filesystem’ has not been declared
1040 | if (std::filesystem::exists(modPath) && std::filesystem::is_directory(modPath)) {
| ^~~~~~~~~~
RSDKv4/Userdata.cpp:1040:33: error: ‘modPath’ was not declared in this scope
1040 | if (std::filesystem::exists(modPath) && std::filesystem::is_directory(modPath)) {
| ^~~~~~~
RSDKv4/Userdata.cpp:1040:50: error: ‘std::filesystem’ has not been declared
1040 | if (std::filesystem::exists(modPath) && std::filesystem::is_directory(modPath)) {
| ^~~~~~~~~~
make: *** [Makefile:36: objects/RSDKv4/Userdata.cpp.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment