iar arm compiler rebiuld problem

Status
Not open for further replies.

arsalanarm

Junior Member level 3
Joined
Sep 1, 2012
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,676
hi guys i,d like to recompile a project using iar arm compiler.i use stm32f4 discovery board and i want to recompile "Demonstration" project which downloaded from st site
but afer compile iar errors give 30 error
please help to solve this problem
thanks a lot

//-----------------------------
Building configuration: STM32F4-Discovery_Demo - Demo
Updating build tree...
main.c
Fatal Error[Pe005]: could not open source file "stm32f4_discovery.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\main.h 27
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
misc.c
Fatal Error[Pe005]: could not open source file "misc.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\misc.c 70
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
selftest.c
Fatal Error[Pe005]: could not open source file "stm32f4_discovery.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\main.h 27
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
startup_stm32f4xx.s
Error[438]: This instruction is not available in the selected cpu/core E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\CMSIS\ST\STM32F4xx\Source\Templates\iar\startup_stm32f4xx.s 169
Error while running Assembler
stm32f4_discovery.c
Fatal Error[Pe005]: could not open source file "stm32f4xx.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\stm32f4_discovery.h 32
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4_discovery_audio_codec.c
Fatal Error[Pe005]: could not open source file "stm32f4xx.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\stm32f4_discovery_audio_codec.h 28
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4_discovery_lis302dl.c
Fatal Error[Pe005]: could not open source file "stm32f4xx.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\stm32f4_discovery_lis302dl.h 32
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Utilities\STM32F4-Discovery\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_adc.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_adc.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_adc.c 98
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_dac.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_dac.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_dac.c 118
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_dma.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_dma.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_dma.c 116
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_exti.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_exti.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_exti.c 61
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_flash.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_flash.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_flash.c 70
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_gpio.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_gpio.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_gpio.c 79
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_i2c.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_i2c.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_i2c.c 87
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_it.c
Fatal Error[Pe005]: could not open source file "stm32f4xx.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\usb_conf.h 27
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_rcc.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_rcc.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_rcc.c 56
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_spi.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_spi.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_spi.c 152
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_syscfg.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_syscfg.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_syscfg.c 43
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
stm32f4xx_tim.c
Fatal Error[Pe005]: could not open source file "stm32f4xx_tim.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_tim.c 114
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32F4xx_StdPeriph_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
system_stm32f4xx.c
Fatal Error[Pe005]: could not open source file "stm32f4xx.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\system_stm32f4xx.c 117
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usb_bsp.c
Fatal Error[Pe005]: could not open source file "usb_bsp.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\usb_bsp.c 24
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usb_core.c
Fatal Error[Pe005]: could not open source file "usb_core.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32_USB_OTG_Driver\src\usb_core.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32_USB_OTG_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usb_dcd.c
Fatal Error[Pe005]: could not open source file "usb_dcd.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32_USB_OTG_Driver\src\usb_dcd.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32_USB_OTG_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usb_dcd_int.c
Fatal Error[Pe005]: could not open source file "usb_dcd_int.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32_USB_OTG_Driver\src\usb_dcd_int.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32_USB_OTG_Driver\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usbd_core.c
Fatal Error[Pe005]: could not open source file "usbd_core.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32_USB_Device_Library\Core\src\usbd_core.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32_USB_Device_Library\Core\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usbd_desc.c
Fatal Error[Pe005]: could not open source file "usbd_core.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\usbd_desc.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usbd_hid_core.c
Fatal Error[Pe005]: could not open source file "usbd_hid_core.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32_USB_Device_Library\Class\hid\src\usbd_hid_core.c 44
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32_USB_Device_Library\Class\hid\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usbd_ioreq.c
Fatal Error[Pe005]: could not open source file "usbd_ioreq.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32_USB_Device_Library\Core\src\usbd_ioreq.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32_USB_Device_Library\Core\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usbd_req.c
Fatal Error[Pe005]: could not open source file "usbd_req.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\STM32_USB_Device_Library\Core\src\usbd_req.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Libraries\
STM32_USB_Device_Library\Core\src\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler
usbd_usr.c
Fatal Error[Pe005]: could not open source file "usbd_usr.h" E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\usbd_usr.c 23
searched: "E:\backup az flash 1392.03.18\ARM\STM32F4 Discovery Board all document\STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\"
searched: "C:\Program Files\IAR Systems\Embedded Workbench 5.4\arm\INC\DLIB\"
Error while running C/C++ Compiler

Total number of errors: 30
Total number of warnings: 0
//----------------------------------
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…