Try to use the instruction used in dso to install opencv and eigen, since install from the opencv or eigen source sometimes can bring unknown probems.
The instructions are as follows:
sudo apt-get install libsuitesparse-dev libeigen3-dev libboost-all-dev
sudo apt-get install libopencv-dev