"Directory not found" error

This means it is unable to find the source path listed in the current [Build/Run Configuration].
The source path refers to the folder where the source (main) files are located and is a relative path under the project's top-level folder (root). This problem usually occurs when you create an empty project. To solve this problem, use the following methods.
  1. 1.
    Verify that the source file exists under the source path shown in [Build/Run Configuration].
  2. 2.
    Modify the source path entry with the path where the source file is located. (The path is relative to the project root.)
If you want to start a project without any of the above settings, please use the console(default) project instead of an empty project. Build and run it after creation, and look at the build / run settings and the configuration of the actual folders and files which will be helpful to get the directory.