Closed henrique-smr closed 1 year ago
Is this on the latest master?
Is this on the latest master?
yes
i have same error
Same error here as well. Fresh clone 5 minutes ago.
Same error.
Fedora Linux 37 Silverblue.
Compiling gnvim v0.3.0-dev (/var/home/james/.src/gnvim/ui) Finished release [optimized] target(s) in 3m 00s
No errors reported while compiling.
cargo 1.67.1
nvim --version ─╯ NVIM v0.8.3 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/builddir/build/BUILD/neovim-0.8.3/redhat-linux-build/cmake.config -I/builddir/build/BUILD/neovim-0.8.3/src -I/usr/include -I/usr/include/luajit-2.1 -I/builddir/build/BUILD/neovim-0.8.3/redhat-linux-build/src/nvim/auto -I/builddir/build/BUILD/neovim-0.8.3/redhat-linux-build/include Compiled by mockbuild@koji
Features: +acl +iconv +tui See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Same error on Fedora 37.
❯ sudo make install
[sudo] password di silvano:
install -d "/usr/local/bin"
install ./target/release/gnvim "/usr/local/bin"
install -d "/usr/local/share/gnvim"
cp -r ./runtime "/usr/local/share/gnvim"
install -d "/usr/local/share/applications"
sed -e "s|Exec=gnvim|Exec=/usr/local/bin/gnvim|" \
"./desktop/gnvim.desktop" \
>"/usr/local/share/applications/gnvim.desktop"
install -d "/usr/local/share/icons/hicolor/48x48/apps"
install -d "/usr/local/share/icons/hicolor/128x128/apps"
cp ./desktop/gnvim_128.png "/usr/local/share/icons/hicolor/128x128/apps/gnvim.png"
cp ./desktop/gnvim_48.png "/usr/local/share/icons/hicolor/48x48/apps/gnvim.png"
❯ gnvim
thread 'main' panicked at 'Failed to retrieve template child. Please check that it has been bound and has a #[template_child] attribute.', /home/silvano/.cargo/registry/src/github.com-1ecc6299db9ec823/gtk4-0.4.7/src/subclass/widget.rs:1303:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
❯ uname -srmno
Linux fedora 6.1.13-200.fc37.x86_64 x86_64 GNU/Linux
Executing cargo update -p gtk4
before build worked for me
Executing
cargo update -p gtk4
before build worked for me
Awesome, this worked for me as well. :+1:
Should be fixed by 2f1a54d674362341ae1e4c58b97c3cc2821ab4b2.
Error running gnvim: