You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to track down an issue with building Squash using Clang on AppVeyor, and I believe the problem was that Clang is installed to a path containing spaces (C:\Program Files\LLVM).
More specifically, when the path contains spaces, CMake ends up invoking clang++ with the short name C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE, but clang++ only behaves like a C++ compiler if its name is clang++, so it does not link with the standard C++ libraries.
If I copy the LLVM folder to C:\LLVM (and add that to the path), the build works.
The text was updated successfully, but these errors were encountered:
I have been trying to track down an issue with building Squash using Clang on AppVeyor, and I believe the problem was that Clang is installed to a path containing spaces (
C:\Program Files\LLVM
).More specifically, when the path contains spaces, CMake ends up invoking clang++ with the short name
C:\PROGRA~1\LLVM\bin\CLANG_~1.EXE
, but clang++ only behaves like a C++ compiler if its name is clang++, so it does not link with the standard C++ libraries.If I copy the LLVM folder to
C:\LLVM
(and add that to the path), the build works.The text was updated successfully, but these errors were encountered: