My game executes if I run it using SED. But when I try to publish it and put all the resources to the folder it won't run.

The error is "cannot open image1.pcx".

I place this code to my main.c


#define PRAGMA_PATH "scripts";
#define PRAGMA_PATH "models";
#define PRAGMA_PATH "textures";
#define PRAGMA_PATH "sounds";
#define PRAGMA_PATH "textures\\lensflares";
#define PRAGMA_PATH "textures\\nature";
#define PRAGMA_PATH "textures\\interface";
#define PRAGMA_PATH "models\\buildings";
#define PRAGMA_PATH "models\\nature";
#define PRAGMA_PATH "models\\objects";
#define PRAGMA_PATH "models\\people";
#define PRAGMA_PATH "models\\player";
#define PRAGMA_PATH "models\\roads";

and then publish then click the main.exe but the error still persists.

Please help.