2022-11-22 02:08 AM
After re-install the OS(win10), and install the cube IDE to 1.10, I can't compile pass the project which work well before.
Could you kindly show me why and how to solve this questions?
Thanks!
d:\program files (x86)\st\stm32cubeide_1.10.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: cannot find crti.o: No such file or directory
d:\program files (x86)\st\stm32cubeide_1.10.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: cannot find crtbegin.o: No such file or directory
d:\program files (x86)\st\stm32cubeide_1.10.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: cannot find crt0.o: No such file or directory
collect2.exe: error: ld returned 1 exit status
STM32CubeIDE
Version: 1.10.0
Build: 12671_20220627_1643 (UTC)
Solved! Go to Solution.
2022-11-22 07:31 PM
Thanks for your help! I roll back the STM32CubeIDE to 1.9.0, the problem disappeared.
2022-11-22 02:41 AM
Hello kaka.zhuo,
It seems the include paths are not properly set up.
Please make sure to configure the include paths and check the path of the crti.o, crtbegin.o, crt0.o . Maybe that object files were not in the include folder list.
Wijeden,
2022-11-22 04:40 AM
Could be o missing becausd source file was not compiled because not added a source file, or project in release instead of debug, so do a project clean and rebuild.
Eclipsd may have great modularity that intuitivity is lost.
2022-11-22 07:31 PM
Thanks for your help! I roll back the STM32CubeIDE to 1.9.0, the problem disappeared.
2022-11-23 03:04 AM
Hi again kaka.zhuo,
I'm so happy that your problem was resolved but I 'm stilling curious about the cause of this error, can you please inform me those 3 stuffs:
Wijeden,
2023-10-06 11:28 PM
I ran into the exactly same error. But the trigger of the problem was I copied a project and rename the IOC file. and after I rebuilt the new project, I got the same error: can not find crti.o, crtbegin.o and crt0.o. I checked the include path and no issue. Please give your input. Thanks.