The error is
make[5]: *** No rule to make target `../../../../../src/sdk/libcodeblocks.la', needed by `libclangd_client.la'. Stop.
The code completion plugin has this in the Makefile.am (and compiles OK)
libcodecompletion_la_LIBADD = ../../sdk/libcodeblocks.la\
$(WX_LIBS) \
$(CB_TINYXML_LIBS)
while clangd_client has
libclangd_client_la_LIBADD = \
$(top_srcdir)/src/sdk/libcodeblocks.la \
-lutil \
$(WX_LIBS)
Looks like $(top_srcdir)/src is not correct, it should be ../../.. (clangd_client is a contrib plugin, so it is one level deeper than Code Completion).
Hi.
Applied. Head rev 13177
Hum...
Doesn't seems to be enough.
There are still includes errors (see attached build output related to rev 13177)
Regards
Xav'
Is it possible that the errors are occurring with include locations because "$(srcdir)" is missing from the last four -I statements?
AM_CPPFLAGS = \
$(WX_CXXFLAGS) \
-I$(top_srcdir)/src/include \
-I$(top_srcdir)/src/sdk/wxscintilla/include \
-I$(top_srcdir)/src/include/tinyxml \
-Isrc \
-Isrc/LSPclient \
-Isrc/codecompletion \
-Isrc/unixprocess
It seems to me that other \contrib .am files have "$(srcdir)" prefixed to their -I statements when there are subDirs containing .cpp and .h files.
Comments from anyone with any experience appreciated.
I'm floundering.
I know little about Autotools, but checking the error log I think the last four rows should be
-I. \
-ILSPclient \
-Icodecompletion \
-Iunixprocess
Hi.
I know little about Autotools, but checking the error log I think the last four rows should be
-I. \
-ILSPclient \
-Icodecompletion \
-Iunixprocess
I don't think so : these folders are sub-directories of the "src" one present in the clangd_client plugin dir.
I've tested with
-I$(srcdir)/src \
-I$(srcdir)/src/LSPclient \
-I$(srcdir)/src/codecompletion \
-I$(srcdir)/src/unixprocess
And the build went fine. :)
Corresponding DMG file uploaded to my Google Drive (see my post above for the link) in the rev13166 folder
Regards
Xav'