Christian Damus(deleted)
|
Re: File rename and no rule to make target problem
|
Christian Damus(deleted)
02/08/2010 9:25 AM
post46786
|
Re: File rename and no rule to make target problem
Hi, Keith,
Yes, the *.d file is generated by the GNU compiler's dependency-checking
function. You will need to clean the project to remove all *.d files,
then the next build will re-generate them with the new dependency names.
It may be (depending on the type of project that you have) that a clean
build does not delete this *.d file. In that case, just delete it
yourself.
HTH,
Christian
On Sun, 2010-02-07 at 08:25 -0500, Keith Smith wrote:
> I have a project A with file foo.h
> I also have a project B which references foo.h
>
> If I rename foo.h to foobar.h and rebuild I invariably get an error 'No rule to make foo.h'
>
> What I find is that a file *.d in the /o or /o_g directory still contains a reference to foo.h after the rename.
>
> I am running IDE 4.6.1 under Windows XP
>
> Any suggestions to clear up the 'No rule to make ..." error?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post46733
>
|
|
|