BaseMatrixOps is empty when installing header files only
osorensen opened this issue · comments
When trying to install with header files only, the directory BaseMatrixOps
is empty. The following shell command demonstrates the issue, since the last ls
statement shows that the directory is empty.
git clone https://github.com/kthohr/optim.git && cd optim && \
./configure --header-only-version && ls header_only_version/BaseMatrixOps
This further causes the following error when trying to compile with #include "optim.hpp"
fatal error: 'BaseMatrixOps/include/BaseMatrixOps.hpp' file not found
#include "BaseMatrixOps/include/BaseMatrixOps.hpp"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Presumably the error message occurs because of this line, i.e., optim.hpp
requires the BaseMatrixOps
directory to not be empty.
Line 28 in d480ec8
The directory is empty because you did not run:
git submodule update --init