PaddlePaddle / PaddlePaddle/FastDeploy

在Ubuntu上交叉编译Rknpu2的FastDeploy库无法使用

Open
#2,222 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

在自己的CmakeLists.txt文件中的target_link_libraries下
使用在Ubuntu上交叉编译好的FastDeploy/build/fastdeploy-0.0.0/lib/libfastdeploy.so.0.0.0库
遇到如下问题:

image

小白开发恭请大佬们看看这个是怎么回事!
谢谢啦

Contributor guide

No contributing guide indexed for this repository

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 target_link_libraries entry in the reported CMakeLists.txt and reproduce the cross-compilation failure using libfastdeploy.so.0.0.0. Read the linker or runtime error shown in the attached image and verify that the FastDeploy library matches the Rknpu2 target and its dependencies. Done means the application builds and uses the cross-compiled library successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.