如何解决IAR“cannot open file xx”的编译问题

2024-11-20 04:26:38

1、如图所示问题的现象。

如何解决IAR“cannot open file xx”的编译问题

2、右击工作空间,点击“Options...”

如何解决IAR“cannot open file xx”的编译问题

3、点击“C/C++ Compiler”。

如何解决IAR“cannot open file xx”的编译问题

4、点击“Preprocessor”。

如何解决IAR“cannot open file xx”的编译问题

5、在此对话框中添加头文件的路径。

如何解决IAR“cannot open file xx”的编译问题

6、编译之后,我们会发现编译通过,0错误,0警告。

如何解决IAR“cannot open file xx”的编译问题
猜你喜欢