Doonstack - cw 10.1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,623件の閲覧回数
roberto_m
Contributor III

Hi,

I'm going to use (mainly) CW 10.1 (and leaving CW 6.3). I create a new project in CW 10.1. Then I import AN3942SW doonstack source code, but if I try to build it I get:

 

 ERROR A2309 File not found.

 

It refers to: Include 'doonstack.inc'. This line is present in doonstack.asm.

 

Does anyone know why? (and what I have to do)

ラベル(1)
1 解決策
647件の閲覧回数
CrasyCat
Specialist III

Hello

 

I guess you are missing the path to the assembly include file in the project.

In order to add it:

  • Open the Project Properties dialog (Select Project > Properties)
  • Go to C/C++ Build > Settings > Tool Settings > HCS08 Assembler > Input page.
  • In the Include file search paths edit box add the path to the folder where the .inc file is located.
         You can use ${ProjDirPath} to specify a location relative to the project directory (i.e. the directory where
         the file  .project is located). 

 

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
647件の閲覧回数
anurudhtiwari
Contributor II

Hi guys,

   I need these files (doonstack.asm, doonstack.h, doonstack.inc ). can u please send me these files.

Thanks

Anurudh

0 件の賞賛
返信
648件の閲覧回数
CrasyCat
Specialist III

Hello

 

I guess you are missing the path to the assembly include file in the project.

In order to add it:

  • Open the Project Properties dialog (Select Project > Properties)
  • Go to C/C++ Build > Settings > Tool Settings > HCS08 Assembler > Input page.
  • In the Include file search paths edit box add the path to the folder where the .inc file is located.
         You can use ${ProjDirPath} to specify a location relative to the project directory (i.e. the directory where
         the file  .project is located). 

 

 

CrasyCat

0 件の賞賛
返信
647件の閲覧回数
roberto_m
Contributor III

Yes, BigMac I did it (put *.asm and *.h file).

As you and CrayCat (thank you!!!) said I was missing tha path to the assembly. I'm still newbie on CW10.1.

Thak you.

0 件の賞賛
返信
647件の閲覧回数
bigmac
Specialist III

Hello,

 

According to the AN there are three files that need to be copied to the new project, including the one you mention.  The others are a .h header file and a .ASM file.  Did you do this?  I might assume that the .INC file should have a similar path as the .h files within the project.

 

Regards,

Mac

 

0 件の賞賛
返信