vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't use Vid

opened this issue · comments

I'm trying to use Vid, by my first time, but it isn't working. When I try to open the program, it crash. So when I type something, the program quits.
vid-error
When I look to console, it appears the message "print_backtrace_skipping_top_frames is not implemented"

I just compiled ved with latest version of V and it compiled and works fine on Windows 10. Please try again and let us know.

Same issue on Windows Version 10.0.19041.508
V compiled from source:
v -v -> V 0.1.29 44753e6
Rebuilding ved doesn't help

Please paste the output of v doctor

$ v doctor
OS: windows, Microsoft Windows 10 Pro v19041 64 bites
Processor: 4 cpus, 64bit, little endian, AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G
CC version: N/A

vroot: D:\Prog\v
vexe: D:\Prog\v\v.exe
vexe mtime: 2020-10-18 08:21:20
is vroot writable: true
V full version: V 0.1.29 44753e6

Git version: git version 2.27.0.windows.1
Git vroot status: latest-commit-44-g44753e62 (3 commit(s) behind V master)
.git/config present: true
thirdparty/tcc: N/A

Which C compiler (and version of it)?

$ gcc -v
Using built-in specs.
COLLECT_GCC=C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/../libexec/gcc/x86_64-w64-mingw32/8.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-8.1.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64 --enable-shared --enable-static --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/mingw810/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64 project' --with-bugurl=https://sourceforge.net/projects/mingw-w64 CFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/include -I/c/mingw810/prerequisites/x86_64-zlib-static/include -I/c/mingw810/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/mingw810/x86_64-810-posix-seh-rt_v6-rev0/mingw64/opt/lib -L/c/mingw810/prerequisites/x86_64-zlib-static/lib -L/c/mingw810/prerequisites/x86_64-w64-mingw32-static/lib '
Thread model: posix
gcc version 8.1.0 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)

That's a fairly ancient version of GCC. Latest is 10.2.0.

I'd recommend going to http://winlibs.com/ and downloading the latest version to use, instead. Check down the page a bit under "Release Versions" and make sure to get the Win64 version.

That's the version I'm using, and it seems to be working fine, here.

Updated gcc to version 10.2.0 from the site you linked, and recompiled v & ved, but the problem persists.

Do you get any kind of error message when ved crashes?

No error message, no crash, it just shows this screen
image

And no matter what you type, it just exits with no message?

can't type, does not exit

Try hitting Crtl-O...

oh, well sorry about that..

yeah you need to open a file/directory with ./ved file.v or hit ctrl + O

the UI will be improved

so this means that it works for you now :) great