Coder Social home page Coder Social logo

Comments (5)

soulslicer avatar soulslicer commented on September 3, 2024

I installed Clang but I appear to be getting an error saying I don't have clang

ERROR: Could not find clang++ at 'clang++'. Please make sure it is installed and specified appropriately.

I do have clang++ installed and I am able to enter it into the terminal

from ycm-generator.

rdnetto avatar rdnetto commented on September 3, 2024

First of all, YCM-Generator doesn't touch libclang at all - that's purely a YCM thing. Secondly, libclang actually has nothing to do with the error you're getting.

That error message is produced when YCM-Gen runs which clang++ and it fails. Given where it's failing, it looks like it's able to find clang, but not clang++. Could you please run which clang and which clang++ and let me know what their output is?

from ycm-generator.

soulslicer avatar soulslicer commented on September 3, 2024

Ok, so it seems that YCM-Gen only searches for clang/clang++ ? When I installed clang, the binaries got installed at clang++-3.6. Doing a hard link solved the problem. Very strange

from ycm-generator.

pBlasiak avatar pBlasiak commented on September 3, 2024

Hi soulslicer,
How did you create hard link to clang++-3.6?

from ycm-generator.

pBlasiak avatar pBlasiak commented on September 3, 2024

I used this

sudo ln -s /usr/bin/clang-6.0 /usr/bin/clang
sudo ln -s /usr/bin/clang++-6.0 /usr/bin/clang++

from ycm-generator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.