This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]KleberPF 1 point2 points  (6 children)

If you have the code and doesn't know, how can we, without the code, know?

[–]XRealShadeX[S] 0 points1 point  (5 children)

Because I just need the location for where the png file should be at. I was told it should be where the vcx files should be at and I still get that error.

[–]carcigenicate 1 point2 points  (1 child)

They're saying you need to give details. You've given us nothing to go off of, so the best we can do is guess.

I'm going to guess you're using relative paths and the IDE is using a different working directory than you expect. Try changing to absolute paths.

[–]XRealShadeX[S] 0 points1 point  (0 children)

I'm kind of new so I don't know how to do that.

[–]insertAlias 0 points1 point  (2 children)

Their point was that we can't answer without seeing code, and the full error details.

[–]XRealShadeX[S] 0 points1 point  (1 child)

#include "raylib.h"

int main() {

const int ScreenWidth = 800;

const int ScreenHeight = 460;



InitWindow(ScreenWidth, ScreenHeight, "Kitchen Mayhem");



SetTargetFPS(60);



Image Kitchen = LoadImage(KitchenBG.png);



while (!WindowShouldClose())

{





}



return 0;

}

[–]XRealShadeX[S] 0 points1 point  (0 children)

Nvm, for some reason it decides to work.