Forums - Compile CAPIv2 Module (System cannot find the path specified)

5 posts / 0 new
Last post
Compile CAPIv2 Module (System cannot find the path specified)
william2_wu
Join Date: 28 Dec 17
Posts: 22
Posted: Sat, 2018-01-06 21:01

 

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

 

Microsoft Windows [版本 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
 
C:\Qualcomm\Hexagon_SDK\3.3.2>setup_sdk_env.cmd
Setting up the Hexagon SDK environment locally...
 
Checking if all the SDK dependencies are available...
 
Setup Done
 
C:\Qualcomm\Hexagon_SDK\3.3.2>cd examples\audio
 
C:\Qualcomm\Hexagon_SDK\3.3.2\examples\audio>cd capi_v2_gain
 
C:\Qualcomm\Hexagon_SDK\3.3.2\examples\audio\capi_v2_gain>make tree VERBOSE=1
making C:\Qualcomm\Hexagon_SDK\3.3.2/libs/common/atomic
make[1]: Entering directory `C:/Qualcomm/Hexagon_SDK/3.3.2/libs/common/atomic'
"C:/Qualcomm/Hexagon_SDK/3.3.2/Tools/bin/hexagon-clang"   -mv60 -c -v -G0 -g -O0
  -Wall -Werror -Wno-cast-align -Wpointer-arith -Wno-missing-braces -Wno-strict-
aliasing  -fno-exceptions -fno-strict-aliasing -fno-zero-initialized-in-bss -fda
ta-sections -fpic -D__V_DYNAMIC__ -Wstrict-prototypes -Wnested-externs
 -D__FILENAME__=\"atomic.c\" -D_DEBUG  -Iinc -IC:\Qualcomm\Hexagon_SDK\3.3.2/inc
s/stddef -Ihexagon_Debug_dynamic_toolv81_v60  -o hexagon_Debug_dynamic_toolv81_v
60/atomic.o src/atomic.c
系統找不到指定的路徑。
make[1]: *** [hexagon_Debug_dynamic_toolv81_v60/atomic.o] Error 1
make[1]: Leaving directory `C:/Qualcomm/Hexagon_SDK/3.3.2/libs/common/atomic'
make: *** [MAKE_D_8_LIBDIR] Error 2
 
thanks,
William
 
  • Up0
  • Down0
chennak
Join Date: 22 Sep 16
Posts: 78
Posted: Mon, 2018-01-08 04:06

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%

  • Up0
  • Down0
william2_wu
Join Date: 28 Dec 17
Posts: 22
Posted: Mon, 2018-01-08 06:51

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

  • Up0
  • Down0
vkreddya9
Join Date: 22 May 19
Posts: 3
Posted: Wed, 2019-08-21 20:58

Hi Chenna,

Can You Please share the procedure for Unit test of capi_v2_gain.

Thanks a lot

Vijay T

  • Up0
  • Down0
vkreddya9
Join Date: 22 May 19
Posts: 3
Posted: Wed, 2019-08-21 21:03

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
 

  • Up0
  • Down0
or Register

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.