help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vterm-module compile error


From: Emanuel Berg
Subject: vterm-module compile error
Date: Sat, 24 Oct 2020 02:26:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

When I do M-x vterm RET it says

  Vterm needs `vterm-module' to work.  Compile it now? (y or n) y
  Compilation of ‘emacs-libvterm’ module succeeded

but then

  -- System libvterm detected
  -- Configuring done
  -- Generating done
  -- Build files have been written to: 
/home/incal/.emacs.d/elpa/vterm-20201004.2057/build
  [ 25%] Building C object CMakeFiles/vterm-module.dir/vterm-module.c.o
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c: In function 
‘compare_cells’:
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:597:20: warning: 
implicit declaration of function ‘vterm_color_is_equal’; did you mean 
‘vterm_screen_is_eol’? [-Wimplicit-function-declaration]
     equal = equal && vterm_color_is_equal(&a->fg, &b->fg);
                      ^~~~~~~~~~~~~~~~~~~~
                      vterm_screen_is_eol
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c: In function 
‘cell_rgb_color’:
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:734:7: warning: 
implicit declaration of function ‘VTERM_COLOR_IS_DEFAULT_FG’ 
[-Wimplicit-function-declaration]
     if (VTERM_COLOR_IS_DEFAULT_FG(color)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:737:7: warning: 
implicit declaration of function ‘VTERM_COLOR_IS_DEFAULT_BG’ 
[-Wimplicit-function-declaration]
     if (VTERM_COLOR_IS_DEFAULT_BG(color)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:740:7: warning: 
implicit declaration of function ‘VTERM_COLOR_IS_INDEXED’ 
[-Wimplicit-function-declaration]
     if (VTERM_COLOR_IS_INDEXED(color)) {
         ^~~~~~~~~~~~~~~~~~~~~~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:741:14: error: 
‘VTermColor’ {aka ‘struct <anonymous>’} has no member named ‘indexed’
       if (color->indexed.idx < 16) {
                ^~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:742:40: error: 
‘VTermColor’ {aka ‘struct <anonymous>’} has no member named ‘indexed’
         return vterm_get_color(env, color->indexed.idx);
                                          ^~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:745:49: error: 
‘VTermColor’ {aka ‘struct <anonymous>’} has no member named ‘indexed’
         vterm_state_get_palette_color(state, color->indexed.idx, color);
                                                   ^~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:747:14: warning: 
implicit declaration of function ‘VTERM_COLOR_IS_RGB’ 
[-Wimplicit-function-declaration]
     } else if (VTERM_COLOR_IS_RGB(color)) {
                ^~~~~~~~~~~~~~~~~~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:752:45: error: 
‘VTermColor’ {aka ‘struct <anonymous>’} has no member named ‘rgb’
     snprintf(buffer, 8, "#%02X%02X%02X", color->rgb.red, color->rgb.green,
                                               ^~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:752:61: error: 
‘VTermColor’ {aka ‘struct <anonymous>’} has no member named ‘rgb’
     snprintf(buffer, 8, "#%02X%02X%02X", color->rgb.red, color->rgb.green,
                                                               ^~
  /home/incal/.emacs.d/elpa/vterm-20201004.2057/vterm-module.c:753:17: error: 
‘VTermColor’ {aka ‘struct <anonymous>’} has no member named ‘rgb’
              color->rgb.blue);
                   ^~
  make[2]: *** [CMakeFiles/vterm-module.dir/build.make:63: 
CMakeFiles/vterm-module.dir/vterm-module.c.o] Error 1
  make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/vterm-module.dir/all] Error 
2
  make: *** [Makefile:84: all] Error 2
  /home/incal/.emacs.d/elpa/vterm-20201004.2057
  
-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]