Linux tool vfctrl_usb build error, no xscope_endpoint.so
Posted: Wed Jun 17, 2020 1:03 pm
Hi Team,
We have a customer designing an array microphone for conference.
The CPU platform runs Android, and uses a USB cable to connect to the XVF3000 array-mic board.
Customer needs to read the DOA angle frequently, to get the direction of the speaker, so they can switch the camera to the right person in a remote video conference.
We've tried vfctrl_usb.exe tool in Windows, and use DOAANGLE parameter, customer can read the DOA angle without issue.
Now we need to build a tool in Android to do this job. And to build a Linux tool in /sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control seems a good starting point.
However, we encountered some errors, saying that no xscope_endpoint.so found.
Please advise if there's a file missing or we can modify the makefile to work this out.
Thanks.
Error messages as follows:
/work/sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control$ make Makefile.Linux64 all
make: 'Makefile.Linux64' is up to date.
make -f Makefile.Linux64 all
make[1]: Entering directory '/home/dell/work/sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control'
mkdir -p bin
cd src ; gcc -std=c99 -D_GNU_SOURCE -Wall -g -D HOST_APP -o ../bin/vfctrl_xscope \
-DUSE_XSCOPE=1 \
../../../../../lib_device_control/lib_device_control/host/device_access_xscope.c \
-DBECLEAR_HOST=1 -I ../../../../../lib_device_control/lib_device_control/api -I ../../../../../lib_device_control/lib_device_control/src -I ../../../../../lib_device_control/lib_device_control/host -I ../../../../../sw_vocalfusion/module_vocalfusion/include -I ../../../../lib_xbeclear/inc/xmos -I ../../../../lib_xbeclear/api -I /opt/local/include ../../../../../lib_device_control/lib_device_control/host/util.c host.c -lm -lpthread -lreadline \
-I /include \
/lib/xscope_endpoint.so
gcc: error: /lib/xscope_endpoint.so: No such file or directory.
Makefile.Linux64:45: recipe for target 'vfctrl_xscope' failed
make[1]: *** [vfctrl_xscope] Error 1
make[1]: Leaving directory '/home/dell/work/sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control'
Makefile:30: recipe for target 'all' failed
make: *** [all] Error 2
We have a customer designing an array microphone for conference.
The CPU platform runs Android, and uses a USB cable to connect to the XVF3000 array-mic board.
Customer needs to read the DOA angle frequently, to get the direction of the speaker, so they can switch the camera to the right person in a remote video conference.
We've tried vfctrl_usb.exe tool in Windows, and use DOAANGLE parameter, customer can read the DOA angle without issue.
Now we need to build a tool in Android to do this job. And to build a Linux tool in /sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control seems a good starting point.
However, we encountered some errors, saying that no xscope_endpoint.so found.
Please advise if there's a file missing or we can modify the makefile to work this out.
Thanks.
Error messages as follows:
/work/sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control$ make Makefile.Linux64 all
make: 'Makefile.Linux64' is up to date.
make -f Makefile.Linux64 all
make[1]: Entering directory '/home/dell/work/sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control'
mkdir -p bin
cd src ; gcc -std=c99 -D_GNU_SOURCE -Wall -g -D HOST_APP -o ../bin/vfctrl_xscope \
-DUSE_XSCOPE=1 \
../../../../../lib_device_control/lib_device_control/host/device_access_xscope.c \
-DBECLEAR_HOST=1 -I ../../../../../lib_device_control/lib_device_control/api -I ../../../../../lib_device_control/lib_device_control/src -I ../../../../../lib_device_control/lib_device_control/host -I ../../../../../sw_vocalfusion/module_vocalfusion/include -I ../../../../lib_xbeclear/inc/xmos -I ../../../../lib_xbeclear/api -I /opt/local/include ../../../../../lib_device_control/lib_device_control/host/util.c host.c -lm -lpthread -lreadline \
-I /include \
/lib/xscope_endpoint.so
gcc: error: /lib/xscope_endpoint.so: No such file or directory.
Makefile.Linux64:45: recipe for target 'vfctrl_xscope' failed
make[1]: *** [vfctrl_xscope] Error 1
make[1]: Leaving directory '/home/dell/work/sw_vocalfusion-[sw]_1.1.2rc5/lib_xbeclear/lib_xbeclear/host/control'
Makefile:30: recipe for target 'all' failed
make: *** [all] Error 2