[fpc-pascal] GPIO for pi
Bo Berglund
bo.berglund at gmail.com
Wed Jul 27 21:43:10 CEST 2016
On Wed, 27 Jul 2016 21:06:26 +0200, Koenraad Lelong
<fpascal1 at de-brouwerij.be> wrote:
>Op 27-07-16 om 15:52 schreef Bo Berglund:
>> Thanks,
>> I unpacked the zip in my Projects dir on a Raspberry Pi3 running Raspbian.
>> Did nothing else to the files.
>>
>> Then opened the project in Lazarus 1.6 (with FPC 3.0) and executed a compile command.
>> I received an error message so I repeated it again and the same error appeared:
>>
>> Compile Project, Target: x_pigpiod_if2: Exit code 256, Errors: 1
>> /usr/bin/ld: warning: link.res contains output sections; did you forget -T?
>> /usr/bin/ld: cannot find -lpigpiod_if2
>> x_pigpiod_if2.lpr(21,0) Error: Error while linking
>>
>> Is this a project that requires the presence of some other binary packages or libraries?
>> Like pigpiod_if2....
>>
>> Best Regards,
>>
>> Bo Berglund
>Bo,
>
>I have following files on the pi :
>/usr/lib/libpigpio.so
>/usr/lib/libpigpiod_if2.so
>
>Do you have these ? I'm running the latest raspbian-image
>(2016-05-27-raspbian-jessie.img).
>You could also download the library from
>http://abyz.co.uk/rpi/pigpio/index.html and compile and install that.
>
>To use the library, you need of course enable the gpio-server
>(raspi-config/advanced options). Or manually start it when you have an
>older (or different ?) OS-version.
I was running a Pi3 with the March Raspbian image.
I am doing the upgrade now.
Let's see what happens.
--
Bo Berglund
Developer in Sweden
More information about the fpc-pascal
mailing list