Login  Register

Re: find a fparser alternative

Posted by dxli on Mar 31, 2012; 6:40pm
URL: https://forum.librecad.org/find-a-fparser-alternative-tp5608668p5609181.html

hi all,

so muparser is the way to go, and I will get this done before implementation of new tangential circle/ellipse drawing methods.

thanks,

dongxu

On Mar 31, 2012 1:51 PM, "R. van Twisk [via LibreCAD]" <[hidden email]> wrote:
I am good with muparser,

OSX has muparser in ports, so that's not going to be a problem.

For Windows we put in the README instructions how to download muparser
for LibreCAD to compile, much like what we do with Boost at the moment.
Our Windows compiler user base is so low that I think it justifies the little
bit of extra work. And these people that can do it won't have problems.

I also agree that we shouldn't ship muparser with LibreCAD like
what we currently do with fparser.

Ries





On Mar 31, 2012, at 11:11 AM, dxli [via LibreCAD] wrote:

hi,

if there's not much trouble on windows/osx side, we will choose muparser accordingly.

the switching process seems to be trivial. I'm setting up a branch to test this idea.

thanks,

dongxu

On Mar 31, 2012 11:11 AM, "showard314 [via LibreCAD]" <<a href="x-msg://3098/user/SendEmail.jtp?type=node&amp;node=5609014&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:
On Sat, Mar 31, 2012 at 7:31 AM, dxli [via LibreCAD]
<[hidden email]> wrote:
>
> some candidates:
>
> http://muparser.sourceforge.net/mup_features.html

coincidentally, I'm the muparser maintainer in Debian and Ubuntu

I know qtiplot and scidavis use it and it works great - it could be a
good for LC. Just FYI, they improved their library versioning so that
in theory all libmuparser2 are compatible with each other. They don't
appear to follow libtool "age" and "revision," for example
libmuparser.so.2.2.2 is not compatible with libmuparser.so.0.

As for building, I think it's fair to either ship convenience copies
or just tell users they need libmuparser.so.2 and headers to build
(package libmuparser-dev on debian systems)

For ease of distribution, I'd suggest muparser.

~Scott



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/find-a-fparser-alternative-tp5608668p5608927.html
To start a new topic under LibreCAD-dev, email <a href="x-msg://3098/user/SendEmail.jtp?type=node&amp;node=5609014&amp;i=1" target="_top" rel="nofollow" link="external">[hidden email]
To unsubscribe from LibreCAD-dev, <a href="x-msg://3098/" target="_blank" rel="nofollow" link="external">click here.
NAML



If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/find-a-fparser-alternative-tp5608668p5609014.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML




If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/find-a-fparser-alternative-tp5608668p5609131.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML