Problems Using .incbin

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

Problems Using .incbin

2,217件の閲覧回数
Ioline
Contributor I
I am having troubles loading a binary image with .incbin.  CodeWarrior claims that it either does not exist or cannot be opened.  I have included the file in the project manager, so I figure that it can be loaded.  Am I missing something?  Thanks.
ラベル(1)
0 件の賞賛
6 返答(返信)

596件の閲覧回数
J2MEJediMaster
Specialist I
You probably need to make the project recognize the file's extension. Proceed as follows:

1) Go to the Project's Settings panel (press ALT-F7)
2) Click on the File Mappings selection at the left. The File Mappings panel appears.
3) Click on the Choose button, and navigate to your file. Click Open.
4) Information on the file should appear in the controls. For the Compiler setting you probably want to pick None.
5) You may want to experiment with the Flags menu. If it's the be incorporated into the final module, you'll want to leave Ignored by Make unchecked.

HTH.

---Tom
0 件の賞賛

596件の閲覧回数
Ioline
Contributor I
The settings are:
 
File Type:  BINA
Extension: .bin
Compliler: None
Edit Language: None
Flags: Ignore By Make
 
I have the binary file included in the Project window, and it still gives the same warning.
0 件の賞賛

596件の閲覧回数
Ioline
Contributor I
Correction, Ignore By Make is not checked...
0 件の賞賛

596件の閲覧回数
J2MEJediMaster
Specialist I
If it's still not working, have you made sure that the file is part of your target? That is, the file's name in the Project window should have a black dot adjacent to it, the dot appearing in the column with the small target.

---Tom

0 件の賞賛

596件の閲覧回数
Ioline
Contributor I
Yup, there is a dot next to it.  I don't understand it should work.
0 件の賞賛

596件の閲覧回数
Ioline
Contributor I
Update:  Still not working...
0 件の賞賛