This is not the first time that this problem has occurred. When I go to the Internet for help, it mostly refers to the problem of environment variables. After I change it, I find that keil flashes back. When I see someone saying that it is impossible to generate. O files, I add them manually, but my intuition tells me that this is the most correct choice. After consulting the data, I find that the following problems occur.
One reason for the error is that your computer user name is Chinese, which is the problem of environment variables, but I did not report an error when running the routine, indicating that there is no problem with my environment;
Another reason is that there was a low version of keil software installed before, and the registry was not deleted after uninstallation. At this time, just delete it.
My problem is that I didn’t pay attention when creating a new project. I copied the routine directly, and then added the file manually, resulting in an existing. O file. At this time, I compiled it again, resulting in a problem. Because preprocessing, compilation, assembly and linking are indispensable, the. O file is generated in the assembly stage. If it already exists, it will trigger the error report. I would like to remind you that the new project should not be as easy as me, but step by step
Read More:
- [Solved] KEIL Run Error: \KEY.axf: Error: L6218E: Undefined symbol EXTI_ClearITPendingBit (referred from exit.o).
- [Solved] TypeError: super(type, obj): obj must be an instance or subtype of type
- [Solved] fatal error C1083: Could Not Open Unable to open include file:“stdint.h”: No such file or directory
- [Solved] keil2 Error: FATAL ERROR L210: I/O ERROR ON INPUT FILE
- [Solved] ERROR: Could not open requirements file: [Errno 2] No such file or directory : ‘requirments.txt‘
- error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory
- [619]libgtk-3.so.0 or libXt.so.6: cannot open shared object file: No such file or directory
- [Solved] import cv2 Error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- [Solved] import mxnet Error: OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory
- VSCode Unable to find custom header file directory: fatal error: no such file or directory
- ./popins2: error while loading shared libraries: libbifrost.so: cannot open shared object file: No such file or directory
- [Solved] ./my_cmake_exe: error while loading shared libraries: libswresample.so.4: cannot open shared object file: No such file or directory
- [Solved] open failed: ENOENT (No such file or directory)
- [Solved] fatal error C1083: Cannot open included files: “stdafx.h”: No such file or directory
- [Solved] KEIL Compile Error: Error: L6220E: Load region LR_IROM1 size (65552 bytes) exceeds limit (65536 bytes)……
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory
- C++: fatal error: variant: No such file or directory
- crtdbg.h No such file or directory error [How to Solve]
- [Solved] fatal error: Eigen/Geometry: No such file or directory
- fatal error: libusb.h: No such file or directory [How to Solve]