This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No object file generated after compilation in uvision 1.13

I am using uvision 1.13 to build project based on old project file.
issue is:
1. after change of source code, the old object file are not updated, but list file (.lst) updated.
2. If moving .obj file to somewhere else and building, error message "missing object file".
3. C51 can detect syntax error in c souce code.

Highly appreciation for advice.

Regards

Parents
  • "old object file are not updated, but list file (.lst) updated."

    Are the old objects write-protected?

    The listing file shows you the command options passed to the compiler - check them carefully!

    Maybe the compiler is generating objects, but in a different location...

    The listing file will also contain any error mesages from the compiler - obviously, the compiler will generate a listing, but cannot generate an Object if the source contains errors...

    "2. If moving .obj file to somewhere else and building, error message 'missing object file'."

    Presumably that one comes from the Linker, not the compiler?

    "3. C51 can detect syntax error in c souce code."

    Correct.

    But, if you're using C51, why have you chosen C251 as the toolset...?

Reply
  • "old object file are not updated, but list file (.lst) updated."

    Are the old objects write-protected?

    The listing file shows you the command options passed to the compiler - check them carefully!

    Maybe the compiler is generating objects, but in a different location...

    The listing file will also contain any error mesages from the compiler - obviously, the compiler will generate a listing, but cannot generate an Object if the source contains errors...

    "2. If moving .obj file to somewhere else and building, error message 'missing object file'."

    Presumably that one comes from the Linker, not the compiler?

    "3. C51 can detect syntax error in c souce code."

    Correct.

    But, if you're using C51, why have you chosen C251 as the toolset...?

Children