This is an old revision of the document!


http://wiringpi.com/download-and-install/

sudo su -
aptitude install git-core && aptitude update && aptitude upgrade
git clone git://git.drogon.net/wiringPi
git clone git://git.drogon.net/wiringPi

or

cd ~/wiringPi/ && git pull origin
 
[root@picka_malinova wiringPi]# cd ~/wiringPi
[root@picka_malinova wiringPi]# ./build


./build
wiringPi Build script
=====================


WiringPi Library
sudo: unable to resolve host picka_malinova
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] wiringPiI2C.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
[Compile] pcf8591.c
[Compile] mcp3002.c
[Compile] mcp3004.c
[Compile] mcp4802.c
[Compile] mcp3422.c
[Compile] max31855.c
[Compile] max5322.c
[Compile] ads1115.c
[Compile] sn3218.c
[Compile] drcSerial.c
[Compile] wpiExtensions.c
[Link (Dynamic)]
sudo: unable to resolve host picka_malinova
[Install Headers]
[Install Dynamic Lib]

WiringPi Devices Library
sudo: unable to resolve host picka_malinova
[UnInstall]
[Compile] ds1302.c
[Compile] gertboard.c
[Compile] maxdetect.c
[Compile] piNes.c
[Compile] piFace.c
[Compile] lcd128x64.c
[Compile] lcd.c
[Compile] scrollPhat.c
[Compile] piGlow.c
[Link (Dynamic)]
sudo: unable to resolve host picka_malinova
[Install Headers]
[Install Dynamic Lib]

GPIO Utility
[Compile] gpio.c
[Compile] readall.c
[Compile] pins.c
[Link]
sudo: unable to resolve host picka_malinova
[Install]

All Done.

NOTE: To compile programs with wiringPi, you need to add:
    -lwiringPi
  to your compile line(s) To use the Gertboard, MaxDetect, etc.
  code (the devLib), you need to also add:
    -lwiringPiDev
  to your compile line(s).
  • projects/gpio.1465866385.txt.gz
  • Last modified: 2016/06/14 01:06
  • by over23