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

Compiling help: Could not find Visual Studio VsDevCmd #563

Open
AndreyAdamenco opened this issue Mar 3, 2025 · 10 comments
Open

Compiling help: Could not find Visual Studio VsDevCmd #563

AndreyAdamenco opened this issue Mar 3, 2025 · 10 comments

Comments

@AndreyAdamenco
Copy link

Which target are you using?

[x] Windows
[ ] Linux
[ ] Mac

Explain your issue

I tried to compile the game and runned the update file to install all of the dependencies. The test option runs for 3 minutes and then spits the error "couldnt initialise MSVC", but I have this installed on PC along with the Visual Studio 2022
Image

Steps to reproduce

  1. Install all the dependecies and then run the test option
@NexIsDumb
Copy link
Member

NexIsDumb commented Mar 3, 2025

Did you run cne.bat? or only update.bat

@NexIsDumb
Copy link
Member

ah no wait im stupid mb
i meant,
did the update.bat ask you to install vsc stuff?

@AndreyAdamenco
Copy link
Author

no it didnt it just updated everything

@AndreyAdamenco
Copy link
Author

Image

Image

Image

@NexIsDumb
Copy link
Member

NexIsDumb commented Mar 3, 2025

no it didnt it just updated everything

thats odd then, it should ask you to download so vsc stuff
have you got any visual studio components downloaded already?

@NexIsDumb
Copy link
Member

NexIsDumb commented Mar 4, 2025

oh wait yes you do..
maybe they arent the right ones..? well run these commands and see what happens?:

curl -# -O https://download.visualstudio.microsoft.com/download/pr/3105fcfe-e771-41d6-9a1c-fc971e7d03a7/8eb13958dc429a6e6f7e0d6704d43a55f18d02a253608351b6bf6723ffdaf24e/vs_Community.exe
vs_Community.exe --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 -p

you should then probably restart your pc

@AndreyAdamenco
Copy link
Author

AndreyAdamenco commented Mar 4, 2025

is that normal that it starts to download 2019 VS instead of modyfing my 2022 install to include dependencies? I added these dependencies, is there other that I need to install here?

Image

@NexIsDumb
Copy link
Member

NexIsDumb commented Mar 4, 2025

is that normal that it starts to download 2019 VS instead of modyfing my 2022 install to include dependencies? I added these dependencies, is there other that I need to install here?

Image

well yeah fnf is based on 2019 vs

@FuroYT
Copy link
Member

FuroYT commented Mar 4, 2025

Pretty sure you can use any version of VS as long as it has the build tools by looking at lime source code as it uses vswhere to get the current version of visual studio

@r6915ee
Copy link

r6915ee commented Mar 4, 2025

is that normal that it starts to download 2019 VS instead of modyfing my 2022 install to include dependencies? I added these dependencies, is there other that I need to install here?

Image

I believe the 2022 edition, down to the Build Tools, still includes these components and is thus very compatible with Codename. The one major option that Lime needs is the Desktop Development workload, but I do have both of those listed in the image installed as well, if I remember correctly from my recent installation to the Build Tools in place of the full IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants