Search code examples
c++qtmeshlab

meshlab 2016 compilation issue - Unable to find shaders directory


We tried to install meshlab 2016 on linux by compiling it from the source code. In the end, we managed to finish but with a notice saying

Unable to find shaders directory; No shaders will be loaded

Does anyone have a clue to solve this?

Also, while compiling, it seems that all the relative links for external libs (lib3ds.a etc) went mad, were forced to add exact path in the files to solve this. Does anyone have a solution for this?

The compilation is done using

QT 4.2.0 Based on Qt 5.7.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 64 bit)


Solution

  • Are you creating executable/shared libraries in a manually created folder? shaders folder is present in meshlab/src/distrib/ and by default executable and shared libraries will be copied to that location.