"No rule to make file" after moving a directory [message #1841792] |
Sun, 30 May 2021 02:15 |
Jason Gauthier Messages: 1 Registered: May 2021 |
Junior Member |
|
|
Greetings,
I created a project using STM32CubeMX, and I'm using STM32CubeIDE as the IDE for the project. The directory structure consists of some of the files generated by CubeMX. and then the eclipse project.
For portability, I moved all the directories that were outside of the eclipse project environment into it. I then changed al the includes to be 'workspace' includes (and libraries as well)
This way when I pull the source to different machines they don't have to be in the same folder structure.
However, upon doing so I realized that something is generating the Makefiles with the wrong directory references. When I attempt to build I get this error:
make: *** No rule to make target 'C:/Users/jagau/Documents/stm32-adc-imu/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c', needed by 'Drivers/STM32F4xx_HAL_Driver/stm32f4xx_hal.o'. Stop.
C:/Users/jagau/Documents/stm32-adc-imu/ is the old path.
I've moved the Drivers directory to C:/Users/jagau/Documents/stm32-adc-imu/STM32CubeIDE.
I cannot figure out where this reference is!
Thanks for any help.
|
|
|
Powered by
FUDForum. Page generated in 0.01534 seconds