Including .h files in build

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
BaGo_4138971
Level 3
Level 3

Hi,

I'm new to WICED sdk.  I tried to update my SDK from 3.6 to 6.2. I have installed the 6.2 IDE. imported my 3.6 code.

I tried to build the code and i'm getting below error message. Please any one help me to understand and resolve this  problem.

I know  it is showing "pers_dct.h" is not included. but it present in the code.

May i know is there any update is needed in make file? and which mk file I need to update.

13:40:17 **** Build of configuration Default for project 43xxx_Wi-Fi ****

"C:\\Projects\\MHB3.0\\CodeDoc\\OTA\\FOTA2.0branch_unchanged\\WICED\\43xxx_Wi-Fi\\make.exe" snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug ota2_download

MAKEFILE MAKECMDGOALS=snip.pers-BCM943909WCD1_3.B1-ThreadX-NetX_Duo-debug ota2_download OTA2_SUPPORT is enabled

Updating ota2 bootloader version...

Updating application version...

Building Bootloader waf.ota2_bootloader-NoOS-NoNS-BCM943909WCD1_3.B1-SoC.43909

Building Serial Flash Loader App

Finished Building Serial Flash Loader App

apps/waf/ota2_bootloader/./ota2_bootloader.c:59:22: fatal error: pers_dct.h: No such file or directory

#include "pers_dct.h"

                      ^

compilation terminated.

make.exe[3]: *** [build/waf.ota2_bootloader-NoOS-NoNS-BCM943909WCD1_3.B1-SoC.43909/Modules/apps/waf/ota2_bootloader/./ota2_bootloader.o] Error 1

make.exe[3]: *** Waiting for unfinished jobs....

make.exe[2]: *** [main_app] Error 2

make.exe[1]: *** [bootloader] Error 2

WICED/platform/MCU/BCM4390x/BCM94390x_targets.mk:256: recipe for target 'bootloader' failed

Makefile:354: recipe for target 'main_app' failed

make: *** [main_app] Error 2

Thanks and regards,

Basava

0 Likes
1 Solution
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

if your .h file has no more correlations with other headers, please copy it into 43xx_Wi-Fi/include/  directly .

View solution in original post

1 Reply
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

if your .h file has no more correlations with other headers, please copy it into 43xx_Wi-Fi/include/  directly .