Hello everyone, when I try to make Sample Plugin, the error is generated. Why? 
Can anyone tell me how to fix? Thanks.
the make process is as follow:

wangpeng@wangpeng:~/Desktop/vpp/src/examples/sample-plugin$ sudo cmake .
[sudo] password for wangpeng: 
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test compiler_flag_no_address_of_packed_member
-- Performing Test compiler_flag_no_address_of_packed_member - Success
-- Performing Test compiler_flag_march_haswell
-- Performing Test compiler_flag_march_haswell - Success
-- Performing Test compiler_flag_mprefer_vector_width
-- Performing Test compiler_flag_mprefer_vector_width - Success
-- Performing Test compiler_flag_march_skylake_avx512
-- Performing Test compiler_flag_march_skylake_avx512 - Success
-- Performing Test compiler_flag_march_icelake_client
-- Performing Test compiler_flag_march_icelake_client - Success
-- Configuring done
-- Generating done
-- Build files have been written to: 
/home/wangpeng/Desktop/vpp/src/examples/sample-plugin
wangpeng@wangpeng:~/Desktop/vpp/src/examples/sample-plugin$ sudo make
Scanning dependencies of target sample_plugin_icl
[  6%] Building C object sample/CMakeFiles/sample_plugin_icl.dir/node.c.o
[  6%] Built target sample_plugin_icl
Scanning dependencies of target sample_plugin_api_headers
[ 12%] Generating API header 
/home/wangpeng/Desktop/vpp/src/examples/sample-plugin/sample/sample.api.h
[ 18%] Generating API header 
/home/wangpeng/Desktop/vpp/src/examples/sample-plugin/sample/sample.api.json
[ 25%] Generating VAPI C header 
/home/wangpeng/Desktop/vpp/src/examples/sample-plugin/vpp-api/vapi/sample.api.vapi.h
/bin/sh: 1: cd: can't cd to 
/home/wangpeng/Desktop/vpp/src/examples/sample-plugin/vpp-api/vapi
make[2]: *** [sample/CMakeFiles/sample_plugin_api_headers.dir/build.make:76: 
vpp-api/vapi/sample.api.vapi.h] Error 2
make[1]: *** [CMakeFiles/Makefile2:131: 
sample/CMakeFiles/sample_plugin_api_headers.dir/all] Error 2
make: *** [Makefile:152: all] Error 2






 






 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#17292): https://lists.fd.io/g/vpp-dev/message/17292
Mute This Topic: https://lists.fd.io/mt/76447742/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to