compile pproblems with muparser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

compile pproblems with muparser

pavel
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

Reply | Threaded
Open this post in threaded view
|

Re: compile pproblems with muparser

dxli
in master branch, we have:

librecad/src/muparser.pri:

macx|win32|equals(build_muparser, "true")|!packagesExist(muparser)

This issue seems to be fixed.
Reply | Threaded
Open this post in threaded view
|

Re: compile pproblems with muparser

pavel
but the problem is in libraries/libraries.pro - please check it once more.

Thanks, Pavel
asv
Reply | Threaded
Open this post in threaded view
|

Re: compile pproblems with muparser

asv
I tried clean build on Debian 7 and muparser was detected:

ldd unix/librecad output:
libmuparser.so.2 => /usr/lib/libmuparser.so.2

dpkg -S /usr/lib/libmuparser.so.2
libmuparser2: /usr/lib/libmuparser.so.2
Reply | Threaded
Open this post in threaded view
|

Re: compile pproblems with muparser

pavel
Well, I have also got muparser detected on one clean Debian 7 machine. However, if the muparser-dev package is not installed, the problem is still there. The muparser delivered with LibreCAD source code can be compiled, but the libraries.pro file must be fixed as I suggested.
Reply | Threaded
Open this post in threaded view
|

Re: compile pproblems with muparser

dxli
fixed in master branch, commit 143104b
Reply | Threaded
Open this post in threaded view
|

Re: compile pproblems with muparser

pavel
OK, thanks. I've found LibreCAD as a great system. Now, once I managed to build the application, I plan to implement some new sort of splines, which would go through the defined points and which would be possible to divide and draw with patterned line style. This is, I believe, quite a hard task for the current B-splines implementation. The idea behind is to approximate intersection of two cylinders, for example. I will create a new thread if I make any progress.
Reply | Threaded
Open this post in threaded view
|

Re: compile pproblems with muparser

dxli
yes, we would like to have spline and spline interpolation curves, i.e., spline curves to pass given points.

pavel wrote
OK, thanks. I've found LibreCAD as a great system. Now, once I managed to build the application, I plan to implement some new sort of splines, which would go through the defined points and which would be possible to divide and draw with patterned line style. This is, I believe, quite a hard task for the current B-splines implementation. The idea behind is to approximate intersection of two cylinders, for example. I will create a new thread if I make any progress.