Page 1 of 1

Error when installing on Linux

Posted: Mon May 01, 2017 1:06 pm
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?

Re: Error when installing on Linux

Posted: Mon May 01, 2017 4:39 pm
by ktfh
your probably missing xlib development headers and stuff, On ubuntu and debian "apt-get install libx11-dev"?

Re: Error when installing on Linux

Posted: Wed May 03, 2017 9:54 am
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