按照iar教程建立并设置项目,make后,提示错误: Building configuration: GPIO_Example - Debug Updating build tree... Linking Error[e46]: Undefined external "RCC_APB2PeriphClockCmd" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObj main.r79 ) Error[e46]: Undefined external "GPIO_Init" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "GPIO_SetBits" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "GPIO_ResetBits" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_DeInit" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_HSEConfig" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_WaitForHSEStartUp" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "FLASH_PrefetchBufferCmd" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "FLASH_SetLatency" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_HCLKConfig" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_PCLK2Config" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_PCLK1Config" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_PLLConfig" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_PLLCmd" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_GetFlagStatus" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_SYSCLKConfig" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "RCC_GetSYSCLKSource" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Error[e46]: Undefined external "NVIC_SetVectorTable" referred in main ( E:PDF资料STM32FWLibexamplesGPIOExample1DebugObjmain.r79 ) Total number of errors: 18 Total number of warnings: 0
检查了很多次,还是如此。请问是什么原因?怎么解决? |