I try to do unit test of capi_v2_gain example,
after run the command "make tree VERBOSE=1"
it shows "System cannot find the path specified"
the log is as below
I try to do unit test of capi_v2_gain example,
after run the command "make tree VERBOSE=1"
it shows "System cannot find the path specified"
the log is as below
Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.
Did you set HEXAGON_TOOLS_ROOT variable in the command prompt that you are building ?
if so to which value you set ?
echo %HEXAGON_TOOLS_ROOT%
Hi Chenna,
default HEXAGON_TOOLS_ROOT=C:\Qualcomm\Hexagon_SDK\3.3.2
but my hexagon tool is at the path "C:\Qualcomm\Hexagon_SDK\3.3.2\tools\HEXAGON_Tools\8.1.05"
I can do unit test now.
thanks,
William
Hi Chenna,
Can You Please share the procedure for Unit test of capi_v2_gain.
Thanks a lot
Vijay T
Hi Chenna,william2_wu,
I am new to this Concepts.
Can any one of you please share the procedure.
while building I am facing the below errors
09:29:23 **** Incremental Build of configuration LLVM_Debug for project test_capi_v2_gain ****
Info: Internal Builder is used for build
hexagon-clang++ src/test_utils.o src/test_profile_sim.o src/test_profile.o src/test_main.o src/test_capi_v2.o src/capi_v2_utils_props.o src/capi_v2_test.o src/capi_v2_gain_test.o src/cae.o src/atomic.o ../../capi_v2_gain/LLVM_Static-Debug/capi_v2_gain.lib ../../../../../../libs/common/rtld/ship/hexagon_Debug_dynamic_toolv72_v60/rtld.a ../../../../../../libs/common/a1std/ship/hexagon_Debug_dynamic_toolv72_v60/a1std.a ../../../../../../libs/audio/voice_imc_utils/ship/hexagon_Debug_dynamic_toolv72_v60/voice_imc_utils.a -lgcc -lstdc++ -mv60 -Wl,--start-group -Wl,--whole-archive /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/target/hexagon/lib/v60/G0/libhexagon.a -Wl,--no-whole-archive -Wl,--end-group -Wl,--dynamic-linker= -Wl,-E -Wl,--force-dynamic -otest_capi_v2_gain
Error: ../../../../../../libs/audio/voice_imc_utils/ship/hexagon_Debug_dynamic_toolv72_v60/voice_imc_utils.a(.text._ZNSs6assignERKSsjj+0x58): undefined reference to `std::_String_base::_Xran() const'
Error: ../../../../../../libs/audio/voice_imc_utils/ship/hexagon_Debug_dynamic_toolv72_v60/voice_imc_utils.a(.text._ZNSs5eraseEjj+0x4c): undefined reference to `std::_String_base::_Xran() const'
Error: ../../../../../../libs/audio/voice_imc_utils/ship/hexagon_Debug_dynamic_toolv72_v60/voice_imc_utils.a(.text._ZNSs5_GrowEjb+0x58): undefined reference to `std::_String_base::_Xlen() const'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x8): undefined reference to `pthread_once'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x20): undefined reference to `pthread_getspecific'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x48): undefined reference to `pthread_setspecific'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x88): undefined reference to `pthread_once'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xac): undefined reference to `pthread_getspecific'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xbc): undefined reference to `pthread_key_create'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xe8): undefined reference to `pthread_setspecific'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x28): undefined reference to `pthread_mutex_lock'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0xf8): undefined reference to `pthread_mutex_unlock'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x180): undefined reference to `pthread_mutex_lock'
Error: /home/user/Qualcomm/Hexagon_SDK/3.4.3/tools/HEXAGON_Tools/8.3.02/Tools/bin/../target/hexagon/lib/v60/libc++abi.a(.text+0x23c): undefined reference to `pthread_mutex_unlock'
Fatal: Linking had errors.
hexagon-clang++: error: hexagon-link command failed with exit code 1 (use -v to see invocation)
Thanks a lot
Vijay