-
Notifications
You must be signed in to change notification settings - Fork 4
Installation
LibDEV can be easily installed in Unix-based systems by just following these steps:
-
Install LibOPF Library at https://github.com/jppbsi/LibOPF. Type
cd LibOPF
, and then typemake
to build it. -
Install LibDEEP Library at https://github.com/jppbsi/LibDEEP. Type
cd LibDEEP
, and then typemake
to build it. -
Install LibOPT Library at https://github.com/jppbsi/LibOPT. Type
cd LibOPT
, and then typemake
to build it. -
Now, simply
git clone
this project. The system will create a directory named LibDEV. Typecd LibDEV
, and then typemake
to build it.
Note that in order to build LibDEV, you need to add the following environment variables to your .bashrc
or .bash_profile
:
-
export OPF_DIR=/home/username/path/to/LibOPF
-
export LIBDEEP_DIR=/home/username/path/to/LibDEEP
-
export OPT_DIR=/home/username/path/to/LibOPT
However, you may find installation issues under OS X. If you have any problem, please let us know. It is advised to use GNU/gcc compiler, instead the one available from Xcode. Here there is a nice tutorial to install GNU/gcc on OS X systems.