Help with the use of STM32 peripheral library, error definition with for example GPIO_Typedef
Look at the top of stm32f10x.h and you'll see that you can choose which chip you have based on a few defines.
Pick the right one and then add this as define in the compiler options.