Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Code Block
languagebash
themeFadeToGreyDJango
$ apt-get install cmake


Install ccmake (optional)

Code Block
languagebash
themeFadeToGreyDJango
$ apt-get install cmake-curses-gui

...

Code Block
languagebash
themeFadeToGreyDJango
$ tar xf <driver_version>.tar.gz

...

Code Block
languagebash
themeFadeToGreyDJango
$ cd <driver_version>/driver/libcifx/

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx $ mkdir build && cd build
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx/build $

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx/build $ ccmake ..

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx/build $ cmake .. -DDISABLE_PCI=ON -DSPM_PLUGIN=ON

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx/build $ make all
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx/build $ make install


Create the necessary links and cache to the most recent shared libraries found.

Code Block
languagebash
themeFadeToGreyDJango
$ sudo ldconfig 

Compiling the example programs

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~ $ cd V2.1.1.0/V2.1.1.0/examples/
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/examples $

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/examples $ mkdir build && cd build
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/examples/build $

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/examples/build $ cmake ..

...

Code Block
languagebash
themeFadeToGreyDJango
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/examples/build $ make all

...