Header File Not Found During Source File Scan with the Tiancheng Code Optimizer
Symptom
When running the tool, a message is displayed indicating that the header file cannot be found.
Possible Causes
The project, system, or other header files for the source file cannot be found.
Troubleshooting Procedure
- The project header file cannot be found.
When scanning the source file, use the -r parameter to specify the root directory of the project containing the source file. The Tiancheng Code Optimizer will then automatically analyze and locate the required header files.
- Other header files cannot be found.
When scanning the source file, use the -I parameter to specify the path to a missing header file. Multiple -I parameters can be used together.
Parent topic: FAQs