Compile error: 'VSI_NN_OP_NBG' undeclared (first use in this function)

vnn_mymode.c: In function ‘vnn_CreateMyMode’:
vnn_mymode.c:181:5: warning: implicit declaration of function ‘vsi_nn_SetGraphVersion’ [-Wimplicit-function-declaration]
vsi_nn_SetGraphVersion( graph, VNN_VERSION_MAJOR, VNN_VERSION_MINOR, VNN_VERSION_PATCH );
^~~~~~~~~~~~~~~~~~~~~~
vnn_mymode.c:202:25: error: ‘VSI_NN_OP_NBG’ undeclared (first use in this function)
NEW_VXNODE(node[0], VSI_NN_OP_NBG, 1, 1, 0);

I have soved the problem by using the build_vx.sh and makefile.linux of DDK_6.4.0.3.Thanks for Khadas!

1 Like

Hello Sir, can you please share the sample steps you have used to run the build_vx.sh script to compile the files. That will be of huge help. Thanks a ton.