[Vm-dev] VM building on Pi, OpenGL libraries and other fun things

David T. Lewis lewis at mail.msen.com
Tue Aug 8 13:50:06 UTC 2017

On Mon, Aug 07, 2017 at 09:50:14PM -0700, tim Rowledge wrote:
> Question for other linux users - do you have a libGL.so file? Did you have to install mesa-common-dev? Can you make a vm with a working B3DAcceleratorPlugin?

Yes, on my Ubuntu laptop, I did this:

sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install libgles2-mesa-dev

Which results in the following being installed:

ii  libgl1-mesa-dev:amd64                                10.5.9-2ubuntu1~vivid2                     amd64        free implementation of the OpenGL API -- GLX development files
ii  libgles2-mesa-dev:amd64                              10.5.9-2ubuntu1~vivid2                     amd64        free implementation of the OpenGL|ES 2.x API -- development files
ii  libglib2.0-dev                                       2.44.1-1ubuntu1                            amd64        Development files for the GLib library

With Ian's cmake based build, you can exclude GL from the build with
the --without-gl option to the configure script, which makes it easy to
build a useful VM without the Linux library installation issues. But
I do not know of a way to do that with the oscog build process.


More information about the Vm-dev mailing list