Re: Crash when saving block
Posted by
DanFreeman on
Jan 02, 2014; 10:04am
URL: https://forum.librecad.org/Crash-when-saving-block-tp5709330p5709333.html
I tried. Make failed.
These were the steps I took:
- copied/pasted the apt-get line from the page you referenced to install all the packages necessary for the build environment
- coped/pasted the git line for downloading a local copy from the repository
- cd into LibreCAD dir
- qmake librecad.pro
- make
This was the result:
cd libraries/ && make -f Makefile
make[1]: Entering directory `/usr/local/src/LibreCAD/libraries'
cd libdxfrw/ && make -f Makefile
make[2]: Entering directory `/usr/local/src/LibreCAD/libraries/libdxfrw'
g++ -c -m64 -pipe -std=c++11 -g -O2 -Wall -W -fPIC -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/libdxfrw.o src/libdxfrw.cpp
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [../../generated/lib/libdxfrw/obj/libdxfrw.o] Error 1
make[2]: Leaving directory `/usr/local/src/LibreCAD/libraries/libdxfrw'
make[1]: *** [sub-libdxfrw-make_default] Error 2
make[1]: Leaving directory `/usr/local/src/LibreCAD/libraries'
make: *** [sub-libraries-make_default-ordered] Error 2