This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

cannot open source input file "stm32f10x_lib.h"

I have created a new project and am trying to compile some basic GPIO code. The compiler output is generating this message:

"test.c(14): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory"

I have the target device set to STM32F105VB and the Debug to use the "ST-Link Debugger" specifically the "ST-LINK/V2". I made sure there is an extra line at the end of the .c file.

#include <stm32f10x_lib.h> // STM32F10x Library Definitions is the first non-comment line in the code.

What am I doing wrong?