Error: main.lua or pdex.bin required while compiling

Platform : MAC

Followed the steps mentioned in the documentation and tried to compile using the command :=
pdc [-sdkpath ] [-s] [-u] [-m] [--version] [output]
For eg: pdc pladone plaone.pdx

But I'm getting ERROR

error : main.lua or pdex.bin required

I'm using Noble Engine

Can you show the folder structure of your project?

and from which directory you are invoking pdc?

This is the folder structure. I have used Nobel Engine game template to start with.

The pdc command is executed from parent folder of the game folder pladone

I have figured it out. The source folder was not selected properly. Also needed a few setup for Noble engine. Thanks.

1 Like