A build fails because an application created during the build is unavailable later in the build. For example:
The postbuild target may fail because the step ran before foo.exe was available. Extensions .bat and .com suffer the same issue.
The failure occurs because cmd does not find foo.exe and therefore does not record the dependency between postbuild and foo.exe.
There are three solutions:
- Specify the extension when using the application, for example: foo.exe, foo.com, foo.bat. (Recommended)
- Run a single-agent build, so eMake executes the jobs in serial order.
- Run an incremental build after foo.exe has been created.
In subsequent full, multi-agent builds, solutions 2 and 3 will succeed only if the previous history file is used.
- Product versions: All
- OS versions: Windows