Hello to everyone.I'm new to this forum. With the Keil programI want to print temperature and humidity information to the LCD screen on the STM32F103VET card. So I found an lcd library on the internet.
h. files to the "Drivers / STM32F1xx_HAL_Driver / Inc" path in the project I created. and I saved the c. files in the "Drivers / STM32F1xx_HAL_Driver / Src" path and then opened my project and added it to the "Application / User / Core" section.
but the program gives me the following error:
Build started: Project: final_project*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'Build target 'final_project'compiling ssd1289_fsmc.c...C:\Users\sedanur\Downloads\ssd1289_stm32f103VET6_example\ssd1289_stm32f103VET6_example\ssd1289_fsmc.h(4): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory #include "stm32f10x_gpio.h"C:\Users\sedanur\Downloads\ssd1289_stm32f103VET6_example\ssd1289_stm32f103VET6_example\ssd1289_fsmc.c: 0 warnings, 1 error"final_project\final_project.axf" - 1 Error(s), 0 Warning(s).Target not created.Build Time Elapsed: 00:00:00
Can someone explain the cause of the problem to me please?
sedanur said: "stm32f10x_gpio.h": No such file or directory
So does that file actually exist at all? Clearly, if it doesn't exist at all, the compiler is not going to be able to open it!
If it does exist, then you need to set your project Include Paths so that the compiler can find it.
This isn't specific to Keil or ARM - this is standard 'C' stuff
So, again, do you actually have an "stm32f10x_gpio.h" file anywhere on your system?
I found the gpio.h library from github and added it in the same way and specified its path.
But the error refers to "stm32f10x_gpio.h" - not just "gpio.h" ?
Excuse me I found the "stm32f1xx_ gpio.h" library and saved the paths .c and .h. and then I specified the paths.
sedanur said:saved the paths .c and .h.
What do you mean by that?
You need to show what you've actually done - remember that we can't see your screen or what you are doing.
Do you have any colleagues, teachers, supervisors, etc who can help you locally? It's way easier for someone to help you locally!
For how to get screenshots, See:
View all questions in Keil forum