Hello,
When attempting to build MQX 4.1 for the Vybrid when getting the following error:
Description | Resource | Path | Location | Type |
A3900U: Unrecognized option '-DMQX_DISABLE_CONFIG_CHECK=1'. | psp_twrvf65gs10_a5 | C/C++ Problem |
I have attempted to remove the option from Project Options > C/C++ Build > Settings > Tool Settings, but it did not seem to help.
It seems this only occurs with the PSP, all other packages compile nicely. The problem persists however with both Debug and Release builds, stating that the same option DMQX_DISABLE_CONFIG_CHECK, not MQX_DISABLE_CONFIG_CHECK) is the issue.
Currently I am using the DS-5 integrated ARM Compiler.
Any ideas?
已解决! 转到解答。
Change PSP>project properties>C/C++ build> settings>Arm Assembler>preproccessor options (--cpreproc_opts)
to
"-DPSP_HAS_SUPPORT_STRUCT=1","-D_DEBUG=1"
and PSP will compile.
Also, I had to remove the -DMQX_DISABLE_CONFIG_CHECK=1 option for the PSP to build.
Change PSP>project properties>C/C++ build> settings>Arm Assembler>preproccessor options (--cpreproc_opts)
to
"-DPSP_HAS_SUPPORT_STRUCT=1","-D_DEBUG=1"
and PSP will compile.
Also, I had to remove the -DMQX_DISABLE_CONFIG_CHECK=1 option for the PSP to build.