install mraa library on Ubuntu

JerryJerry New Member Posts: 5
edited December 2017 in Others
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'DonovanDan O'Donovan Emutex Posts: 225 mod
    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
  • DCleriDCleri Administrator, AAEON Posts: 592 admin
    Hi Jerwinprabu,

    For UP board you don't need a cross compilation tool chain, you can compile for a standard x86_64 target.
  • JerryJerry 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.
  • JerryJerry 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.
Sign In or Register to comment.