chiark / gitweb /
Remove the +x bit from maxdetect.[ch] and examples/PiFace/ladder.c.
[wiringPi.git] / INSTALL
1
2 How to install wiringPi
3 =======================
4
5 The easiest way is to use the supplied 'build' script:
6
7   ./build
8
9 that should do a complete install or upgrade of wiringPi for you.
10
11 That will install a dynamic library.
12
13 Some distributions do not have /usr/local/lib in the default LD_LIBRARY_PATH. To
14 fix this, you need to edit /etc/ld.so.conf and add in a single line:
15
16   /usr/local/lib
17
18 then run the ldconfig command.
19
20   sudo ldconfig
21
22 If you want to install a static library, you may need to do this manually:
23
24   cd wiringPi
25   make static
26   sudo make install-static
27
28
29 To un-install wiringPi:
30
31   ./build uninstall
32
33 Gordon Henderson
34
35 projects@drogon.net
36 https://projects.drogon.net/