Skip to content

wx-widgets sdk build not working #311

@jascase901

Description

@jascase901

I can build applications that depend of wx using bitbake. But if I try to make an sdk (bitbake wx-image-sdk -c populate_sdk). and build a sample application get

CMake Error at /opt/tegrademo-mender/3.1+snapshot/sysroots/x86_64-tdsdk-linux/usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
  wxWidgets_INCLUDE_DIRS)
Call Stack (most recent call first):
  /opt/tegrademo-mender/3.1+snapshot/sysroots/x86_64-tdsdk-linux/usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /opt/tegrademo-mender/3.1+snapshot/sysroots/x86_64-tdsdk-linux/usr/share/cmake-3.18/Modules/FindwxWidgets.cmake:1008 (find_package_handle_standard_args)
  CMakeLists.txt:13 (find_package)

Looking at my sys root directory. there is no wx-config, which is hwat findwxwidgets uses to set the include, and library dirs. There is a wxrc, which is functionally the same thing as wx-config, but trying to use it returns my system wx libraries in /usr/local

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions