how to download older SDK Version

The DDK version and SDK version are different, so the same error as the link appears.

Can’t I download the 6.3.3.4 version of sdk to solve this error?

MY DDK Version : 6.3.3.4

MY SDK Version : 6.4.2.1

@kwonSangKyun

Do you mean you kernel driver version is 6.4.2.1, you convert tools version is 6.3.3.4 ?

I don’t understand what your DDK and SDK refer to …

Our reelase SDK package, which includes DDK …

sdk is aml_npu_sdk 6.4.2.1
ddk is /aml_npu_app/DDK_6.3.3.4/detect_library/

While building the .so file, the following error occurs as in the top link below.

/home/codelogist/Downloads/Persepolis/Compressed/aml_npu_sdk_6.4.2.1/linux_sdk/linux_sdk/common.target:85: warning: overriding recipe for target ‘bin_r/libnn_yolo_v3.so’
/home/codelogist/Downloads/Persepolis/Compressed/aml_npu_sdk_6.4.2.1/linux_sdk/linux_sdk/common.target:64: warning: ignoring old recipe for target ‘bin_r/libnn_yolo_v3.so’
COMPILE /home/codelogist/Downloads/Persepolis/Compressed/aml_npu_app/DDK_6.3.3.4/detect_library/model_code/detect_yolo_v3/vnn_yolov3.c
In file included from vnn_yolov3.c:16:0:
./include/vnn_yolov3.h:19:0: warning: “VNN_VERSION_MINOR” redefined
#define VNN_VERSION_MINOR 1

In file included from vnn_yolov3.c:15:0:
./include/vnn_global.h:32:0: note: this is the location of the previous definition
#define VNN_VERSION_MINOR 0

In file included from vnn_yolov3.c:16:0:
./include/vnn_yolov3.h:20:0: warning: “VNN_VERSION_PATCH” redefined
#define VNN_VERSION_PATCH 21

In file included from vnn_yolov3.c:15:0:
./include/vnn_global.h:33:0: note: this is the location of the previous definition
#define VNN_VERSION_PATCH 10

In file included from vnn_yolov3.c:16:0:
./include/vnn_yolov3.h:37:11: error: unknown type name ‘vsi_nn_preprocess_map_element_t’
const vsi_nn_preprocess_map_element_t * pre_process_map,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/vnn_yolov3.h:39:11: error: unknown type name ‘vsi_nn_postprocess_map_element_t’
const vsi_nn_postprocess_map_element_t * post_process_map,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vnn_yolov3.c:130:11: error: unknown type name ‘vsi_nn_preprocess_map_element_t’
const vsi_nn_preprocess_map_element_t * pre_process_map,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vnn_yolov3.c:132:11: error: unknown type name ‘vsi_nn_postprocess_map_element_t’
const vsi_nn_postprocess_map_element_t * post_process_map,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vnn_yolov3.c: In function ‘vnn_CreateYolov3’:
vnn_yolov3.c:288:77: error: request for member ‘graph_input_idx’ in something not a structure or union
status = vsi_nn_AddGraphPreProcess(graph, pre_process_map[i].graph_input_idx,
^
vnn_yolov3.c:289:70: error: request for member ‘preprocesses’ in something not a structure or union
pre_process_map[i].preprocesses,
^
vnn_yolov3.c:290:70: error: request for member ‘preprocess_count’ in something not a structure or union
pre_process_map[i].preprocess_count);
^
vnn_yolov3.c:299:80: error: request for member ‘graph_output_idx’ in something not a structure or union
status = vsi_nn_AddGraphPostProcess(graph, post_process_map[i].graph_output_idx,
^
vnn_yolov3.c:300:73: error: request for member ‘postprocesses’ in something not a structure or union
post_process_map[i].postprocesses,
^
vnn_yolov3.c:301:73: error: request for member ‘postprocess_count’ in something not a structure or union
post_process_map[i].postprocess_count);
^
vnn_yolov3.c:145:29: warning: unused variable ‘data’ [-Wunused-variable]
uint8_t * data;
^~~~
At top level:
vnn_yolov3.c:94:17: warning: ‘load_data’ defined but not used [-Wunused-function]
static uint8_t* load_data
^~~~~~~~~
make: *** [/home/codelogist/Downloads/Persepolis/Compressed/aml_npu_sdk_6.4.2.1/linux_sdk/linux_sdk/common.target:101: bin_r/vnn_yolov3.o] Error 1\

@kwonSangKyun This is bug. I have slove it in new SDK. It will release this week . Can you wait for new SDK ?

1 Like

ok
Thanks for your answer.