【问题标题】:Error building on Open Q 820 Snapdragon 820 Hexagon 3.2 when trying to compile and link the stub and skeleton尝试编译和链接存根和骨架时,在 Open Q 820 Snapdragon 820 Hexagon 3.2 上构建时出错
【发布时间】:2017-06-01 02:18:42
【问题描述】:

我正在尝试按照file:///C:/Qualcomm/Hexagon_SDK/3.2/docs/calculator_android.html 中的说明运行 Hexagon DSP SDK 的计算器示例

在命令行中,我通过以下方式设置了 sdk:

setup_sdk_env.cmd

我已经成功清理并构建了android模块

make tree V=android_Debug [CDSP_FLAG = 1]

但我在尝试为六边形模块执行此操作时出错。

make tree V=hexagon_Debug_dynamic [CDSP_FLAG = 1]

这是我得到的:

C:\Qualcomm\Hexagon_SDK\3.2\examples\common\calculator>make tree V=hexagon_Debug_dynamic CDSP=1
making C:\Qualcomm\Hexagon_SDK\3.2/test/common/test_util
El sistema no puede encontrar la ruta especificada.
make[1]: *** [hexagon_Debug_dynamic/test_utils.o] Error 1
ERROR making C:\Qualcomm\Hexagon_SDK\3.2/test/common/test_util
make[1]: Entering directory `C:/Qualcomm/Hexagon_SDK/3.2/test/common/test_util'
"C:/Qualcomm/Hexagon_SDK/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 -fdata-sections -mllvm -disable-hsdr -fpic -D__V_DYNAMIC__ -Wstrict-prototypes -Wnested-externs      -D__FILENAME__=\"test_utils.c\" -D_DEBUG  -Iinc -Isrc -IC:\Qualcomm\Hexagon_SDK\3.2/incs -IC:\Qualcomm\Hexagon_SDK\3.2/incs/stddef -Ihexagon_Debug_dynamic  -o hexagon_Debug_dynamic/test_utils.o src/test_utils.c
make[1]: Leaving directory `C:/Qualcomm/Hexagon_SDK/3.2/test/common/test_util'
make: *** [MAKE_D_7_LIBDIR] Error 1

请注意,我的电脑是西班牙语,“El sistema no puede encontrar la ruta especificada”。表示系统找不到指定的路径。

【问题讨论】:

  • 找不到哪个路径?是来自make 还是其他错误?

标签: hexagon-dsp


【解决方案1】:

当您制作计算器并指定“树”时,还会构建计算器的依赖项。其中之一是 test_utils。

可能是很多东西

  • 缺少工具(编译器)
  • test_utils 丢失
  • 别的...

下一步是从 test_util 目录运行 make output 中列出的命令,以获取有关缺少的内容的更多信息。 (C:\Qualcomm\Hexagon_SDK\3.2/test/common/test_util)

"C:/Qualcomm/Hexagon_SDK/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 -fdata-sections -mllvm -disable-hsdr -fpic -D__V_DYNAMIC__ -Wstrict-prototypes -Wnested-externs      -D__FILENAME__=\"test_utils.c\" -D_DEBUG  -Iinc -Isrc -IC:\Qualcomm\Hexagon_SDK\3.2/incs -IC:\Qualcomm\Hexagon_SDK\3.2/incs/stddef -Ihexagon_Debug_dynamic  -o hexagon_Debug_dynamic/test_utils.o src/test_utils.c
  • 检查 clang 是否存在
  • 检查 test_utils 目录及其下的所需文件是否存在

【讨论】:

    猜你喜欢
    • 2017-11-17
    • 2017-08-15
    • 2018-06-10
    • 2016-10-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多