vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.
GNU General Public License v3.0
1.34k stars 78 forks source link

mac: Error building Ved in external drive #184

Open padunk opened 3 weeks ago

padunk commented 3 weeks ago

V doctor:

V full version: V 0.4.5 8dafca1.28cabf4
OS: macos, macOS, 14.4.1, 23E224
Processor: 8 cpus, 64bit, little endian, Apple M1

getwd: /Volumes/kaizen/ved
vexe: /Volumes/kaizen/v/v
vexe mtime: 2024-04-25 00:48:44

vroot: OK, value: /Volumes/kaizen/v
VMODULES: OK, value: /Users/minibramo/.vmodules
VTMP: OK, value: /tmp/v_501

Git version: git version 2.39.3 (Apple Git-146)
Git vroot status: weekly.2024.17-17-g28cabf47
.git/config present: true

CC version: Apple clang version 15.0.0 (clang-1500.3.9.4)
thirdparty/tcc status: thirdparty-macos-arm64 5c1d002f

What did you do? v -g -o vdbg cmd/v && vdbg file.v

What did you expect to see?

ved build successfully

What did you see instead?

builder error: file.v doesn't exist

Notes This is my first time using V and I want to try Ved. So I clone the repo both V and Ved in my external drive and run it from there.

Screenshot 2024-04-25 at 07 54 35

[!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.

JalonSolov commented 3 weeks ago

The v bug file.v is if you have your own source file, named file.v, the v bug will create an issue for you and upload that file as part of the issue. Since you don't have your own file, it failed with the message about failing to open that file.

The problem you're seeing may be mac specific, so I changed the title. Ved compiles fine for me, on Linux.

spytheman commented 2 weeks ago

That InstallApplicationEventHandler is called in uiold/uiold.m in the Ved repo, which is not used on Linux.