Bug Report: CW10 - Deleting .h file does not clear up reference in SourceFile.obj

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bug Report: CW10 - Deleting .h file does not clear up reference in SourceFile.obj

ソリューションへジャンプ
834件の閲覧回数
mykepredko
Contributor IV

To the powers that be and anybody that sees this problem:

 

I've found that when I delete a .h file in CW10 and then rebuild, I get an error saying that the .h file is expected in SourceFile.obj (SourceFile being whatever .c the .h was originally loaded into). 

 

To correct the problem, I go into the SourceFile.d file found in BoardType_Int_Flash_Debug|Release - Sources and delete the reference. 

 

In changing/saving the SourceFile.d, I get the message saying that it is a derived file, am I sure I want to do this and I say "Yes". 

 

After doing this, the project builds without any issues. 

 

Regards,

 

myke

ラベル(1)
0 件の賞賛
1 解決策
378件の閲覧回数
CrasyCat
Specialist III

Hello

 

An easier way to fix that is to click right on the project name in CodeWarrior project window and select "Clean Project".

This will remove all intermediate .d files and you should be able to build after that.

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
379件の閲覧回数
CrasyCat
Specialist III

Hello

 

An easier way to fix that is to click right on the project name in CodeWarrior project window and select "Clean Project".

This will remove all intermediate .d files and you should be able to build after that.

 

CrasyCat

0 件の賞賛
378件の閲覧回数
mykepredko
Contributor IV

Thanx for the pointer!

 

myke

0 件の賞賛