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: Add package for dev (IMAGE_INSTALL:append = " jsoncpp")

Part Number: TDA4VM


Tool/software:

Hi 

I built the image using ti sdk and added the jsoncpp package in the meta-oe layer adding (IMAGE_INSTALL:append = " jsoncpp") in local.conf.

The image that was created successfully boots and is located in /usr/lib

However, there is no symlink for development and no header files exist in /usr/include

How can I set up development when creating the image?

BR,

Lee

  • Hi Lee,

    I assume that you mean jsoncpp is installed into /usr/lib on the board, but the header files are not within /usr/include. If this is not the issue, please let me know.

    I don't have experience with the jsoncpp package, so I will have to build an image and look at it. I will let you know what I find.

    Best,
    Jared

  • HI, Jared

    Yes I just found out that I wanted to include the header files for development and the answer was jsoncpp-dev.

    And here is the result of doing find_package(OpenCV REQUIRED) for my program.

    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)

    I checked the path and confirmed that there is no 3rdparty directory.
    The same problem occurred with libcorrespondence.a, but I temporarily modified OpenCVConfig and only checked the error message.

    How can I solve it?

    And, I want to ignore when build image using TI SDK.

    Please tell me both methods.

    Thank you.

    BR,

    Lee

  • Hi Lee,

    Can you open a new thread for the OpenCV issue, because this doesn't have to do with jsoncpp anymore?

    And, I want to ignore when build image using TI SDK.

    I you want to ignore packages when building a TI image, you can make a new layer and image that includes the new packages. Then, when you build your new image, it will have your extra packages, but the TI images will not.

    Best,
    Jared