use g++-4.8. locate eigen3 with pkg-config.