在线时间0 小时
UID2075852
注册时间2014-2-27
NXP金币0
该用户从未签到
新手上路

- 积分
- 133
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2014-3-6 20:00:38
|
显示全部楼层
RE:求助,cw10.5里导入mqx里的example里的hello例子,build失败
路径设置没有问题,怎么就这么多问题呢?连user_config都不认识,这个路径到底怎么回事呀,求大神指点!!!!
Description Resource Path Location Type
undefined identifier '_mqx_int' lwsem.h /psp_twrk60d100m/PSP Generic/include line 99 C/C++ Problem
undefined identifier 'QUEUE_STRUCT' lwsem.h /psp_twrk60d100m/PSP Generic/include line 89 C/C++ Problem
undefined identifier 'LWSEM_STRUCT' lwsem.h /psp_twrk60d100m/PSP Generic/include line 101 C/C++ Problem
undefined identifier '_file_size' fio.h /psp_twrk60d100m/PSP Generic/include line 148 C/C++ Problem
undefined identifier '_file_size' fio.h /psp_twrk60d100m/PSP Generic/include line 145 C/C++ Problem
undefined identifier '_mqx_uint' fio.h /psp_twrk60d100m/PSP Generic/include line 142 C/C++ Problem
undefined identifier '_mqx_uint' fio.h /psp_twrk60d100m/PSP Generic/include line 139 C/C++ Problem
undefined identifier 'pointer' fio.h /psp_twrk60d100m/PSP Generic/include line 136 C/C++ Problem
undefined identifier 'char_ptr' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 272 C/C++ Problem
the parameter 'QUEUE_STRUCT_PTR' has not been declared queue.h /psp_twrk60n512/PSP Generic/include line 125 C/C++ Problem
undefined identifier 'IO_OPEN_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 275 C/C++ Problem
undefined identifier 'QUEUE_ELEMENT_STRUCT' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 263 C/C++ Problem
undefined identifier 'IO_WRITE_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 284 C/C++ Problem
undefined identifier 'IO_IOCTL_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 287 C/C++ Problem
undefined identifier 'IO_CLOSE_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 278 C/C++ Problem
undefined identifier 'IO_READ_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 281 C/C++ Problem
preprocessor #error directive mqx_cnfg.h /psp_twrk60d100m/PSP Generic/include line 99 C/C++ Problem
undefined identifier 'IO_UNINSTALL_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 290 C/C++ Problem
undefined identifier 'pointer' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60n512/PSP Generic/include line 293 C/C++ Problem
the file 'user_config.h' cannot be opened mqx_cnfg.h /psp_twrk60d100m/PSP Generic/include line 93 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1302 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1303 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1304 C/C++ Problem
preprocessor #error directive mqx_cnfg.h /psp_twrk60n512/PSP Generic/include line 99 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1305 C/C++ Problem
the file 'user_config.h' cannot be opened mqx_cnfg.h /psp_twrk60n512/PSP Generic/include line 93 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1306 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1309 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1310 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1294 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1296 C/C++ Problem
object 'uint_32' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1298 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1299 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1300 C/C++ Problem
object '_PTR_' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1301 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1272 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1271 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1274 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1273 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1275 C/C++ Problem
undefined identifier 'boolean' fio.h /psp_twrk60d100m/PSP Generic/include line 151 C/C++ Problem
undefined identifier '_mqx_int' fio.h /psp_twrk60d100m/PSP Generic/include line 153 C/C++ Problem
undefined identifier 'MQX_FILE' fio.h /psp_twrk60d100m/PSP Generic/include line 155 C/C++ Problem
undefined identifier 'MQX_FILE_PTR' fio.h /psp_twrk60d100m/PSP Generic/include line 161 C/C++ Problem
undefined identifier 'IO_WRITE_FPTR' io.h /psp_twrk60n512/PSP Generic/include line 284 C/C++ Problem
undefined identifier 'IO_READ_FPTR' io.h /psp_twrk60n512/PSP Generic/include line 281 C/C++ Problem
undefined identifier 'IO_CLOSE_FPTR' io.h /psp_twrk60n512/PSP Generic/include line 278 C/C++ Problem
undefined identifier 'IO_OPEN_FPTR' io.h /psp_twrk60n512/PSP Generic/include line 275 C/C++ Problem
undefined identifier 'char_ptr' io.h /psp_twrk60n512/PSP Generic/include line 272 C/C++ Problem
undefined identifier 'QUEUE_ELEMENT_STRUCT' io.h /psp_twrk60n512/PSP Generic/include line 263 C/C++ Problem
the file 'arm/ansi_prefix.ARM.h' cannot be opened (included from: E:\K60\CW_for_MCU\tools\CW MCU v10.5\MCU\ARM_EABI_Support\ewl\EWL_C\include\ansi_parms.h:13 E:\K60\CW_for_MCU\tools\CW MCU v10.5\MCU\ARM_EABI_Support\ewl\EWL_C\include\string.h:11 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\mqx.h:1246 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:35) hello_twrk60d100m line 20, external location: E:\K60\CW_for_MCU\tools\CW MCU v10.5\MCU\ARM_EABI_Support\ewl\EWL_C\include\ewlGlobals.h C/C++ Problem
undefined identifier 'pointer' io.h /psp_twrk60n512/PSP Generic/include line 293 C/C++ Problem
undefined identifier 'IO_IOCTL_FPTR' io.h /psp_twrk60n512/PSP Generic/include line 287 C/C++ Problem
undefined identifier 'IO_UNINSTALL_FPTR' io.h /psp_twrk60n512/PSP Generic/include line 290 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1321 C/C++ Problem
object '_mqx_uint' redefined mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1317 C/C++ Problem
undefined identifier 'LWSEM_STRUCT' lwsem.h /psp_twrk60n512/PSP Generic/include line 101 C/C++ Problem
undefined identifier '_mqx_int' lwsem.h /psp_twrk60n512/PSP Generic/include line 99 C/C++ Problem
undefined identifier 'QUEUE_STRUCT' lwsem.h /psp_twrk60n512/PSP Generic/include line 89 C/C++ Problem
the file 'psp_cpu.h' cannot be opened mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1167 C/C++ Problem
undefined identifier 'QUEUE_ELEMENT_STRUCT' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 263 C/C++ Problem
undefined identifier 'IO_READ_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 281 C/C++ Problem
undefined identifier 'IO_CLOSE_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 278 C/C++ Problem
undefined identifier 'IO_OPEN_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 275 C/C++ Problem
undefined identifier 'char_ptr' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 272 C/C++ Problem
the parameter 'QUEUE_STRUCT_PTR' has not been declared queue.h /psp_twrk60d100m/PSP Generic/include line 125 C/C++ Problem
the file 'psptypes.h' cannot be opened mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 91 C/C++ Problem
the file 'psp_supp.h' cannot be opened mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 100 C/C++ Problem
the file 'psp_comp.h' cannot be opened mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 99 C/C++ Problem
undefined identifier 'uint_32' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 157 C/C++ Problem
undefined identifier 'uint_16' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 156 C/C++ Problem
undefined identifier 'pointer' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 590 C/C++ Problem
the file 'x86/stdarg.win32.h' cannot be opened (included from: E:\K60\CW_for_MCU\tools\CW MCU v10.5\MCU\ARM_EABI_Support\ewl\EWL_C\include\stdarg.h:17 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:42 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) hello_twrk60d100m line 24, external location: E:\K60\CW_for_MCU\tools\CW MCU v10.5\MCU\ARM_EABI_Support\ewl\EWL_C\include\cstdarg C/C++ Problem
undefined identifier 'TASK_FPTR' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 985 C/C++ Problem
unexpected end of file hello_twrk60d100m C/C++ Problem
undefined identifier '_mqx_uint' fio.h /psp_twrk60n512/PSP Generic/include line 142 C/C++ Problem
undefined identifier '_file_size' fio.h /psp_twrk60n512/PSP Generic/include line 145 C/C++ Problem
undefined identifier '_file_size' fio.h /psp_twrk60n512/PSP Generic/include line 148 C/C++ Problem
undefined identifier 'uint_32' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 900 C/C++ Problem
undefined identifier 'boolean' fio.h /psp_twrk60n512/PSP Generic/include line 151 C/C++ Problem
undefined identifier 'IO_WRITE_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 284 C/C++ Problem
undefined identifier 'IO_IOCTL_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 287 C/C++ Problem
undefined identifier 'uint_32' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1015 C/C++ Problem
undefined identifier 'IO_UNINSTALL_FPTR' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 290 C/C++ Problem
undefined identifier 'pointer' fio.h /psp_twrk60n512/PSP Generic/include line 136 C/C++ Problem
undefined identifier 'pointer' (included from: E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\include\fio.h:260 E:\K60\code_GA\Freescale_MQX_4_0\mqx\source\bsp\twrk60d100m\bsp.h:49 E:\K60\code_GA\Freescale_MQX_4_0\mqx\examples\hello\hello.c:36) io.h /psp_twrk60d100m/PSP Generic/include line 293 C/C++ Problem
undefined identifier '_mqx_uint' fio.h /psp_twrk60n512/PSP Generic/include line 139 C/C++ Problem
undefined identifier '_mem_size' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 988 C/C++ Problem
undefined identifier 'TASK_TEMPLATE_STRUCT_PTR' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1076 C/C++ Problem
undefined identifier 'pointer' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1062 C/C++ Problem
undefined identifier 'pointer' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1054 C/C++ Problem
undefined identifier 'pointer' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 1108 C/C++ Problem
undefined identifier '_mqx_uint' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 782 C/C++ Problem
undefined identifier 'uint_32' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 780 C/C++ Problem
undefined identifier 'uint_32' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 826 C/C++ Problem
undefined identifier 'MQX_FILE' fio.h /psp_twrk60n512/PSP Generic/include line 155 C/C++ Problem
undefined identifier 'MQX_INT_SIZE_IN_BITS' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 893 C/C++ Problem
undefined identifier '_mqx_int' fio.h /psp_twrk60n512/PSP Generic/include line 153 C/C++ Problem
undefined identifier 'uint_32' mqx.h /bsp_twrk60n512/twrk60n512 BSP Files line 829 C/C++ Problem
undefined identifier 'MQX_FILE_PTR' fio.h /psp_twrk60n512/PSP Generic/include line 161 C/C++ Problem |
|