Skip to main content
Visitor II
September 8, 2003
Question

st7 compile error

  • September 8, 2003
  • 5 replies
  • 987 views
Posted on September 08, 2003 at 09:04

st7 compile error

    This topic has been closed for replies.

    5 replies

    terryhaoAuthor
    Visitor II
    September 4, 2003
    Posted on September 04, 2003 at 07:58

    Recently I meet a problem while I use ST7 assembly to

    compile my program. the error message is ''could not

    find the ''st7.tab'. I have checked and found the file

    st7.tab is in the folder. In addition the path is also setup.

    So, I don't know why. coudl anyone help me explain it?

    Best Regards,

    terry
    Visitor II
    September 5, 2003
    Posted on September 05, 2003 at 07:14

    The only thing I can suggest is to check METAI variable is defined with the correct path to the assembler (usually C:\Program Files\STM\st7toolchain\asm) and to double check st7/ or ST7/ is defines at the top of each source file (check there are no spaces etc)

    Have you tried reinstalling the assembler ?

    Hope this helps

    sjo
    terryhaoAuthor
    Visitor II
    September 5, 2003
    Posted on September 05, 2003 at 07:36

    Thanks first.

    I have reinstall the software. But there is no use. If I put

    ''C:\Program Files\STM\st7toolchain\asm\st7/'' in the .asm file. the

    7lite0.asm and constant .asm can pass the compile process. But

    the ex6c.asm can not pass and the error message is as follows:

    '':\Exercise\Result\broteck>asm ex6c.asm -li

    Couldn't open source file: No such file or directory''

    but the file is exist in the directory

    I don't know why. In addition do you receive my question about

    free st7 program?

    Best Regards,

    Terry

    Visitor II
    September 5, 2003
    Posted on September 05, 2003 at 08:30

    The only other suggestion is to attach your code.

    Regards

    sjo
    Visitor II
    September 8, 2003
    Posted on September 08, 2003 at 09:04

    Hello,

    I am attaching a copy of the example. It is compiling correctly for me.

    ________________

    Attachments :

    ex6c.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I09j&d=%2Fa%2F0X0000000bUX%2FwkDqzyWLk.WLnEkjswJbfVvIYmYZ8NbFby.sP9bLZI0&asPdf=false