0
votes
0answers
31 views

clang++ fails to compile simple hello world c++ program

After upgrade to 14.04 from 12.04 clang++ stopped working. $ cat test.cpp #include <iostream> int main() { std::cout << "Hello World" << std::endl; return 0; } $ ...
0
votes
0answers
137 views

How can I use C++11's <regex> on Ubuntu?

I normally use the G++ compiler, but I don't have anything against using clang++. Reading about this, I get the idea that G++'s implementation of C++11's regex might not compile, and if it does, it ...
1
vote
3answers
189 views

Unmet dependencies libc++ [duplicate]

How should I correctly install clang's c++ library (with STL) on my lubuntu machine? I want to use clang and its c++ library because it offers better support for the upcoming c++14 standard. When ...
3
votes
0answers
504 views

clang++ (version 3.3) lacks headers

This seems odd. Take a simple C++ program #include <cmath> #include <iostream> int main(void) { std::cout << "Square root of 9 is " << sqrt(9) << std::endl; } ...
0
votes
0answers
89 views

I am trying to set up Ubuntu as an IDE for C++

I don't really know how to phrase it, but I am not looking to use an actual IDE (codeblocks, netbeans, eclipse, etc). I have tried to follow several different tutorials, but things keep getting ...
0
votes
0answers
352 views

Linking a program with Boost using clang-3.4 and libc++?

I'm trying to compile a simple C++ test file using libc++ (instead of libstdc++) and the Boost Program Options library from the Ubuntu main repo. The program is as follows: #include ...
3
votes
1answer
1k views

How to install CLang using precompiled binaries?

How do I install CLang on Ubuntu, using precompiled binaries of CLang that I downloaded? Here's how I downloaded CLang: "LLVM Download Page" -> "Download LLVM 3.2" -> "Clang Binaries for ...