I'm trying to import Godot into the switch. This is a large project with a different building environment (SCons) so I had to adapt that to use the devkitpro toolchain. To make things worse, I don't know much C++, so I may be asking something obvious. That said, I'm fairly technical and I can probably find my way out with some nudge in the right direction. I think I've got most things right, whole project builds fine after tweaking the build rules and pointing to the right devkitpro libraries, but I have a linking problem when using libnx. (without linking libnx I get a problem find the _start symbol, which makes sense since it's in the libnx, but no linking problems other than that)
What I actually need to understand is how to correlate the errors with what appears to be missing. I'm pretty sure I'm linking the right libraries (I even passed every single library). I tried to replicate as much as possible the actual commands ran by the devkitPro supplied examples (which build with no problems)
Am I in the right track? anything obvious I'm missing?
Actual output: https://pastebin.com/Ss5xcHWF
map (part1): https://pastebin.com/JFqXEqjH
map (part2): https://pastebin.com/fCkyi6Cv
Dev environment: OSX with latest devkitA64
Using a copy of switch.specs due to a problem with the DEVKITPRO variable not being passed by the dev environment, but otherwise the same file as the devkitpro one.
Linking problem while trying to port existing project to switch
-
- Site Admin
- Posts: 2004
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Linking problem while trying to port existing project to switch
A lot of work has already been done on Godot, afaik it's working reasonably well.
See https://github.com/Stary2001/godot/tree/switch
See https://github.com/Stary2001/godot/tree/switch
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 6 guests