Need help loading img file

Stoner_Spacely

Member
OP
Newcomer
Joined
Oct 25, 2023
Messages
11
Trophies
0
Age
29
XP
59
Country
Netherlands
Hello everyone!

I'm trying to re-create the chrome dinosaur running game but I'm having some trouble!
For some reason vscode is giving me an error when I try to construct a path to the image folder.
Could somebody tell me what i'm doing wrong here?

1.png
2.png
 

Stoner_Spacely

Member
OP
Newcomer
Joined
Oct 25, 2023
Messages
11
Trophies
0
Age
29
XP
59
Country
Netherlands
You are not linking SDL2_Image

Beside I don't see this being compiled for Switch. So you shouldn't ask stuff about this here.
Oh it won't happen again, but yeah I had even more issues compiling for the switch so I felt like maybe lowering the difficulty would help me better understanding code in general. Experience comes with trail and error but there's just not a whole lot of up to date information about compiling for the switch out there.. I can't find it? I was thinking maybe if I compile for Windows and then convert a proven to work code to the switch afterwards it's gotta give me some experience. Any tips on learning? recommended books? websites?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
  • Xdqwerty @ Xdqwerty:
    yawn
  • Xdqwerty @ Xdqwerty:
    anybody here?
  • P @ PKNate:
    nope
  • BakerMan @ BakerMan:
    fun fact: 7 years by lukas graham, supermassive black hole by muse, and megalomania all have the same bpm
  • BakerMan @ BakerMan:
    girls just wanna have fun and renai circulation also share the same tempo as the few i said before
  • Xdqwerty @ Xdqwerty:
    @BakerMan, megalomania the live a live song?
  • BakerMan @ BakerMan:
    wait no, megalovania*
  • BakerMan @ BakerMan:
    my bad
  • K3Nv2 @ K3Nv2:
    I don't forgive you
  • BigOnYa @ BigOnYa:
    The nerve of that guy, gosh.
  • K3Nv2 @ K3Nv2:
    Yeah expecting me to forgive gtfo
  • Psionic Roshambo @ Psionic Roshambo:
    But how could the Dr have known you didn't want to be circumcized?
  • K3Nv2 @ K3Nv2:
    He didn't you just wanted your dick to be fondled
    +1
  • K3Nv2 @ K3Nv2:
    Watching dune 2 it's eh
  • Psionic Roshambo @ Psionic Roshambo:
    Dune one sucked
  • Psionic Roshambo @ Psionic Roshambo:
    The original with Patrick Stewart was Great
  • K3Nv2 @ K3Nv2:
    A sexual psycopath that love pain where have I heard that before
  • BigOnYa @ BigOnYa:
    In your high school diary?
  • K3Nv2 @ K3Nv2:
    No but your wife let's me read her diary the word psychopath comes up more than sexual
    +1
    K3Nv2 @ K3Nv2: No but your wife let's me read her diary the word psychopath comes up more than sexual +1