Tencent / Tencent/ncnn

Build for ARM Cortex-A family 导出库调用时报错

Open
#3,906 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
23.8k
Forks
4.5k
Avg merge
2d 20h
Merged PRs (30d)
37

Description

error log | 日志或报错信息 | ログ

image

context | 编译/运行环境 | バックグラウンド

开发平台:ubuntu18.04
目标平台:高通730g
编译指令:cmake -DNCNN_PLATFORM_API=OFF -DANDROID_ARM_NEON=ON -DCMAKE_TOOLCHAIN_FILE=../toolchains/aarch64-linux-gnu.toolchain.cmake ..

how to reproduce | 复现步骤 | 再現方法

1.执行上述编译指令
2.在高通730g 调用编译出的文件,执行相关推理

more | 其他 | その他

1.我的目的是在高通730g平台上使用ncnn库进行加速推理,但是不想ncnn库依赖android系统相关so,如:libandroid.so,因为我想把算法集成进相机服务中,即在系统层面集成。
2.不知道上面的编译指令是否正确,如果不正确应该是哪个指令?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported CMake command and toolchains/aarch64-linux-gnu.toolchain.cmake, then reproduce the inference call on the Qualcomm 730g target and inspect the error shown in the attached log. Done means determining whether the command is valid and identifying a build configuration that avoids the unwanted Android library dependency, if supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, cmake, cpp
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.