Closed kswain1 closed 8 years ago
Hi, yes there is. When you configure the build with cmake first of all make sure BUILDSWIG=ON
and BUILDSWIGPYTHON=ON
. They are usually on by default. You also have the option to do Pyhon3 builds with BUILDPYTHON3=ON
and this one is off by default. If you use command line, you can define these when you run cmake. With the curses interface (ccmake) you can simply toggle the options you need.
Once the makefiles have been generated now you can build a specific Python target by typing make _pyupm_<name>
. In your case this would be make _pyupm_ili9341
. If you also need to install the sensor driver you can descend into build/src/ili9341
and simply make install
.
@kswain1 were you able to build the module?
I was able to able to build the module. currently running into a mraa unspecified error?
On Tue, Jul 19, 2016 at 12:02 PM, Mihai Tudor Panu <notifications@github.com
wrote:
@kswain1 https://github.com/kswain1 were you able to build the module?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/intel-iot-devkit/upm/issues/424#issuecomment-233698722, or mute the thread https://github.com/notifications/unsubscribe-auth/AItw9OM6-qXFYV4LZ4i-N8ssBVYL_remks5qXQMJgaJpZM4ImIIk .
Do you get the error while using this module or is it unrelated?
Yes it is related to the module. When I run an example program I am receiving this error. Will try deleted and redownloading the code. Currently followed this module to build the process https://learn.sparkfun.com/tutorials/using-an-lcd-on-the-edison.
Thank you for your time!
On Wed, Jul 20, 2016 at 3:06 PM, Mihai Tudor Panu notifications@github.com wrote:
Do you get the error while using this module or is it unrelated?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/intel-iot-devkit/upm/issues/424#issuecomment-234065885, or mute the thread https://github.com/notifications/unsubscribe-auth/AItw9HOGmKgaCWJWc-PjXC61vSzWzOpSks5qXn_RgaJpZM4ImIIk .
By the way you can also use opkg
to update/install our libraries from the IOTDK repository. It will save you the hassle of a build and the ili9341 module is there in our latest library. You can find more on this in the Intel® Edison Board User Guide.
Considering this resolved for now. Let us know if you have more questions!
This is the current error when trying to import. No module named pyupm_ili9341 Maybe it is something I did wrong with the python build. Is there anyway I can specifically build this python module?