faild to build, getting this error:
-- Build files have been written to: /home/kbk/.cache/yay/texmacs/src/build
[ 0%] Built target texmacs_body_autogen_timestamp_deps
[ 0%] Automatic MOC for target texmacs_body
[ 0%] Built target texmacs_body_autogen
[ 0%] Building CXX object src/CMakeFiles/texmacs_body.dir/texmacs_body_autogen/mocs_compilation.cpp.o
[ 0%] Building CXX object src/CMakeFiles/texmacs_body.dir/Data/Convert/BibTeX/conservative_bib.cpp.o
[ 0%] Building CXX object src/CMakeFiles/texmacs_body.dir/Data/Convert/BibTeX/parsebib.cpp.o
[ 1%] Building CXX object src/CMakeFiles/texmacs_body.dir/Data/Convert/Coq/parse_vernac.cpp.o
In file included from /home/kbk/.cache/yay/texmacs/src/TeXmacs/src/Kernel/Containers/hashtree.hpp:126,
from /home/kbk/.cache/yay/texmacs/src/TeXmacs/src/Data/String/converter.hpp:15,
from /home/kbk/.cache/yay/texmacs/src/TeXmacs/src/Data/Convert/Coq/parse_vernac.cpp:16:
/home/kbk/.cache/yay/texmacs/src/TeXmacs/src/Kernel/Containers/hashtree.cpp: In member function ‘hashtree<K, V> hashtree<K, V>::operator[](K)’:
/home/kbk/.cache/yay/texmacs/src/TeXmacs/src/Kernel/Containers/hashtree.cpp:97:14: error: ‘class hashtree<K, V>’ has no member named ‘contains’ [-Wtemplate-body]
97 | if (*this->contains (key)) return *this->children (key);
| ^~~~~~~~
/home/kbk/.cache/yay/texmacs/src/TeXmacs/src/Kernel/Containers/hashtree.cpp:97:44: error: ‘class hashtree<K, V>’ has no member named ‘children’ [-Wtemplate-body]
97 | if (*this->contains (key)) return *this->children (key);
| ^~~~~~~~
make[2]: *** [src/CMakeFiles/texmacs_body.dir/build.make:127: src/CMakeFiles/texmacs_body.dir/Data/Convert/Coq/parse_vernac.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:307: src/CMakeFiles/texmacs_body.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: texmacs-exit status 4
-> Failed to install the following packages. Manual intervention is required:
texmacs - exit status 4
Pinned Comments
evilsnoo commented on 2023-04-29 16:52 (UTC)
For anyone who's trying to use Texmacs with Wayland, launch it with
texmacs -platform wayland
otherwise you will get a very blurry rendering.