Build on OSX
Posted by Gertwin on Jan 30, 2014; 10:21pm
URL: https://forum.librecad.org/Build-on-OSX-tp5709473.html
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