Data-Oriented-House / PortableBuildTools

Portable VS Build Tools installer
595 stars 19 forks source link

Setup failed due to PATH errors #5

Closed LinArcX closed 3 months ago

LinArcX commented 6 months ago

I tried to install PortableBuildToosl. but at the end of installation phase, i get this error: Capture

LinArcX commented 6 months ago

On my system, this env was Path not PATH. I tried to make it in capital letters. but still have the same problem.

LinArcX commented 6 months ago

Seems PATH has a maximum length. I watched my PATH and there were lots of entries in it. I tried to remove some of them to make more space for PortableBuildTools. but still have this issue. did you check the length of PATH before adding new envs to it?

https://stackoverflow.com/questions/1880321/why-does-the-260-character-path-length-limit-exist-in-window

joakin commented 6 months ago

I just had this same issue. After a restart I was able to build the Odin compiler fine, but I get LLVM error now when I try to compile my project.

SolarScuffle-Bot commented 6 months ago

Firstly, please provide some information about your system, at least a version number.

Secondly, the current maintainer has stepped down, so the project is on hiatus. As a temporary fix, add %SDK_BIN% and %MSVC_BIN% to PATH manually, or use a devcmd.bat script in the build tools folder.

Ronin15 commented 5 months ago

Having the same issue as well. Whatever info needed i can provide.

Ronin15 commented 5 months ago

Figured this out. I was having the issue as well. If you already had a user var set for path, then it will throw the error. Copy your user path var contents and save it. Delete the path var, then Run the tool, then append your path data after the tool set its var data for path :)

j-begin commented 3 months ago

I think this has been fixed. Test it on your end.