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

some errors

hi. when I compile the can sample code(LPC1768 board) below errors are appeared. can you tell me what is the problem and what can I do?

F:\project\libraries\Serial.c(21): error: #5: cannot open source input file "Serial.h": No such file or directory
F:\project\libraries\RTX_CAN.c(32): error: #60: this operator is not allowed in an integral constant expression
C:\Keil\ARM\RV31\Inc\RTX_CAN.h(13): error: #5: cannot open source input file "CAN_Cfg.h": No such file or directory

Parents
  • You don't actually have a number of files, or they are not situated on the Include Paths where the compiler might find them?

    What do you think "No such file or directory" means?

    Double check if these files exist in your project directory, or other examples, or if you're expected to provide them as settings specific to your board/chip?

Reply
  • You don't actually have a number of files, or they are not situated on the Include Paths where the compiler might find them?

    What do you think "No such file or directory" means?

    Double check if these files exist in your project directory, or other examples, or if you're expected to provide them as settings specific to your board/chip?

Children