Closed balducci closed 2 years ago
confirmed
If you want to compile with an old c++-11 compiler, then you need to configure with --disable-lsp (or --enable-lsp=no); the language server protocol requires c++-14.
If you want to compile with an old c++-11 compiler, then you need to configure with --disable-lsp (or --enable-lsp=no); the language server protocol requires c++-14.
Actually, I did compile with latest g++ and -std=c++14
(see my original report)
It seems to me that the problem is not the c++
standard, but rather that the utf8.h
header is missing from the cloned asymptote repository (probably due to the whole LspCpp/third_party/utfcpp
directory being missing)
Am I supposed to clone utfcpp
separately and merge it into the asymptote git tree?
Sorry for the confusion. I have now cloned utfcpp with git subrepo into my LspCpp fork github.com:vectorgraphics/LspCpp/third_party and pulled that into the asy repo, again with git subrepo. The threadpool third party repo should really be pulled in as subrepo too, but I'll leave that for the upstream developer of LspCpp.
Another option would have been to install the utf8cpp-devel package (on Fedora) and change LspCpp/LibLsp/lsp/utils.cpp:
#include "utf8.h"
to
#include <utf8.h>
Sorry for the confusion. I have now cloned utfcpp with git subrepo into my LspCpp fork github.com:vectorgraphics/LspCpp/third_party and pulled that into the asy repo, again with git subrepo. The threadpool third party repo should really be pulled in as subrepo too, but I'll leave that for the upstream developer of LspCpp.
just letting you know that everything is back on track on my side: building with --enable-lsp
now works fine
thanks -g
hello
when building with
--enable-lsp
I get:and, actually, I cannot find any
utf8.h
header in the cloned master (revno 8188, 0c78f5d505c86e0483fa86564c95cdccd1936142).The
LspCpp/third_party/utfcpp
directory, under which I guess theutf8.h
header should be found, is empty, even if I clone with--recursive
Is that an oversight or am I missing something?
(BTW: building with --enable-lsp=no works fine)
thanks a lot for your valuable work -gabriele
configuring with:
building with gcc: