Homebrew Question Help with building WOL project

dgibb

Active Member
OP
Newcomer
Joined
Mar 14, 2009
Messages
26
Trophies
1
XP
276
Country
Hi all
Complete newbie to dev on switch so please bare with me.
I followed the excellent "How to build almost ANY switch CFW or Homebrew app" tutorial and got everything up and running. I really wanted to build Zedjones WakeOnLan_Switch github project but I am getting the attached errors when I "build".
Very gratefull for any help
 

Attachments

  • WakeOnLanError.txt
    7.2 KB · Views: 104

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,304
Trophies
3
XP
12,092
Country
Poland
Code is outdated. gfx is no more part of libnx.

--------------------- MERGED ---------------------------

Delete every
Code:
gfxInitDefault();

Replace every block
Code:
gfxFlushBuffers();
gfxSwapBuffers();
gfxWaitForVsync();

with this one line
Code:
consoleUpdate(NULL);

And replace
Code:
gfxExit();
with
Code:
consoleExit(NULL);

It should compile now.
 
  • Like
Reactions: AstronomerOfNyx

dgibb

Active Member
OP
Newcomer
Joined
Mar 14, 2009
Messages
26
Trophies
1
XP
276
Country
This worked and compiled no problem.
When I try to run it on my switch it crashes (ofw 11, atmosphere 0.16.0 master) with a 2168-0002 (0x4a8). Programm ID is 010000000000D.
I guessedit is looking for addtional resources in the tiles (?) or content (?) folder under the Programme ID. The build created some addtional folders so I tried creating a folder in tiles and content to with these files but still crashing on launch.
What am I missing?
Thanks!!!!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Looks like Link's Awakening was metaphorical.