Closed kuyu132 closed 2 weeks ago
Sounds like someone is forgetting to include the right config headers...
this should have already be fixed in master branch via https://github.com/project-chip/connectedhomeip/pull/32704/commits/bbe758b3a2e4af14b13223cc554f5bdf415f9289
I am closing this one, feel free to reopen if the issue is still outstanding, thanks
In the v1.3.0.0 branch, an error occurs when compiling Android products. The problem seems to be the definition of the macro writing problem
../../src/controller/java/AndroidDeviceControllerWrapper.h:49:5: error: 'CHIP_DEVICE_CONFIG_DYNAMIC_SERVER' is not defined, evaluates to 0 [-Werror,-Wundef]
if CHIP_DEVICE_CONFIG_DYNAMIC_SERVER
../../src/controller/java/AndroidDeviceControllerWrapper.h:264:5: error: 'CHIP_DEVICE_CONFIG_DYNAMIC_SERVER' is not defined, evaluates to 0 [-Werror,-Wundef]
if CHIP_DEVICE_CONFIG_DYNAMIC_SERVER
../../src/controller/java/AndroidDeviceControllerWrapper.cpp:647:5: error: 'CHIP_DEVICE_CONFIG_DYNAMIC_SERVER' is not defined, evaluates to 0 [-Werror,-Wundef]
if CHIP_DEVICE_CONFIG_DYNAMIC_SERVER
../../src/controller/java/AndroidDeviceControllerWrapper.cpp:677:5: error: 'CHIP_DEVICE_CONFIG_DYNAMIC_SERVER' is not defined, evaluates to 0 [-Werror,-Wundef]
if CHIP_DEVICE_CONFIG_DYNAMIC_SERVER
4 errors generated.