Compile and use software renderer

Jonathan Camilleri <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAAPdoyggHaKaLjf=mWAQhHJa+UDwpkj6D+CfgpktQFKfFxM1dQ@mail.gmail.com>
I am trying to run my application using the mesa software renderer
because I am having hardware issues which I cannot currently solve.

I have cloned mesa from github and compiled without any drivers, then
used ninja to install to '/usr/local'. I linked the application with
the newly built libraries, and set LD_LIBRARY_PATH to the directory.
The libraries were successfully found at runtime, however, there was
an error in shader compilation 'Supported versions are: 1.10 and 1.20'
where the compiled versions use '#version 300 es'.

I have used a precompiled 'opengl.dll' version of the mesa library for
Windows and the application worked without issues. I cannot figure out
how to make it work on ubuntu however. I am using a virtual machine
inside of Hyper-V if that makes a difference but I do not see how it
should since the library should do all the work.

I am quite new with this layer of programming so I apologise if this
is a trivial question.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.