Help building from source on Ubuntu 18.04

Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Help building from source on Ubuntu 18.04

aangelo
Hi all!
I never compiled from source under Linux (and have a poor knowledge of Linux) but I cannot find any 2.2.x version for Ubuntu 18.04 so I tried compiling as suggested in:
https://wiki.librecad.org/index.php?title=Build_from_source#Build_LibreCAD

I followed the steps in "Install dependencies" (from the same url), without any error warning.
The whole procedure is in COMPILAZIONE_DI_LIBRECAD_-_2019-04-14.txt

After make command I get the following:
---------------------------------------
antonio@HP-Laptop-15:~/develop/LibreCAD$ make -j4
cd libraries/ && make -f Makefile
make[1]: ingresso nella directory "/home/antonio/develop/LibreCAD/libraries"
cd libdxfrw/ && make -f Makefile
cd jwwlib/ && make -f Makefile
make[2]: ingresso nella directory "/home/antonio/develop/LibreCAD/libraries/libdxfrw"
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/libdxfrw.o src/libdxfrw.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/libdwgr.o src/libdwgr.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/drw_header.o src/drw_header.cpp
make[2]: ingresso nella directory "/home/antonio/develop/LibreCAD/libraries/jwwlib"
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -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/jwwlib/moc -o ../../generated/lib/jwwlib/obj/dl_writer_ascii.o src/dl_writer_ascii.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -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/jwwlib/moc -o ../../generated/lib/jwwlib/obj/dl_jww.o src/dl_jww.cpp
src/libdxfrw.cpp: In member function ‘bool dxfRW::processPolyline()’:
src/libdxfrw.cpp:2521:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 processVertex(&pl);
                 ~~~~~~~~~~~~~^~~~~
src/libdxfrw.cpp:2524:9: note: here
         default:
         ^~~~~~~
src/libdxfrw.cpp: In member function ‘bool dxfRW::processVertex(DRW_Polyline*)’:
src/libdxfrw.cpp:2545:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
    else if (nextentity == "VERTEX")
         ^~
src/libdxfrw.cpp:2548:9: note: here
         default:
         ^~~~~~~

g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -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/jwwlib/moc -o ../../generated/lib/jwwlib/obj/jwwdoc.o src/jwwdoc.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/drw_classes.o src/drw_classes.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/drw_entities.o src/drw_entities.cpp
rm -f libjwwlib.a
ar cqs libjwwlib.a ../../generated/lib/jwwlib/obj/dl_writer_ascii.o ../../generated/lib/jwwlib/obj/dl_jww.o ../../generated/lib/jwwlib/obj/jwwdoc.o
rm -f ../../generated/lib/libjwwlib.a
mv -f libjwwlib.a ../../generated/lib/
make[2]: uscita dalla directory "/home/antonio/develop/LibreCAD/libraries/jwwlib"
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/drw_objects.o src/drw_objects.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/drw_textcodec.o src/intern/drw_textcodec.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dxfreader.o src/intern/dxfreader.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dxfwriter.o src/intern/dxfwriter.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgreader.o src/intern/dwgreader.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgbuffer.o src/intern/dwgbuffer.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/drw_dbg.o src/intern/drw_dbg.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgreader21.o src/intern/dwgreader21.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgreader18.o src/intern/dwgreader18.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgreader15.o src/intern/dwgreader15.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgutil.o src/intern/dwgutil.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/rscodec.o src/intern/rscodec.cpp
src/intern/dwgutil.cpp: In static member function ‘static void dwgCompressor::copyCompBytes21(duint8*, duint8*, duint32, duint32, duint32)’:
src/intern/dwgutil.cpp:422:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
         dbuf[dix] = cbuf[six];
         ~~~~~~~~~~^~~~~~~~~~~
src/intern/dwgutil.cpp:423:5: note: here
     case 8: //Ok
     ^~~~

g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgreader27.o src/intern/dwgreader27.cpp
g++ -c -m64 -pipe -g -std=c++11 -std=c++11 -O2 -Wall -W -fPIC -D_REENTRANT -DQT_NO_DEBUG -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4 -I../../generated/lib/libdxfrw/moc -o ../../generated/lib/libdxfrw/obj/dwgreader24.o src/intern/dwgreader24.cpp
rm -f libdxfrw.a
ar cqs libdxfrw.a ../../generated/lib/libdxfrw/obj/libdxfrw.o ../../generated/lib/libdxfrw/obj/libdwgr.o ../../generated/lib/libdxfrw/obj/drw_header.o ../../generated/lib/libdxfrw/obj/drw_classes.o ../../generated/lib/libdxfrw/obj/drw_entities.o ../../generated/lib/libdxfrw/obj/drw_objects.o ../../generated/lib/libdxfrw/obj/drw_textcodec.o ../../generated/lib/libdxfrw/obj/dxfreader.o ../../generated/lib/libdxfrw/obj/dxfwriter.o ../../generated/lib/libdxfrw/obj/dwgreader.o ../../generated/lib/libdxfrw/obj/dwgbuffer.o ../../generated/lib/libdxfrw/obj/drw_dbg.o ../../generated/lib/libdxfrw/obj/dwgreader21.o ../../generated/lib/libdxfrw/obj/dwgreader18.o ../../generated/lib/libdxfrw/obj/dwgreader15.o ../../generated/lib/libdxfrw/obj/dwgutil.o ../../generated/lib/libdxfrw/obj/rscodec.o ../../generated/lib/libdxfrw/obj/dwgreader27.o ../../generated/lib/libdxfrw/obj/dwgreader24.o
rm -f ../../generated/lib/libdxfrw.a
mv -f libdxfrw.a ../../generated/lib/
make[2]: uscita dalla directory "/home/antonio/develop/LibreCAD/libraries/libdxfrw"
make[1]: uscita dalla directory "/home/antonio/develop/LibreCAD/libraries"
cd librecad/ && make -f Makefile
make[1]: ingresso nella directory "/home/antonio/develop/LibreCAD/librecad"
cd src/ && make -f Makefile
make[2]: ingresso nella directory "/home/antonio/develop/LibreCAD/librecad/src"
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_commandwidget.ui -o ../../generated/librecad/ui/ui_qg_commandwidget.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_arcoptions.ui -o ../../generated/librecad/ui/ui_qg_arcoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_arctangentialoptions.ui -o ../../generated/librecad/ui/ui_qg_arctangentialoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_beveloptions.ui -o ../../generated/librecad/ui/ui_qg_beveloptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_blockdialog.ui -o ../../generated/librecad/ui/ui_qg_blockdialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_circleoptions.ui -o ../../generated/librecad/ui/ui_qg_circleoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_circletan2options.ui -o ../../generated/librecad/ui/ui_qg_circletan2options.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_coordinatewidget.ui -o ../../generated/librecad/ui/ui_qg_coordinatewidget.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dimensionlabeleditor.ui -o ../../generated/librecad/ui/ui_qg_dimensionlabeleditor.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dimlinearoptions.ui -o ../../generated/librecad/ui/ui_qg_dimlinearoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dimoptions.ui -o ../../generated/librecad/ui/ui_qg_dimoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_widgetpen.ui -o ../../generated/librecad/ui/ui_qg_widgetpen.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlghatch.ui -o ../../generated/librecad/ui/ui_qg_dlghatch.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlginitial.ui -o ../../generated/librecad/ui/ui_qg_dlginitial.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgimageoptions.ui -o ../../generated/librecad/ui/ui_qg_dlgimageoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgarc.ui -o ../../generated/librecad/ui/ui_qg_dlgarc.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgcircle.ui -o ../../generated/librecad/ui/ui_qg_dlgcircle.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgdimension.ui -o ../../generated/librecad/ui/ui_qg_dlgdimension.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgdimlinear.ui -o ../../generated/librecad/ui/ui_qg_dlgdimlinear.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgline.ui -o ../../generated/librecad/ui/ui_qg_dlgline.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgellipse.ui -o ../../generated/librecad/ui/ui_qg_dlgellipse.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgmirror.ui -o ../../generated/librecad/ui/ui_qg_dlgmirror.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgmove.ui -o ../../generated/librecad/ui/ui_qg_dlgmove.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgmoverotate.ui -o ../../generated/librecad/ui/ui_qg_dlgmoverotate.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgmtext.ui -o ../../generated/librecad/ui/ui_qg_dlgmtext.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgoptionsdrawing.ui -o ../../generated/librecad/ui/ui_qg_dlgoptionsdrawing.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgoptionsgeneral.ui -o ../../generated/librecad/ui/ui_qg_dlgoptionsgeneral.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgoptionsmakercam.ui -o ../../generated/librecad/ui/ui_qg_dlgoptionsmakercam.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgpoint.ui -o ../../generated/librecad/ui/ui_qg_dlgpoint.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgpolyline.ui -o ../../generated/librecad/ui/ui_qg_dlgpolyline.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgrotate.ui -o ../../generated/librecad/ui/ui_qg_dlgrotate.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgrotate2.ui -o ../../generated/librecad/ui/ui_qg_dlgrotate2.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgscale.ui -o ../../generated/librecad/ui/ui_qg_dlgscale.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgspline.ui -o ../../generated/librecad/ui/ui_qg_dlgspline.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_dlgtext.ui -o ../../generated/librecad/ui/ui_qg_dlgtext.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_exitdialog.ui -o ../../generated/librecad/ui/ui_qg_exitdialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_imageoptions.ui -o ../../generated/librecad/ui/ui_qg_imageoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_insertoptions.ui -o ../../generated/librecad/ui/ui_qg_insertoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_layerdialog.ui -o ../../generated/librecad/ui/ui_qg_layerdialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_libraryinsertoptions.ui -o ../../generated/librecad/ui/ui_qg_libraryinsertoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_lineangleoptions.ui -o ../../generated/librecad/ui/ui_qg_lineangleoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_linebisectoroptions.ui -o ../../generated/librecad/ui/ui_qg_linebisectoroptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_lineoptions.ui -o ../../generated/librecad/ui/ui_qg_lineoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_lineparalleloptions.ui -o ../../generated/librecad/ui/ui_qg_lineparalleloptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_lineparallelthroughoptions.ui -o ../../generated/librecad/ui/ui_qg_lineparallelthroughoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_linepolygon2options.ui -o ../../generated/librecad/ui/ui_qg_linepolygon2options.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_linepolygonoptions.ui -o ../../generated/librecad/ui/ui_qg_linepolygonoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_linerelangleoptions.ui -o ../../generated/librecad/ui/ui_qg_linerelangleoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_modifyoffsetoptions.ui -o ../../generated/librecad/ui/ui_qg_modifyoffsetoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_mousewidget.ui -o ../../generated/librecad/ui/ui_qg_mousewidget.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_moverotateoptions.ui -o ../../generated/librecad/ui/ui_qg_moverotateoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_mtextoptions.ui -o ../../generated/librecad/ui/ui_qg_mtextoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_polylineoptions.ui -o ../../generated/librecad/ui/ui_qg_polylineoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_polylineequidistantoptions.ui -o ../../generated/librecad/ui/ui_qg_polylineequidistantoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_printpreviewoptions.ui -o ../../generated/librecad/ui/ui_qg_printpreviewoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_roundoptions.ui -o ../../generated/librecad/ui/ui_qg_roundoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_selectionwidget.ui -o ../../generated/librecad/ui/ui_qg_selectionwidget.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_snapdistoptions.ui -o ../../generated/librecad/ui/ui_qg_snapdistoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_snapmiddleoptions.ui -o ../../generated/librecad/ui/ui_qg_snapmiddleoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_splineoptions.ui -o ../../generated/librecad/ui/ui_qg_splineoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_textoptions.ui -o ../../generated/librecad/ui/ui_qg_textoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_trimamountoptions.ui -o ../../generated/librecad/ui/ui_qg_trimamountoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_snaptoolbar.ui -o ../../generated/librecad/ui/ui_qg_snaptoolbar.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/qg_activelayername.ui -o ../../generated/librecad/ui/ui_qg_activelayername.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/lc_dlgsplinepoints.ui -o ../../generated/librecad/ui/ui_lc_dlgsplinepoints.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/forms/lc_widgetoptionsdialog.ui -o ../../generated/librecad/ui/ui_lc_widgetoptionsdialog.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/lc_deviceoptions.ui -o ../../generated/librecad/ui/ui_lc_deviceoptions.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/generic/comboboxoption.ui -o ../../generated/librecad/ui/ui_comboboxoption.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/generic/widgetcreator.ui -o ../../generated/librecad/ui/ui_widgetcreator.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/generic/colorwizard.ui -o ../../generated/librecad/ui/ui_colorwizard.h
/usr/lib/x86_64-linux-gnu/qt4/bin/uic ui/generic/textfileviewer.ui -o ../../generated/librecad/ui/ui_textfileviewer.h
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_actioninterface.o lib/actions/rs_actioninterface.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_preview.o lib/actions/rs_preview.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_previewactioninterface.o lib/actions/rs_previewactioninterface.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_snapper.o lib/actions/rs_snapper.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_creation.o lib/creation/rs_creation.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_debug.o lib/debug/rs_debug.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_arc.o lib/engine/rs_arc.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_block.o lib/engine/rs_block.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_blocklist.o lib/engine/rs_blocklist.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_clipboard.o lib/engine/rs_clipboard.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_circle.o lib/engine/rs_circle.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_constructionline.o lib/engine/rs_constructionline.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_dimaligned.o lib/engine/rs_dimaligned.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_dimangular.o lib/engine/rs_dimangular.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_dimdiametric.o lib/engine/rs_dimdiametric.cpp
g++ -c -m64 -pipe -g -std=c++11 -O2 -Wall -W -D_REENTRANT -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.2.0-rc1-111-g46458dee" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I/usr/include -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Imain/console_dxf2pdf -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I../../generated/librecad/moc -I../../generated/librecad/ui -o ../../generated/librecad/obj/rs_dimension.o lib/engine/rs_dimension.cpp
lib/engine/rs_dimangular.cpp: In member function ‘virtual QString RS_DimAngular::getMeasuredLabel()’:
lib/engine/rs_dimangular.cpp:144:42: error: ‘QStringLiteral’ was not declared in this scope
     int dimaunit {getGraphicVariableInt( QStringLiteral( "$DIMAUNIT"), 0)};
                                          ^~~~~~~~~~~~~~
lib/engine/rs_dimangular.cpp:144:42: note: suggested alternative: ‘QStringList’
     int dimaunit {getGraphicVariableInt( QStringLiteral( "$DIMAUNIT"), 0)};
                                          ^~~~~~~~~~~~~~
                                          QStringList
Makefile:28649: recipe for target '../../generated/librecad/obj/rs_dimangular.o' failed
make[2]: *** [../../generated/librecad/obj/rs_dimangular.o] Error 1
make[2]: *** Attesa per i processi non terminati....
make[2]: uscita dalla directory "/home/antonio/develop/LibreCAD/librecad/src"
Makefile:39: recipe for target 'sub-src-make_default' failed
make[1]: *** [sub-src-make_default] Error 2
make[1]: uscita dalla directory "/home/antonio/develop/LibreCAD/librecad"
Makefile:78: recipe for target 'sub-librecad-make_default-ordered' failed
make: *** [sub-librecad-make_default-ordered] Error 2

---------------------------------------

In ./unix/librecad I cannot find any generated executable.

I cannot understand the error messages.
Can someone help me?
Thank you!
--
Antonio
Reply | Threaded
Open this post in threaded view
|

Re: Help building from source on Ubuntu 18.04

dellus
Reply | Threaded
Open this post in threaded view
|

Re: Help building from source on Ubuntu 18.04

fa201
In reply to this post by aangelo
Hello,

I compiled on Xubuntu 18.04 LTS following the directions in build from source without any issue last week.

You can try to update your source following instructions in "Update a local LibreCAD repository" on the same "build from source" page and restart the compiling process.

Fabrice.