4 Replies Latest reply on Nov 7, 2016 2:29 PM by Intel Corporation

    upm (0.8.0) without SWIG


      I've been trying to build a small Yocto image for my Edison, based on http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/.


      I don't need node.JS, or python, or any of the other fluff that is included in the default edison-image.  I'm just trying to run some C/C++ code.


      I have been able to build mraa v1.4.0 without SWIG (or python, or java/node.js), but UPM v0.8.0 is resisting my efforts.


      My recipe (upm_0.8.0.bb) looks like this:


      SUMMARY = "Sensor/Actuator repository for Mraa"
      SECTION = "libs"
      AUTHOR = "Brendan Le Foll, Tom Ingleby, Yevgeniy Kiveisha"
      LICENSE = "MIT"
      LIC_FILES_CHKSUM = "file://LICENSE;md5=d1cc191275d6a8c5ce039c75b2b3dc29"
      DEPENDS = "mraa"
      SRC_URI = "git://github.com/intel-iot-devkit/upm.git;protocol=git;rev=d866b25f85289148e01760dee1fcbc9c1bff019a"
      S = "${WORKDIR}/git"
      inherit distutils-base pkgconfig cmake
      FILES_${PN}-doc += "${datadir}/upm/examples/"


      But I get an error that SWIG >= v3.0.5 is required.


      The CMake file indicates that this check should be avoidable, but no matter what I set in the PACKAGECONFIG = ... line, bitbake errors out trying to find SWIG >= 3.0.5.


      Any help would be appreciated.