You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V full version: V 0.4.6 e8eda21
OS: linux, "Arch Linux"
Processor: 12 cpus, 64bit, little endian, AMD Ryzen 5 5600G with Radeon Graphics
getwd: /home/r1ght/Desktop/gits/sdl
vexe: /usr/lib/vlang/v
vexe mtime: 2024-07-14 16:02:19
vroot: NOT writable, value: /usr/lib/vlang
VMODULES: OK, value: /home/r1ght/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.45.2
Git vroot status: Error: fatal: not a git repository (or any of the parent directories): .git
.git/config present: false
CC version: cc (GCC) 14.1.1 20240522
thirdparty/tcc status: Error: fatal: detected dubious ownership in repository at '/usr/lib/vlang/thirdparty/tcc'
To add an exception for this directory, call:
git config --global --add safe.directory /usr/lib/vlang/thirdparty/tcc
Error: fatal: detected dubious ownership in repository at '/usr/lib/vlang/thirdparty/tcc'
To add an exception for this directory, call:
git config --global --add safe.directory /usr/lib/vlang/thirdparty/tcc
What did you do? v -g -o vdbg cmd/v && vdbg examples/basic_window/main.v
==================
/tmp/v_1000/main.01J2S26BDWVR8GN9SN9XHJ9YD2.tmp.c:2024: error: ';' expected (got "sdl__OSEvent")
...
==================
(Use `v -cg` to print the entire error message)
builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered:
The sdl project branch needs to match the major and minor version of the SDL2 version installed on your system. Have you followed the project README.md install instructions? Versions are handled via git branches. Since you are on Arch Linux you might want to use the 2.30.0 branch of vlang/sdl
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg examples/basic_window/main.v
What did you expect to see?
a simple sdl window
What did you see instead?
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: