INSTALL 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Installation instructions for Eigen
  2. ***********************************
  3. Explanation before starting
  4. ***************************
  5. Eigen consists only of header files, hence there is nothing to compile
  6. before you can use it. Moreover, these header files do not depend on your
  7. platform, they are the same for everybody.
  8. Method 1. Installing without using CMake
  9. ****************************************
  10. You can use right away the headers in the Eigen/ subdirectory. In order
  11. to install, just copy this Eigen/ subdirectory to your favorite location.
  12. If you also want the unsupported features, copy the unsupported/
  13. subdirectory too.
  14. Method 2. Installing using CMake
  15. ********************************
  16. Let's call this directory 'source_dir' (where this INSTALL file is).
  17. Before starting, create another directory which we will call 'build_dir'.
  18. Do:
  19. cd build_dir
  20. cmake source_dir
  21. make install
  22. The "make install" step may require administrator privileges.
  23. You can adjust the installation destination (the "prefix")
  24. by passing the -DCMAKE_INSTALL_PREFIX=myprefix option to cmake, as is
  25. explained in the message that cmake prints at the end.