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: 106

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,315
Trophies
3
XP
12,119
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
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    you go bro
    +1
  • BakerMan @ BakerMan:
    i know, i know, i'm late
  • Sicklyboy @ Sicklyboy:
    @BigOnYa, I'll rip a bag off my Volcano to that, brother
    +2
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
    Veho @ Veho: https://i.imgur.com/E1U7Nlt.mp4 +1