Login  Register

Re: Build on OSX

Posted by R. van Twisk on Jan 30, 2014; 10:54pm
URL: https://forum.librecad.org/Build-on-OSX-tp5709473p5709474.html

Gertwin,

that’s rather odd, because what you show there looks ok to me.
I am used to macports through and we very recently are in macports aswell (for Mavericks, but soon for <10.9 if everything goes fine).

This the output of macports:
imac:~ rvt$ pkg-config --cflags --libs muparser
-I/opt/local/include -L/opt/local/lib -lmuparser 


--
Kind Regards,

e:[hidden email] / Tel. <a href="callto:+1%20803%20426%203350">+1 803 426 3350 / Skype: <a href="callto:r.vantwisk">r.vantwisk
http://riesvantwisk.com / chat:<a href="im:vantwisk@gmail.com">vantwisk@gmail.com


On Jan 30, 2014, at 5:21 PM, Gertwin [via LibreCAD] <[hidden email]> wrote:

New LibreCAD user (developer?) on OSX here.

I tried several (free) CAD applications to load my rather large dxf file (110mb. > 100000 entities).
LibreCAD was the only application which succeeded in doing so.

Next step for me is to to build LibreCAD from the source, but I am getting an error.
I installed boost with homebrew and muparser from the source.

Build output:
bash-3.2$ ./scripts/build-osx.sh
++ dirname ./scripts/build-osx.sh
+ SCRIPTPATH=./scripts
+ cd ./scripts/..
+ rm -rf LibreCAD.app
+ qmake librecad.pro -r
Reading /Users/gertwin/work/LibreCAD/LibreCAD.source/libraries/libraries.pro
 Reading /Users/gertwin/work/LibreCAD/LibreCAD.source/libraries/libdxfrw/libdxfrw.pro
Project MESSAGE: We will be using CPP11 features
 Reading /Users/gertwin/work/LibreCAD/LibreCAD.source/libraries/jwwlib/jwwlib.pro
Project MESSAGE: We will be using CPP11 features
Reading /Users/gertwin/work/LibreCAD/LibreCAD.source/librecad/librecad.pro
 Reading /Users/gertwin/work/LibreCAD/LibreCAD.source/librecad/src/src.pro
Project MESSAGE: We will be using CPP11 features
Project MESSAGE: Found Boost in /usr/local
Project MESSAGE: Using Boost includes from /usr/local/include
Project ERROR: Package muparser not found

I saw in muparser.pri the library is located with pkg-config.

In my case pkg-config can find it:
bash-3.2$ pkg-config --cflags --libs muparser
-I/usr/local/include -L/usr/local/lib -lmuparser

Any ideas why qmake does not find muparser?

Thanks,

Gertwin



 




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