install mraa library on Ubuntu

Jerry
Jerry New Member Posts: 5
edited December 2017 in UP Board Linux
I am trying to cross compile simple hello world from Widows to UP Board using QT Creator IDE. I have tried with Intel Edison Board, working fine. For up board cross compilation tool chain not available, so how to cross compile ? How to install mraa library on Ubuntu ?

Comments

  • Dan O'Donovan
    Dan O'Donovan Administrator, Moderator, Emutex Posts: 241 admin
    How to install mraa library on Ubuntu ?

    First, you'll need to install the kernel for UP, if you haven't already done so: https://up-community.org/wiki/Ubuntu

    Then, follow the instructions here to install MRAA on Ubuntu (search the page for "Installing on Ubuntu"): https://github.com/intel-iot-devkit/mraa
  • DCleri
    DCleri Administrator, AAEON Posts: 1,213 admin
    Hi Jerwinprabu,

    For UP board you don't need a cross compilation tool chain, you can compile for a standard x86_64 target.
  • Jerry
    Jerry New Member Posts: 5
    Hi Dan,

    I have tried to install the mraa from the given Link, but that is not working anyway I have solved problem. Only cross compilation issue.
  • Jerry
    Jerry New Member Posts: 5
    edited May 2017
    Hi dcleri,

    I have confused. You have mentioned For UP board you don't need a cross compilation tool chain, you can compile for a standard x86_64 target, Argument target makes sense only when building compiler (e.g. GCC). Can you give more detail ? Can I get your contact (email id) for support ?

    One more question ! I have used wiringpi library for controlling GPIO, Can I use same or change into MRAA library ?

    Kindly help me to solve this issue. Awaiting for your reply.