You executed the program without an image path as argument. Argv[1] does not exist and the program will of course crash…
2 Likes
You executed the program without an image path as argument. Argv[1] does not exist and the program will of course crash…