Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
868 Views

Need help correctly building MRAA and dependencies

Hi,

I am having trouble building MRAA and the dependencies on my Edison. I am new to this and am going off of the instructions located here: http://iotdk.intel.com/docs/master/mraa/java/building.html http://iotdk.intel.com/docs/master/mraa/java/building.html

If anyone can help me with step by step instructions it would be greatly appreciated. I am using a debian distro.

Thank you!

2 Replies
Novice
2 Views

Re: Need help correctly building MRAA and dependencies

I just used the tutorial found on sparkfun: https://learn.sparkfun.com/tutorials/installing-libmraa-on-ubilinux-for-edison Installing libmraa on Ubilinux for Edison - learn.sparkfun.com and received an error when I ran this part of the code:

git clone https://github.com/intel-iot-devkit/mraa.git 

mkdir mraa/build && cd $_

 

cmake .. -DBUILDSWIGNODE=OFF

 

make

 

make install

 

cd

The error received is:

cmake .. -DBUILDSWIGNODE=OFF

-- INFO - libmraa Version v1.1.1-5-g1af737f

-- INFO - cmake Version 2.8.9

-- INFO - Target arch is i586

-- Could NOT find PythonInterp: Found unsuitable version "2.7.3", but required is at least "3" (found /usr/bin/python)

-- Could NOT find PythonInterp: Found unsuitable version "2.7.3", but required is at least "3.2" (found /usr/bin/python)

-- INFO - Adding onewire backend support

-- INFO - Adding support for platform ALL

-- INFO - Adding support for all platforms

INFO - Adding x86 platforms

PYTHON2 attempting to build!

CMake Error at src/python/python2/CMakeLists.txt:10 (target_include_directories):

Unknown CMake command "target_include_directories".

Thanks

0 Kudos
Highlighted
Community Manager
2 Views

Re: Need help correctly building MRAA and dependencies

Hello ProgrammingN00b,

 

 

If you were using the official image for Edison (based on Yocto), installing mraa would be a very simple task. You would only need to set the official repo and download package from it.

 

 

Since you are on Ubilinux, I would suggest you to verify that all of the dependencies are correctly installed and if they are, I'd suggest you to follow the instructions in http://iotdk.intel.com/docs/master/mraa/java/building.html and file an issue with the full output of cmake or however far you got.

 

 

If that was the case, you can submit an issue in https://github.com/intel-iot-devkit/mraa/issues.

 

 

-Peter.
0 Kudos