Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during installation #23281

Closed
Xyndra opened this issue Dec 27, 2024 · 12 comments
Closed

Error during installation #23281

Xyndra opened this issue Dec 27, 2024 · 12 comments
Labels
Bug This tag is applied to issues which reports bugs.

Comments

@Xyndra
Copy link

Xyndra commented Dec 27, 2024

Describe the bug

unknown command cmd/v

Reproduction Steps

get the repo from https://vlang.io/
start make.bat
fix compile errors
start make.bat again

Expected Behavior

it works

Current Behavior

image

Possible Solution

No response

Additional Information/Context

No response

V version

unknown, but very recent at 27.12.24

Environment details (OS name and version, etc.)

Win11

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.

Huly®: V_0.6-21713

@Xyndra Xyndra added the Bug This tag is applied to issues which reports bugs. label Dec 27, 2024
@JalonSolov
Copy link
Contributor

Did you go through the instructions at the link provided in the error output?

I've never seen this type of failure reported on Windows before.

@Xyndra
Copy link
Author

Xyndra commented Dec 28, 2024

These are the only instructions I see on the page, and I did follow them:
image

@larpon
Copy link
Contributor

larpon commented Dec 28, 2024

@Xyndra if you have anti-virus running try disabling it while you install. V is known to trigger AV since it can generate executables, which is considered super dangerous by some (or all?) AV software

@Xyndra
Copy link
Author

Xyndra commented Dec 28, 2024

nope, only MS Defender. the problem is that the command cmd/v does not exist. I verified that it is written as exactly that in the .bat file

@JalonSolov
Copy link
Contributor

cmd/v is not a command, it is the path to the source for the v command line.

Something very weird is happening on your system.

Which version of Windows? 32-bit or 64-bit? Which C compilers do you have installed (if any)?

We recommend installing gcc+clang from https://winlibs.com

@Xyndra
Copy link
Author

Xyndra commented Dec 28, 2024

I am using 64-bit, I don't think 32 bit windows even exists anymore. I have multiple c compilers installed. The cmd directory only has a subfolder called tools, nothing else inside of it

@JalonSolov
Copy link
Contributor

Then you have an incomplete copy of the V repo. cmd should have 3 subdirs... tools, v, and v2.

Which version of git do you have?

@kbkpbot
Copy link
Contributor

kbkpbot commented Dec 28, 2024

try git pull again
and git checkout -f

@Xyndra
Copy link
Author

Xyndra commented Dec 29, 2024

Then you have an incomplete copy of the V repo. cmd should have 3 subdirs... tools, v, and v2.

Which version of git do you have?

I downloaded it from the website, as I said in my first message

@JalonSolov
Copy link
Contributor

Yes, I understand you did the git clone as recommended, but that didn't work for some reason. If it had, you would have all the subdirs. That's why I asked which version of git you have.

You can simply try again, as @kbkpbot suggested, or start over, after ensuring you have the latest version of git.

@Xyndra
Copy link
Author

Xyndra commented Dec 29, 2024

image
There is a literal download on the webpage that I used

@Xyndra
Copy link
Author

Xyndra commented Dec 29, 2024

wait nvm I just redownloaded it from the page and that one actually has v in the zip and actually works, it seems something wend very wrong during my first download

@Xyndra Xyndra closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs.
Projects
None yet
Development

No branches or pull requests

4 participants