Compilation error on Windows
Reported by a user. This error occurs allegedly due to an update in VSC and keeps the package from compiling properly on Windows machines. It appears to be independent of the TetraX version.
The following error messages occur when installing with pip (username redacted)
...
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(28): error C2057: Konstanter Ausdruck erwartet
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(28): error C2466: Zuordnung eines Arrays der konstanten Gr”áe 0 nicht m”glich.
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(28): error C2133: "x": Unbekannte GrӇe
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(28): error C2057: Konstanter Ausdruck erwartet
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(28): error C2133: "xi": Unbekannte GrӇe
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(28): error C2057: Konstanter Ausdruck erwartet
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(28): error C2133: "rho": Unbekannte GrӇe
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(29): error C2057: Konstanter Ausdruck erwartet
C:\Users\...\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(29): error C2466: Zuordnung eines Arrays der konstanten Gr”áe 0 nicht m”glich.
C:\Users\XXXX\AppData\Local\Temp\pip-req-build-w3fcgg1y\tetrax\core\fem_core\dense3D.c(29): error C2133: "eta": Unbekannte GrӇe
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\cl.exe'
failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for TetraX
Running setup.py clean for TetraX
Failed to build TetraX
and then
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\x64\\cl.exe'
failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> TetraX
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Edited by Koerber, Lukas (FWIN-C) - 108045