Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [clang]

The tag has no usage guidance.

0
votes
0answers
6 views

cmake error encountered when build clang-query

I encountered the following error when I was trying to build clang-query. parallels@ubuntu18:~/myllvm/llvm/tools/clang/tools/extra/clang-query$ cmake . -- The C compiler identification is GNU 7.3.0 --...
-1
votes
0answers
31 views

clang -Xlinker -v reports error: linker command failed with exit code 1

When I run: [user]$ clang -Xlinker -v from command line I get: @(#)PROGRAM:ld PROJECT:ld64-409.12 BUILD 17:47:51 Sep 25 2018 configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h ...
1
vote
1answer
38 views

How can I install python3-clang on Linux Mint 18.04?

I have a vim plugin called CLighter8 that requires the package python3-clang, but unfortnuately I can't find it in the default repository nor any other repository. So I can't really find a way to ...
0
votes
1answer
842 views

Doxygen cannot find the shared library(s) 'libclang.so.6: version `LLVM_6.0'' which it requires to run

I installed doxygen from the binary distribution for Linux x86-64. I'm running Ubuntu 17.10. The installation went smoothly. When I try to run doxygen, it shows the following error: doxygen: error ...
4
votes
1answer
3k views

How do I install Clang 4.0 on Ubuntu 14.04?

I need to install Clang 4.0 and Clang++ 4.0 on my Ubuntu 14.04 box. The most recent version I can find in the apt-get package list is 3.5. How do I install 4.0?
6
votes
0answers
363 views

Change compile flags for Homebrew

We're building a large C++ application on OS X Yosemite 10.10. This application relies on a number of third-party libraries which we install using Homebrew prior to building our application. Our ...
1
vote
1answer
272 views

Cannot Build Swift on FreeBSD - REPL error

I am attempting to install Swift 3 on FreeBSD 10.2 using the official build script but am unable to do so. I am receiving the following error: fatal error: too many errors emitted, stopping now [-...
2
votes
0answers
202 views

Custom-defined type highlighting in Sublime Text

I am looking for a configuration/combination of plugins + clang (or any other parser) that can allow sublime text to highlight all custom defined types just like it highlights native types such as int,...
1
vote
0answers
135 views

What does “selecting 'python-clang-3.8' for regex 'clang-3.8'” mean?

I'm working on a Raspberry Pi 3. The device uses Raspbian, which is Debian derivative. I'm trying to install Clang 3.8 because Clang 3.7 appears to lack proper sanitizer support. When I run the ...
4
votes
1answer
3k views

Install a deleted homebrew formulae

Recently, homebrew decided to remove clang-omp from the list of formulae available to install from. Is there any way to retrieve it? Or would I have to download and build clang-omp bit manually?
20
votes
3answers
4k views

Why does clang generate unintelligible text when redirected?

I am trying to save the output of a command to a file. The command is: clang -Xclang -ast-dump -fsyntax-only main.cpp > output.txt However the resulting output.txt file when opened (by gedit and ...
0
votes
1answer
241 views

Unknown option -pthread in LD

This is a follow up from this issue on Github. Basically, on OS X El Capitan, I get this message: ld: unknown option: -pthread clang: error: linker command failed with exit code 1 (use -v to see ...
2
votes
1answer
131 views

Does a better/newer C or C++ compiler produce more performant compiled code? Or do they just perform faster/better while compiling?

I am not a C or C++ programmer myself, but I often use software that needs to be compiled or otherwise depends on a compiler, like some R packages. Will that software actually perform better if I use ...
2
votes
2answers
2k views

Clang can't locate Homebrew-installed libportaudio

I installed libportaudio using Homebrew on OS X. The install succeeded and I verified there were symlinks to the actual headers and libraries in /usr/local/include and /usr/local/lib. However, I am ...
1
vote
1answer
1k views

How to update the Clang compiler from version 3.1 to version 3.4 in Debian Linux?

It is as what the question is saying, I am new on Linux. I need the Clang++ compiler update to version 3.4 for the assignment that I need to do. I simply just typed in Terminal sudo apt-get install ...
0
votes
0answers
655 views

Installing Homebrew on OSX 10.9

I am trying to install Homebrew with this commands: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" # Add Homebrews binary path to the front of the $PATH echo 'export ...
1
vote
1answer
2k views

Are clang and llvm no longer maintained in cygwin?

I cannot find binaries for clang or llvm using cygwin's setup.exe. Are they no longer maintained?
1
vote
0answers
149 views

Sublime TextEditor 2 in Vintage mode completion

I have several problem with my autocompletion which I want to fix: I have completion by Space. I want that when I press Space means I don't want completion I want a space symbol now. I want to choose ...
8
votes
2answers
9k views

Which binary clang version I should use for CentOS

Based on http://llvm.org/releases/download.html Clang Binaries for FreeBSD9/x86_64 (69M)(.sig) Clang Binaries for Ubuntu-12.04/x86 (67M)(.sig) Clang Binaries for Ubuntu-12.04/x86_64 (71M)(.sig) ...