...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
$ apt-get install cmake |
Install ccmake (optional)
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
$ apt-get install cmake-curses-gui |
...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
$ tar xf <driver_version>.tar.gz |
...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
$ cd <driver_version>/driver/libcifx/ |
...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
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 |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx/build $ ccmake .. |
...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/driver/libcifx/build $ cmake .. -DDISABLE_PCI=ON -DSPM_PLUGIN=ON |
...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
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 |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
$ sudo ldconfig |
Compiling the example programs
...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
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 |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
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 |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/examples/build $ cmake .. |
...
Code Block |
---|
language | bash |
---|
theme | FadeToGreyDJango |
---|
|
pi@raspberrypi:~/V2.1.1.0/V2.1.1.0/examples/build $ make all |
...