Page 1 of 1

undefined references compile

Posted: Sun Jun 12, 2016 4:22 am
by JCRFmx
I trying my first app following the code of matrix-led

the git sample works fine, but in my code

I am unable to define the reference of; exportGPIOPin or setGPIOValue, where are defines this functions, is it a missing include library?

second question: it is possible to use the WiringPI library with the NanoPi2? the GPIO 40 pins is full compatible with Raspberry PI2 (40 pin GPIO)?

Re: undefined references compile

Posted: Thu Jun 16, 2016 9:51 am
by FATechsupport
Please try these steps :

$ apt-get update && apt-get install git
$ git clone
$ cd matrix
$ make && make install

Then try your executable on your board:
$ matrix-gpio_out

No we didn't test the WritingPI on our boards.

No the 40pin pin-header is not 100% pin to pin compatible to that of the Raspberry Pi.