So I’ve to replace restrict by restrict at line 76 in tiadalg_select_top_feature.h as a temporary solution.
    #ifdef
    cplusplus
    #define restrict __restrict
    extern “C” {
    #endif

    链接