install mraa library on Ubuntu

Jerry
New Member Posts: 5
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
-
Jerwinprabu wrote: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 -
Hi Jerwinprabu,
For UP board you don't need a cross compilation tool chain, you can compile for a standard x86_64 target. -
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. -
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.
Categories
- All Categories
- 105 Announcements & News
- 54 Product News - New Product/Product Change Notice/ End-of-life
- 185 Welcome Developers!
- 55 Unboxing & Project Sharing
- 49 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral