Filter löschen
Filter löschen

Compiling error : Unknown file extension ' '

35 Ansichten (letzte 30 Tage)
AKHILA
AKHILA am 23 Aug. 2024
Beantwortet: Prasanna am 9 Sep. 2024 um 16:26
I am compiling a file that contains a caller block, and that c caller block is calling c file that have many header files included. But while compiling its giving error Unknown "file extension ' ' ". Can anyone tell me how to solve this one?
  4 Kommentare
Aravind
Aravind am 26 Aug. 2024
Hi,
Can you share your files or maybe some reproduction steps for this error?
AKHILA
AKHILA am 26 Aug. 2024
HI, I can't share file, but this are the files for blinking an led using stm board.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Prasanna
Prasanna am 9 Sep. 2024 um 16:26
Hi AKHILA,
The error message "Unknown file extension ' '" typically occurs when a C/C++ compiler encounters a file with an unrecognized or missing extension. To solve the issue, you can perform the following debugging steps to pinpoint the error:
  • Check file extensions for whitespace issues and hidden characters
  • Verify the file paths and double check the paths to the source and header files in the project build configuration
  • Check the include directives in your C files
  • Verify your compiler settings to check if it is configured to compile the file types you are using
For more information regarding the following issue, you can refer the following references as well:
Hope this helps!

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by