Trying to compile the `lsp-plugin` I get the following error message.
```
Making all in lsp
make[2]: Entering directory
'/home/knizek/.cache/yay/geany-plugins-git/src/geany-plugins/lsp'
Making all in deps
make[3]: Entering directory
'/home/knizek/.cache/yay/geany-plugins-git/src/geany-plugins/lsp/deps'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/home/knizek/.cache/yay/geany-plugins-git/src/geany-plugins/lsp/deps'
Making all in src
make[3]: Entering directory
'/home/knizek/.cache/yay/geany-plugins-git/src/geany-plugins/lsp/src'
CC lsp_la-lsp-autocomplete.lo
CC lsp_la-lsp-goto-anywhere.lo
CC lsp_la-lsp-goto.lo
CC lsp_la-lsp-goto-panel.lo
In file included from lsp-goto-panel.c:29:
lsp-symbol-kinds.h:146:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
146 | TMIcon lsp_symbol_kinds_get_completion_icon(LspCompletionKind kind);
| ^~~~~~
| GIcon
In file included from lsp-autocomplete.c:27:
lsp-symbol-kinds.h:146:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
146 | TMIcon lsp_symbol_kinds_get_completion_icon(LspCompletionKind kind);
| ^~~~~~
| GIcon
In file included from lsp-symbol.h:22,
from lsp-goto.c:27:
lsp-symbol-kinds.h:146:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
146 | TMIcon lsp_symbol_kinds_get_completion_icon(LspCompletionKind kind);
| ^~~~~~
| GIcon
lsp-symbol-kinds.h:147:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
147 | TMIcon lsp_symbol_kinds_get_symbol_icon(LspSymbolKind kind);
| ^~~~~~
| GIcon
lsp-symbol-kinds.h:147:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
147 | TMIcon lsp_symbol_kinds_get_symbol_icon(LspSymbolKind kind);
| ^~~~~~
| GIcon
In file included from lsp-symbol.h:22,
from lsp-goto-anywhere.c:27:
lsp-symbol-kinds.h:146:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
146 | TMIcon lsp_symbol_kinds_get_completion_icon(LspCompletionKind kind);
| ^~~~~~
| GIcon
lsp-symbol-kinds.h:147:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
147 | TMIcon lsp_symbol_kinds_get_symbol_icon(LspSymbolKind kind);
| ^~~~~~
| GIcon
lsp-symbol-kinds.h:147:1: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
147 | TMIcon lsp_symbol_kinds_get_symbol_icon(LspSymbolKind kind);
| ^~~~~~
| GIcon
lsp-symbol.h:45:1: error: unknown type name 'TMIcon'; did you mean 'GIcon'?
45 | TMIcon lsp_symbol_get_icon(const LspSymbol *sym);
| ^~~~~~
| GIcon
lsp-symbol.h:45:1: error: unknown type name 'TMIcon'; did you mean 'GIcon'?
45 | TMIcon lsp_symbol_get_icon(const LspSymbol *sym);
| ^~~~~~
| GIcon
lsp-goto-anywhere.c: In function 'goto_line':
lsp-goto-anywhere.c:82:17: error: unknown type name 'TMIcon'; did you mean
'GIcon'?
82 | TMIcon icon = TM_ICON_OTHER;
| ^~~~~~
| GIcon
In file included from lsp-goto-panel.c:31:
lsp-symbol.h:45:1: error: unknown type name 'TMIcon'; did you mean 'GIcon'?
45 | TMIcon lsp_symbol_get_icon(const LspSymbol *sym);
| ^~~~~~
| GIcon
make[3]: *** [Makefile:812: lsp_la-lsp-autocomplete.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
lsp-goto-anywhere.c:82:31: error: 'TM_ICON_OTHER' undeclared (first use in this
function)
82 | TMIcon icon = TM_ICON_OTHER;
| ^~~~~~~~~~~~~
lsp-goto-anywhere.c:82:31: note: each undeclared identifier is reported only
once for each function it appears in
lsp-goto.c: In function 'goto_cb':
lsp-goto.c:215:65: error: 'TM_ICON_OTHER' undeclared (first use in this
function)
215 |
TM_ICON_OTHER);
|
^~~~~~~~~~~~~
lsp-goto.c:215:65: note: each undeclared identifier is reported only once for
each function it appears in
make[3]: *** [Makefile:861: lsp_la-lsp-goto.lo] Error 1
lsp-goto-panel.c: In function 'lsp_goto_panel_fill':
lsp-goto-panel.c:169:35: error: implicit declaration of function
'symbols_get_icon_pixbuf'; did you mean 'gtk_entry_get_icon_pixbuf'?
[-Wimplicit-function-declaration]
169 | COL_ICON,
symbols_get_icon_pixbuf(lsp_symbol_get_icon(sym)),
| ^~~~~~~~~~~~~~~~~~~~~~~
| gtk_entry_get_icon_pixbuf
make[3]: *** [Makefile:868: lsp_la-lsp-goto-panel.lo] Error 1
lsp-goto-anywhere.c: In function 'goto_file':
lsp-goto-anywhere.c:152:75: error: 'TM_ICON_OTHER' undeclared (first use in
this function)
152 | sym = lsp_symbol_new(name, "", "", file_name, 0, 0, 0,
0, TM_ICON_OTHER);
|
^~~~~~~~~~~~~
make[3]: *** [Makefile:854: lsp_la-lsp-goto-anywhere.lo] Error 1
```
I did a
```sh
./autogen.sh --prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--runstatedir=/run
make
```
What compile environment information do you need?
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1409
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany-plugins/issues/[email protected]>