Reisyukaku / ReiNX

A modular Switch custom firmware
GNU General Public License v2.0
817 stars 85 forks source link

There are some compilation errors with the lastest libstratosphere #83

Closed JamePeng closed 5 years ago

JamePeng commented 5 years ago

it looks like the new libstratosphere had refactored the file structure, the NX_Sysmodules file still used the old version include to implement the function.

/ReiNX/NX_Sysmodules/loader/source/ldr_debug_monitor.hpp:4:10: fatal error: stratosphere/iserviceobject.hpp: No such file or directory

include <stratosphere/iserviceobject.hpp>

Reisyukaku commented 5 years ago

Yea i thought i'd be nice and just link to that but seems to be causing more harm then good.. so fuckem. Reverted. also using Boost is a good sign of a filthy noob ;v)

JamePeng commented 5 years ago

lol, but this fix still need the scope_guard.hpp of the boost~

ON_SCOPE_EXIT { / Loader doesn't persist the copied resource limit handle. / svcCloseHandle(reslimit_h.handle); };

Reisyukaku commented 5 years ago

Ah right, I wasnt in the mood to deal with these memes yesterday.. looks like their submodule has submodules and for whatever reason just using git clone recursive submodules or whatever doesnt work alone so i went under NX_Submodules and ran git submodule update --init --recursive because they have custom boost shit under include Anyways i reverted the revert https://github.com/Reisyukaku/NX_Sysmodules just pull that and make sure that /include/boost/ dir has shit in it

Reisyukaku commented 5 years ago

theres still a few loose ends i gotta figure out when i get home it seems.. will reopen till then

Reisyukaku commented 5 years ago

So uhhh things compile but dont boot because a lot of the updated code is atmo specific shit so idk when ill get around to figuring that out.

JamePeng commented 5 years ago

yes, use the lastest compile will boot failed! and I have to open the switch shell remove the battery for release the power.

Reisyukaku commented 5 years ago

Everything should work as of bcfb58dcba87d49103725216f67572d2c8c2bed8

Reisyukaku commented 5 years ago

also you dont need to open the switch lol.. just hold power button for 20 seconds