Yggdrasil
Yggdrasil copied to clipboard
Installing clang in Windows
I called clang with help of the following code:
using Clang_jll: clang
cc = clang()
run(`$cc`)
Then I get the following error:
ERROR: LoadError: failed process: Process(setenv(`'C:\Users\T460\.julia\artifacts\7d2877da43b3fef993c8488c267bb543f27414f8\tools\clang.exe'`,["WINDIR=C:\\Windows", "PATH=C:\\Julia-1.10.0\\bin;C:\\Julia-1.10.0\\bin\\..\\lib\\julia;C:\\Julia-1.10.0\\bin\\..\\lib;C:\\Julia-1.10.0\\bin;C:\\Users\\T460\\AppData\\Roaming\\Sublime Text 3\\Packages\\IJulia/windeps/;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\dotnet\\;C:\\Program Files\\Microsoft SQL Server\\150\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\mingw-w64-v9.0.0\\mingw-w64-libraries;C:\\MinGW;C:\\Program Files\\CMake\\bin;C:\\mingw-w64_packagecompiler\\bin;C:\\Julia-1.10.0\\bin;C:\\Ruby27-x64\\bin;C:\\Users\\T460\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\T460\\.dotnet\\tools;C:\\Julia-1.10.0\\bin;C:\\mingw-w64_packagecompiler\\bin;C:\\llvm-mingw-20231031-ucrt-x86_64\\bin;", "ZES_ENABLE_SYSMAN=1", "USERDOMAIN_ROAMINGPROFILE=DESKTOP-0RMUE7S", "LOCALAPPDATA=C:\\Users\\T460\\AppData\\Local", "HOMEPATH=\\Users\\T460", "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 78 Stepping 3, GenuineIntel", "NUMBER_OF_PROCESSORS=4", "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW", "SESSIONNAME=Console" … "DRIVERDATA=C:\\Windows\\System32\\Drivers\\DriverData", "PROCESSOR_LEVEL=6", "FPS_BROWSER_USER_PROFILE_STRING=Default", "SYSTEMDRIVE=C:", "FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer", "PROGRAMW6432=C:\\Program Files", "TEMP=C:\\Users\\T460\\AppData\\Local\\Temp", "PROCESSOR_ARCHITECTURE=AMD64", "OPENBLAS_MAIN_FREE=1", "HOMEDRIVE=C:"]), ProcessExited(3221225785)) [3221225785]
Stacktrace:
[1] pipeline_error
@ Base .\process.jl:565 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base .\process.jl:480
[3] run(::Cmd)
@ Base .\process.jl:477
[4] top-level scope
@ C:\jul\staticcompiler\StaticCompiler.jl\test\stc_test.jl:7
in expression starting at C:\jul\staticcompiler\StaticCompiler.jl\test\stc_test.jl:7
[Finished in 7.8s]