compile pproblems with muparser
Posted by pavel on Jul 06, 2014; 3:52pm
URL: https://forum.librecad.org/compile-pproblems-with-muparser-tp5710123.html
I have problems building LibreCAD (latest git clone) on Debian. Although
I have installed muparser-dev package, the problems were still there, I
don't know why the package could not be found.
However, I was able to at least locate the problem. The file
"librecad/scr/muparser.pri" has the following condition:
macx|win32|equals(build_muparser, "true")|!packagesExist(muparser){...
while the file "libraries/libraries.pro" has the following condition:
macx|win32|equals(build_muparser, "true"){...
So if the last condition (!packagesExist(muparser)) is fulfilled, then
"../../generated/lib/libmuparser.a" is added to the LIBS but there are
no instructions in makefiles to build the library. The solution is to
make the condition in libraries.pro equal to the condition in
muparser.pri.
How can I report this bug?
Thanks, Pavel