You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I had Clang as my default compiler on my system. When I tried to build YouCompleteMe with Clang, it kept failing with it saying it couldn't find a header (<cstddef> to be exact). My result looked something like this (click to expand):
I think it's something to do with Clang not using the includes provided by libstdc++6-4.7-dev (the one I use), only GCC seems able to finding this.
The following is my system specifications, just in case someone else runs into this issue.
$ uname -a
Linux laptop.jalcine.me 3.8.0-4-generic 8-Ubuntu SMP Fri Feb 1 18:02:56 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Since it seems like a machine-specific/configuration-related issue, I'm closing this. Thanks for posting it though, it might come hand to me or someone eles in the future.
So I had Clang as my default compiler on my system. When I tried to build YouCompleteMe with Clang, it kept failing with it saying it couldn't find a header (
<cstddef>
to be exact). My result looked something like this (click to expand):I think it's something to do with Clang not using the includes provided by
libstdc++6-4.7-dev
(the one I use), only GCC seems able to finding this.The following is my system specifications, just in case someone else runs into this issue.
$ uname -a
Linux laptop.jalcine.me 3.8.0-4-generic 8-Ubuntu SMP Fri Feb 1 18:02:56 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu Raring Ringtail (development branch)
Release: 13.04
Codename: raring
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.7.2-20ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-20ubuntu1)
$ clang -v
Ubuntu clang version 3.2-1~exp5ubuntu2 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
$ llvm-clang -v
Ubuntu clang version 3.2-1~exp5ubuntu2 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: llvm
Thread model: posix
The text was updated successfully, but these errors were encountered: