Homebrew RELEASE Sonic 3 AIR

Surra

Member
Newcomer
Joined
Mar 21, 2023
Messages
7
Trophies
0
XP
176
Country
Brazil
Using Arch Linux here. My environment variables are set properly, it fails immediately. "No rule to build « obj/Switch/Oxygen/lemonscript/source/lemon/compiler/FunctionCompiler.o »".
I was able to fix this error by editing the path of "FunctionCompiler.cpp" in the Makefile, which was inside of a folder named "backend", and kept editing for every other error that followed.
sadly I'm now stuck during the Linking stage with errors like these:

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/OpenGLTexture.o: in function `_GLOBAL__sub_I__ZN13OpenGLTextureD2Ev':
OpenGLTexture.cpp:(.text.startup+0x8c): undefined reference to `lemon::detail::FlyweightStringManager::FlyweightStringManager()'

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/OpenGLTexture.o: in function `_GLOBAL__sub_D__ZN13OpenGLTextureD2Ev':
OpenGLTexture.cpp:(.text.exit+0xfc): undefined reference to `rmx::OneTimeAllocPool::~OneTimeAllocPool()'

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/Upscaler.o: in function `_GLOBAL__sub_I__ZN8Upscaler7startupEv':
Upscaler.cpp:(.text.startup+0x8c): undefined reference to `lemon::detail::FlyweightStringManager::FlyweightStringManager()'

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/Upscaler.o: in function `_GLOBAL__sub_D__ZN8Upscaler7startupEv':
Upscaler.cpp:(.text.exit+0xfc): undefined reference to `rmx::OneTimeAllocPool::~OneTimeAllocPool()'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:374: bin/Switch/sonic3air.elf] Error 1


if anyone that sees this has any idea of what went wrong please let me know.

Edit: part of the Terminal's output became emojis, awesome.
Edit2: attached the edited Makefile so that anyone may use it.
 

Attachments

  • Makefile.txt
    17.1 KB · Views: 13
Last edited by Surra,
  • Like
Reactions: raxadian

raxadian

Well-Known Member
Member
Joined
Nov 10, 2018
Messages
4,424
Trophies
1
Age
41
XP
4,632
Country
Argentina
I was able to fix this error by editing the path of "FunctionCompiler.cpp" in the Makefile, which was inside of a folder named "backend", and kept editing for every other error that followed.
sadly I'm now stuck during the Linking stage with errors like these:

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/OpenGLTexture.o: in function `_GLOBAL__sub_I__ZN13OpenGLTextureD2Ev':
OpenGLTexture.cpp:(.text.startup+0x8c): undefined reference to `lemon::detail::FlyweightStringManager::FlyweightStringManager()'

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/OpenGLTexture.o: in function `_GLOBAL__sub_D__ZN13OpenGLTextureD2Ev':
OpenGLTexture.cpp:(.text.exit+0xfc): undefined reference to `rmx::OneTimeAllocPool::~OneTimeAllocPool()'

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/Upscaler.o: in function `_GLOBAL__sub_I__ZN8Upscaler7startupEv':
Upscaler.cpp:(.text.startup+0x8c): undefined reference to `lemon::detail::FlyweightStringManager::FlyweightStringManager()'

C:/devkitPro/devkitA64/bin/../lib/gcc/aarch64-none-elf/13.2.0/../../../../aarch64-none-elf/bin/ld.exe: obj/Switch/Oxygen/oxygenengine/source/oxygen/drawing/opengl/Upscaler.o: in function `_GLOBAL__sub_D__ZN8Upscaler7startupEv':
Upscaler.cpp:(.text.exit+0xfc): undefined reference to `rmx::OneTimeAllocPool::~OneTimeAllocPool()'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:374: bin/Switch/sonic3air.elf] Error 1


if anyone that sees this has any idea of what went wrong please let me know.

Edit: part of the Terminal's output became emojis, awesome.

Alternatively I have made the Windows version work on Wine and Proton, just not as full screen cause my video card is way too old.
 
Last edited by raxadian,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Psionic Roshambo @ Psionic Roshambo:
    Ughh gonna be bored today, class for new job has a lot of networking material and I'm certified in that already...
  • Veho @ Veho:
    Peen apple.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    "pine unf apple" doesn't count! Lol
  • Psionic Roshambo @ Psionic Roshambo:
    Employee code of conduct videos are awesome!!! Did you know eating the other employees is bad? I didn't know... Lol
    +1
  • AncientBoi @ AncientBoi:
    Anymore males there? :blush:
  • Psionic Roshambo @ Psionic Roshambo:
    All of us lol
  • Psionic Roshambo @ Psionic Roshambo:
    I got free every channel so that's awesome lol
    +1
  • AncientBoi @ AncientBoi:
    Give me ALL the gay pron channels, since you won't be watching them :blush::D
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Lol they exist?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Hmmm so Mario Does Luigi's plumbing is a bad movie? Lol
  • Psionic Roshambo @ Psionic Roshambo:
    These videos are soooo dry
  • Psionic Roshambo @ Psionic Roshambo:
    Please click all suspicious links sent your email
    +1
  • BigOnYa @ BigOnYa:
    What to do today? Cut grass for 3-4 hours, or just get drunk and play video games... Hmm
    +1
  • BigOnYa @ BigOnYa:
    I need a remote controlled mower, so I can sit on the couch and do both.
  • BigOnYa @ BigOnYa:
    Sounds good to me, video games and booze it is then.
    +1
  • denpafan @ denpafan:
    Good choice
    +1
  • BigOnYa @ BigOnYa:
    Now what to play, Starfield or Fallout4. And what to drink, beer or Whiskey and Coke. Such tough decisions.
  • BigOnYa @ BigOnYa:
    Looks like its whiskey & coke, only 4 beers left. And think ill start with Falllout. :grog:
  • rqkaiju2 @ rqkaiju2:
    THIS IMAGE IS SO SCARY WTF. THAT SURE AS HELL IS NOT A CAT THATS LIKE A FUCKING DEMON

    Untitled2.png
  • Psionic Roshambo @ Psionic Roshambo:
    Bonus points for running things over with the lawn mower?
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Monster truck Lawn Mower extreme
    Psionic Roshambo @ Psionic Roshambo: Monster truck Lawn Mower extreme