Error when installing on Linux

Post Reply
kwint
Posts: 2
Joined: Mon May 01, 2017 1:01 pm

Error when installing on Linux

Post by kwint »

Hi,

I'm getting the following error when installing bullet3 on ubuntu. First I tried to install it with pip install pybullet and also tried installing it with cmake and python setup.py install

Everytime I get the same error:

Code: Select all

cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from examples/OpenGLWindow/X11OpenGLWindow.cpp:13:0:
examples/ThirdPartyLibs/Glew/CustomGL/glxew.h:97:10: fatal error: X11/Xlib.h: No such file or directory
 #include <X11/Xlib.h>
          ^~~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
What am I doing wrong?
ktfh
Posts: 44
Joined: Thu Apr 14, 2016 3:44 pm

Re: Error when installing on Linux

Post by ktfh »

your probably missing xlib development headers and stuff, On ubuntu and debian "apt-get install libx11-dev"?
kwint
Posts: 2
Joined: Mon May 01, 2017 1:01 pm

Re: Error when installing on Linux

Post by kwint »

ktfh wrote:your probably missing xlib development headers and stuff, On ubuntu and debian "apt-get install libx11-dev"?
Oh, thanks! that was it
Post Reply