This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TDA4VM:为开发添加软件包(IMAGE_INSTALL:APPEND ="jsoncpp")

Guru**** 2455360 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1486003/tda4vm-add-package-for-dev-image_install-append-jsoncpp

器件型号:TDA4VM

工具与软件:

你(们)好  

我使用 ti sdk 构建了映像、并在 local.conf 中添加(image_install:append =" jsoncpp")的 meta-OE 层中添加了 jsoncpp 包。

创建的映像成功引导、位于/usr/lib 中

但是、没有用于开发的符号链接、并且/usr/include 中不存在头文件

创建映像时如何设置开发?

BR、

Lee

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Lee:

    我想您的意思是 jsoncpp 安装到评估板上的/usr/lib 中、但头文件不在/usr/include.中 如果不是问题、请告诉我。

    我没有 jsoncpp 软件包的经验,所以我必须构建一个图像,看看它。 我会让你知道我发现了什么。

    此致!
    Jared

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Jared

    是的、我刚发现、我想包含用于开发的头文件、答案是 jsoncpp-dev。

    这是对我的程序执行 find_package (所需 OpenCV)的结果。

    The imported target "multiview" references the file
    [cmake] 
    [cmake]      "/usr/lib/opencv4/3rdparty/libmultiview.a"
    [cmake] 
    [cmake]   but this file does not exist.  Possible reasons include:
    [cmake] 
    [cmake]   * The file was deleted, renamed, or moved to another location.
    [cmake] 
    [cmake]   * An install or uninstall procedure did not complete successfully.
    [cmake] 
    [cmake]   * The installation package was faulty and contained
    [cmake] 
    [cmake]      "/usr/lib/cmake/opencv4/OpenCVModules.cmake"
    [cmake] 
    [cmake]   but not all the files it references.
    [cmake] 
    [cmake] Call Stack (most recent call first):
    [cmake]   /usr/lib/cmake/opencv4/OpenCVConfig.cmake:126 (include)
    [cmake]   modules/vision/CMakeLists.txt:18 (find_package)

    我检查了路径并确认没有3rdparty 目录。
    libconfentence.a 也出现了同样的问题、但我暂时修改了 OpenCVConfig、只检查了错误消息。

    如何解决?

    我想在使用 TI SDK 构建映像时将其忽略。

    请告诉我这两种方法。

    谢谢你。

    BR、

    Lee

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Lee:

    您是否可以为 OpenCV 问题打开新的线程,因为这不再与 jsoncpp 有关?

    [报价 userid="642979" url="~/support/processors-group/processors/f/processors-forum/1486003/tda4vm-add-package-for-dev-image_install-append-jsoncpp/5708991 #5708991"]

    我想在使用 TI SDK 构建映像时将其忽略。

    [报价]

    我想在构建 TI 映像时忽略封装、您可以创建一个包含新封装的新层和映像。 然后、在构建新的映像时、它将包含额外的软件包、但 TI 映像不会。

    此致!
    Jared