Carla: ubuntu 18.04 : 'xlocale.h' file not found

Created on 14 Jun 2018  路  2Comments  路  Source: carla-simulator/carla

trying to build master

build fails with:
```[ 50%] Building CXX object projects/libcxx/lib/CMakeFiles/cxx.dir/__/src/algorithm.cpp.o
In file included from /.../workspace/carla/Util/Build/llvm-source/projects/libcxx/src/algorithm.cpp:11:
In file included from /.../workspace/carla/Util/Build/llvm-source/projects/libcxx/include/random:1646:
In file included from /.../workspace/carla/Util/Build/llvm-source/projects/libcxx/include/istream:163:
In file included from /.../workspace/carla/Util/Build/llvm-source/projects/libcxx/include/ostream:138:
In file included from /.../workspace/carla/Util/Build/llvm-source/projects/libcxx/include/ios:216:
/.../workspace/carla/Util/Build/llvm-source/projects/libcxx/include/__locale:39:11: fatal error:
'xlocale.h' file not found

include

```

see
https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27

Most helpful comment

I compiled using the proposed workaround
ln -s /usr/include/locale.h /usr/include/xlocale.h

All 2 comments

I compiled using the proposed workaround
ln -s /usr/include/locale.h /usr/include/xlocale.h

@maxlem thanks a lot, it solve my problem :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kk2491 picture kk2491  路  3Comments

metaluga145 picture metaluga145  路  4Comments

hc167 picture hc167  路  4Comments

rowanmcallister picture rowanmcallister  路  3Comments

tgrel picture tgrel  路  3Comments