This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/RM57L843: LwIP demo example build issues

Part Number: RM57L843


Tool/software: Code Composer Studio

Hello,

I want to use LwIP application in a project for that i'm trying to build given LwIP demo example project. But im getting error after each step.

I'm getting an error " cannot open source file "src/include/lwip/opt.h" " even if i have added the path in include options.

Please let me know how can i use this demo example without any further setbacks.

Bellow is the snapshot of directory structure and include options and build message file.

**** Build of configuration Debug for project Build-RM57x ****

"C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" all 
 
Building file: "D:/Shantanu/hercules/v00.03.00/example/hdk/src/lwip_main.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv7R5 --code_state=32 --float_support=VFPv3D16 -me --include_path="D:/Shantanu/hercules/v00.03.00/RM57x/Build-RM57x" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --include_path="D:/Shantanu/hercules/v00.03.00/RM57x/HALCoGen-RM57x/include" --include_path="D:/Shantanu/hercules/v00.03.00/example/hdk/inc" --include_path="D:/Shantanu/hercules/v00.03.00/lwip-1.4.1/ports/hdk/include" --include_path="D:/Shantanu/hercules/v00.03.00/lwip-1.4.1/src/include" --include_path="D:/Shantanu/hercules/v00.03.00/lwip-1.4.1/src/include/lwip" --enum_type=packed --abi=eabi --preproc_with_compile --preproc_dependency="example/hdk/src/lwip_main.d_raw" --obj_directory="example/hdk/src"  "D:/Shantanu/hercules/v00.03.00/example/hdk/src/lwip_main.c"
 
>> Compilation failure
example/hdk/src/subdir_rules.mk:9: recipe for target 'example/hdk/src/lwip_main.obj' failed
"D:/Shantanu/hercules/v00.03.00/lwip-1.4.1/ports/hdk/include/lwiplib.h", line 44: fatal error: cannot open source file "src/include/lwip/opt.h"
1 catastrophic error detected in the compilation of "D:/Shantanu/hercules/v00.03.00/example/hdk/src/lwip_main.c".
Compilation terminated.
gmake: *** [example/hdk/src/lwip_main.obj] Error 1

**** Build Finished ****

  • Hello,

    Shantanu Salunkhe said:
    I'm getting an error " cannot open source file "src/include/lwip/opt.h" " even if i have added the path in include options.

    Also add the below path to the list:

    ${workspace_loc:/$(ProjName)/lwip-1.4.1}

    Thanks

    ki