Now to compile a simple example it needs to compile with sudo:
simple1.cpp:2:23: fatal error: /usr/local/include/Eigen/Dense: Permission denied
What's wrong? I think it should not ask for permission. Can I fix it?
I also changed the permission of folder to
drwxr-xr-x and added
and log out once. Still, I need permission to compile.
namei -lx /usr/local/include/Eigen/Dense f: /usr/local/include/Eigen/Dense Drwxr-xr-x root root / drwxr-xr-x root root usr drwxr-xr-x root root local drwxr-xr-x root root include drwxr-xr-x root root Eigen -rw-r--r-- root root Dense