This content has been marked as final. Show 3 replies
I need to compile on Edison mraa (and upm) to work with node.js 0.12.x
To do this I followed mraa github build instructions (https://github.com/intel-iot-devkit/mraa/blob/master/docs/building.md).
I starded installing a fresh Edison OS 2.1 and run configure_edison.
According to build doc I checked/installed the prerequisites:
SWIG 3.0.5: already installed
python 2.7: already installed
CMake 2.8.8: already installed
# install git
# install node.js 10.2.x (intepreter plus dev)
Then I cloned mraa from github:
git clone --recursive https://github.com/intel-iot-devkit/mraa.git
And finally I built mraa:
Compile ends without errors, but when I try to use mraa from a nodejs program (like "Onboard blink" XDK sample) I got the that the mraa version is v0.7.2, ie the version installed in the Edison OS2.1, instead od v.0.9.x that I cloned from github.
It seems I missed something to enable node.js programs to use the mraa version that I just compiled.
Can you please help me? propanu any advise?
I also opened an issue on mraa github (How compile mraa on Edison · Issue #393 · intel-iot-devkit/mraa · GitHub)