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

CMake build with Clang may fail due to installation path #848

Closed
jibsen opened this issue Jun 11, 2016 · 1 comment
Closed

CMake build with Clang may fail due to installation path #848

jibsen opened this issue Jun 11, 2016 · 1 comment

Comments

@jibsen
Copy link

jibsen commented Jun 11, 2016

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.

@FeodorFitsner
Copy link
Member

We are closing this issue because it has been inactive for a long time.

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

2 participants