vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
549 stars 90 forks source link

Can’t compile LSP – <boost/filesystem/directory.hpp> missing from LspCpp/src/lsp/utils.cpp #438

Closed d125q closed 6 months ago

d125q commented 6 months ago

It seems that <boost/filesystem/directory.hpp> is missing from LspCpp/src/lsp/utils.cpp, causing compilation to fail with no type named 'recursive_directory_iterator' in namespace 'boost::filesystem'. Adding

#include <boost/filesystem/directory.hpp>

to LspCpp/src/lsp/utils.cpp fixes the issue. I am using a development build of Boost: boost-1.85.0.beta1-14-g99eb5b9aa7.

johncbowman commented 6 months ago

Thanks; applied to https://github.com/vectorgraphics/LspCpp and pulled into the Asymptote sources.