It's all about the answers!

Ask a question

A modified program fails to build during a dependency build if no previous build map is found

Daniel Bruce (9135) | asked Feb 25 '13, 2:34 p.m.
edited Feb 25 '13, 4:55 p.m. by Spencer Murata (2.3k115971)
If the initial build of a program is not done for any reason (i.e no language definition), then a build map will not be created. After you change this program by adding a language definition for example, dependency build now considers the program to be a MODIFIED program rather than a NEW program which means that it will search for the program's previous build map to determine dependency changes. Because a build map has not been created for this program, it will not find any changes and the dependency build will skip building the program.

Accepted answer

permanent link
Daniel Bruce (9135) | answered Feb 25 '13, 2:36 p.m.
This issue is being tracked in defect new file is not built if Lang def is assigned after 1st build (243516) targeted for RTC 4.0.3 and the fix has also been backported to RTC and RTC 4.0.2.
Spencer Murata selected this answer as the correct answer

Daniel Bruce commented Feb 25 '13, 2:45 p.m.

The work around for this issue is to create a buildable subset containing the program that is not building and run a build with the "Build change items only" option unchecked.  The work around need only be performed one time then the program will be preprocessed normally once a build map has been created.

Your answer

Register or to post your answer.