Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
running build_ext
building 'carla.libcarla' extension
clang-5.0 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Idependencies/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/include/python2.7 -c source/libcarla/libcarla.cpp -o build/temp.linux-x86_64-2.7/source/libcarla/libcarla.o -fPIC -std=c++14 -Wno-missing-braces -DBOOST_ERROR_CODE_HEADER_ONLY -DLIBCARLA_WITH_PYTHON_SUPPORT -DLIBCARLA_ENABLE_LIFETIME_PROFILER -DLIBCARLA_IMAGE_WITH_PNG_SUPPORT=true
In file included from source/libcarla/libcarla.cpp:109:
In file included from source/libcarla/SensorData.cpp:9:
In file included from dependencies/include/carla/image/ImageIO.h:9:
In file included from dependencies/include/carla/image/ImageIOConfig.h:50:
In file included from dependencies/include/boost/gil/extension/io/png_io.hpp:35:
In file included from /usr/include/png.h:321:
/usr/include/pngconf.h:383:12: error: unknown type name '__pngconf'
__pngconf.h__ in libpng already includes setjmp.h;
/usr/include/pngconf.h:383:21: error: cannot use dot operator on a type
__pngconf.h__ in libpng already includes setjmp.h;
/usr/include/pngconf.h:384:12: error: unknown type name '__dont__'
__dont__ include it again.;
/usr/include/pngconf.h:384:28: error: expected ';' after top level declarator
__dont__ include it again.;
4 errors generated.
error: command 'clang-5.0' failed with exit status 1
Util/BuildTools/ recipe for target 'PythonAPI' failed
make: *** [PythonAPI] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment