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.

HTH

Koenraad.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to