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.

Compiler/TM4C1294NCPDT: unable compile my project

Part Number: TM4C1294NCPDT


Tool/software: TI C/C++ Compiler

hi everyone,

I faced problem to compile my project.(

>> Compilation failure
third_party/lwip-1.4.1/ports/tiva-tm4c129/netif/subdir_rules.mk:9: recipe for target 'third_party/lwip-1.4.1/ports/tiva-tm4c129/netif/tiva-tm4c129.obj' failed
"X:/Projects/TMHC/CCS/TMHC_ser/netif/tivaif.h", line 50: error #20: identifier "uint32_t" is undefined
1 error detected in the compilation of "../third_party/lwip-1.4.1/ports/tiva-tm4c129/netif/tiva-tm4c129.c".
gmake: *** [third_party/lwip-1.4.1/ports/tiva-tm4c129/netif/tiva-tm4c129.obj] Error 1
gmake: Target 'all' not remade because of errors.

I designed my project indepandent from "C:\ti\TivaWare_C_Series-2.1.3.156", and copy all nesesary   xxx.h,  xxx.c file.

The purpose of this is to edit "xxx.c" file in "C:\ti\TivaWare_C_Series-2.1.3.156\third_party\lwip-1.4.1"

so I copied all file related this my project folder.

this problem did not occur when I setting related file( xxx.h, xxx.c) just link location to my project folder(sure, I configured regist Lined Resources and include path),

but I setting related file copy in my project folder, the problem occur...

My project properties config belows..

Anyone knows how to solve this compile error? 

Thanks.

  • Hi Karls,
    Can you try update the include path for the lwip stuffs like below and see if resolves the compilation issue:

    "${PROJECT_LOC}/../../third_party/lwip-1.4.1/ports/hdk/include"
    "${PROJECT_LOC}/../../third_party/lwip-1.4.1"
    "${PROJECT_LOC}/../../third_party/lwip-1.4.1/apps"
    "${PROJECT_LOC}/../../third_party/lwip-1.4.1/src/include"
    "${PROJECT_LOC}/../../third_party/lwip-1.4.1/src"
    "${PROJECT_LOC}/../../third_party/lwip-1.4.1/src/include/ipv4"