Re: Compile and use software renderer
Jonathan Camilleri <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <CAAPdoyjkBWxosUV2y5=EfgQ6Jz8rfa6DcaVBzkga-yXBej++tQ@mail.gmail.com> |
Apparently I forgot to link the gles library, it has worked now. Thanks anyway. On Thu, Sep 10, 2020 at 8:30 PM Jonathan Camilleri <[email protected]> wrote: > > 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.