Comments (5)
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.
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.
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.
Hi soulslicer,
How did you create hard link to clang++-3.6?
from ycm-generator.
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)
- unwanted flag "c++" in the flags HOT 1
- Possible to support alternative compiler for cross compiler such as ARM, POWERPC ? HOT 1
- Stucked on Linux kernel of version 4.9-rc8
- 'CC=gcc-7' inside Makefile does not work , while 'CC=gcc' does. (ERROR: no commands ... ) HOT 1
- meson/ninja generator creates incorrect include paths HOT 1
- How to set external library dir
- ERROR: No commands were logged to the build logs HOT 1
- test for generating configuration file for linux kernel is slow HOT 1
- ERROR: Unknown build system HOT 4
- Compatible with Conan HOT 2
- E464: Ambiguous use of user-defined command: Plug 'rdnetto/YCM-Generator' , { 'branch': 'stable'} HOT 1
- Package not found via config_gen HOT 4
- ld in fake-toolchain must work properly HOT 2
- ESP32 IDF and YCM-Generator not working well together HOT 5
- Does YCM-Generator support transform compile_commands.json to .color_coded
- Does this plugin support python 3?
- The template file for .ycm_extra_conf.py should be changed for clangd changed
- .vimrc imap <C-n> <Down>, when type "return 0;", then "<C-n> cant use anymore HOT 1
- Missing verb in README.md
- Doesn't seem to work with Kbuild (Linux Kernel build system)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ycm-generator.