Re: Building LibreCAD from Github fork
Posted by joseph_oc on Mar 28, 2013; 2:47pm
URL: https://forum.librecad.org/Building-LibreCAD-from-Github-fork-tp5707778p5707781.html
Rallaz and others:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I have successfully installed the libboost-devl.
The build no longer gives errors relating to that library.
Unfortunately, the libmuparser library is still issuing errors. I paste the compiler output below.
I installed libmuparcer0 Ver 1.32-1 and libmuparser-dev Ver 1.32-1.
I have seen posting librecad forums regarding issues with the math libraries. There seems to be issues with the versions of g++ and libmuparser, at least
I have had dependency issues trying to upgrade these files.
Rallaz, if you can tell me the versions I should usef with regards to these issues and give me links to there locations, I am hoping to complete the compiling and have a functional configuration. Thanks
----------------------------------------------------------------------------------
Below are the compete compiler output from my last build, the above seems to be the issues.
----------------------------------------------------------------------------------
Running build steps for project librecad...
Configuration unchanged, skipping QMake step.
Starting: /usr/bin/make -w
make: Entering directory `/home/joseph/LibreCAD'
cd libraries/ && /usr/bin/make -f Makefile
make[1]: Entering directory `/home/joseph/LibreCAD/libraries'
cd libdxfrw/ && /usr/bin/make -f Makefile
make[2]: Entering directory `/home/joseph/LibreCAD/libraries/libdxfrw'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/joseph/LibreCAD/libraries/libdxfrw'
cd jwwlib/ && /usr/bin/make -f Makefile
make[2]: Entering directory `/home/joseph/LibreCAD/libraries/jwwlib'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/joseph/LibreCAD/libraries/jwwlib'
make[1]: Leaving directory `/home/joseph/LibreCAD/libraries'
cd librecad/ && /usr/bin/make -f Makefile
make[1]: Entering directory `/home/joseph/LibreCAD/librecad'
cd src/ && /usr/bin/make -f Makefile
make[2]: Entering directory `/home/joseph/LibreCAD/librecad/src'
g++ -c -pipe -std=c++0x -g -std=c++0x -Wall -W -D_REENTRANT -DQC_APPKEY="/LibreCAD" -DQC_APPNAME="LibreCAD" -DQC_COMPANYNAME="LibreCAD" -DQC_COMPANYKEY="LibreCAD" -DQC_VERSION="master" -DQC_DELAYED_SPLASH_SCREEN=1 -DHAS_BOOST=1 -DQC_SCMREVISION="2.0.0beta1-127-g0e8950a" -DQC_APPDIR="librecad" -DQINITIMAGES_LIBRECAD=qInitImages_librecad -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include/qt4/QtHelp -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/scripting -Iactions -Imain -Iplugins -Iui -Iui/forms -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_math.o lib/math/rs_math.cpp
lib/math/rs_math.cpp:33:22: error: muParser.h: No such file or directory
lib/math/rs_math.cpp: In static member function 'static double RS_Math::eval(const QString&, bool*)':
lib/math/rs_math.cpp:301: error: 'mu' has not been declared
lib/math/rs_math.cpp:301: error: expected ';' before 'p'
lib/math/rs_math.cpp:302: error: 'p' was not declared in this scope
lib/math/rs_math.cpp:307: error: expected type-specifier before 'mu'
lib/math/rs_math.cpp:307: error: expected ')' before '::' token
lib/math/rs_math.cpp:307: error: expected '{' before '::' token
lib/math/rs_math.cpp:307: error: '::Parser' has not been declared
lib/math/rs_math.cpp:307: error: 'e' was not declared in this scope
lib/math/rs_math.cpp:307: error: expected ';' before ')' token
make[2]: *** [../../generated/librecad/obj/rs_math.o] Error 1
make[2]: Leaving directory `/home/joseph/LibreCAD/librecad/src'
make[1]: Leaving directory `/home/joseph/LibreCAD/librecad'
make: Leaving directory `/home/joseph/LibreCAD'
make[1]: *** [sub-src-make_default] Error 2
make: *** [sub-librecad-make_default-ordered] Error 2
Exited with code 2.
Error while building project librecad
When executing build step 'Make'
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Thanks for your time!!!!