Unable to build qfe library
Join Date: 15 Mar 22
Posts: 2
Posted: Tue, 2022-05-24 00:45
Hello,
I'm trying to build the qfe library and associated test file in Hexagon SDK.
Hexagon SDK version : 4.5.0.3.
I have followed below steps mentioned in README.MD file in library,. However facing issues related to inclusion of some header files.
1. $ <HEXAGON_SDK_ROOT>source setup_sdk_env.source
2.$ cd <HEXAGON_SDK_ROOT>/libs/qfe
3.$ make all
==========================================================================================================
Error:
~/Qualcomm/Hexagon_SDK/4.5.0.3/libs/qfe $ make all
dirname: missing operand
Try 'dirname --help' for more information.
mkdir -p ./bin/
gcc -o bin/qhmath_hvx_exp_af.o /home/user/Qualcomm/Hexagon_SDK/4.5.0.3/libs/qhl_hvx/src/qhmath_hvx//qhmath_hvx_exp_af.c -I./inc/ -I/../libnative/include -Wall -Wno-unused-function -c -g -D__HVX_ARCH__=68 -D__HVXDBL__=1 -L/../libnative/lib -lnative -lm
In file included from ./inc/qhmath_hvx.h:21:0,
from /home/user/Qualcomm/Hexagon_SDK/4.5.0.3/libs/qhl_hvx/src/qhmath_hvx//qhmath_hvx_exp_af.c:24:
./inc/qfe.h:13:10: fatal error: hexagon_protos.h: No such file or directory
#include <hexagon_protos.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:76: recipe for target 'bin/qhmath_hvx_exp_af.o' failed
make: *** [bin/qhmath_hvx_exp_af.o] Error 1
==========================================================================================================
Requesting to provide resolution or any additional steps required.
Thank you