artap-framework / agrossuite

GNU General Public License v2.0
28 stars 2 forks source link

Project status, updated release for Windows and Building errors on Ubuntu 20.04 #3

Open wolfallein opened 1 year ago

wolfallein commented 1 year ago

Thanks for this work, the software is amazing!

I started to look into Agros2D this week using the Windows release and I was impressed with its capabilities, but I would like to know the status of the development. It seems that there haven't been activities here for some time and the latest 'stable' version is outdated for the Windows version.

For Ubuntu, there are more recent builds (Appimages) from 2020 but I could not launch it using my Debian pc so I tried to compile it following the instructions. It gave me several errors that were difficult to track down. Most of them are related to incompatible library versions.

I ended up using a virtual machine with an Ubuntu 20.04 to get the Appimage to work and there have been some improvements that I would like to have on the Windows version or on my Debian PC.

I did try to compile it on Ubuntu 20.04 and I could not get it to work as well. Here is the Cmake log:

Cmake log ```` [ 1%] Automatic MOC for target agros_3rdparty_dxflib [ 2%] Automatic MOC for target agros_3rdparty_poly2tri [ 3%] Automatic MOC for target agros_3rdparty_qcustomplot [ 3%] Automatic MOC for target agros_3rdparty_ctemplate [ 3%] Built target agros_3rdparty_dxflib_autogen [ 3%] Built target agros_3rdparty_poly2tri_autogen [ 4%] Automatic MOC for target agros_3rdparty_quazip [ 4%] Built target agros_3rdparty_ctemplate_autogen [ 4%] Automatic MOC for target SHARED [ 5%] Automatic MOC for target agros_3rdparty_stb_truetype [ 5%] Built target SHARED_autogen [ 5%] Built target agros_3rdparty_stb_truetype_autogen [ 5%] Automatic MOC for target agros_3rdparty_matio [ 5%] Generating matioConfig.h [ 5%] Built target MATIO_CONFIG [ 5%] Built target agros_3rdparty_quazip_autogen [ 6%] Automatic MOC for target agros_3rdparty_triangle [ 6%] Built target agros_3rdparty_matio_autogen [ 7%] Automatic MOC for target agros_3rdparty_nlopt2 [ 7%] Built target agros_3rdparty_qcustomplot_autogen [ 7%] Automatic MOC for target agros_3rdparty_nsga2 [ 7%] Built target agros_3rdparty_triangle_autogen [ 8%] Automatic MOC for target agros_3rdparty_qtawesome [ 8%] Built target agros_3rdparty_nlopt2_autogen [ 9%] Generating ../resources_source/lang/ru_RU.qm [ 9%] Generating ../resources_source/lang/qt_ru.qm [ 9%] Built target agros_3rdparty_nsga2_autogen Updating '/home/jpereira/agrossuite/resources_source/lang/ru_RU.qm'... Generated 1084 translation(s) (807 finished and 277 unfinished) Ignored 236 untranslated source text(s) Updating '/home/jpereira/agrossuite/resources_source/lang/qt_ru.qm'... Generated 2226 translation(s) (2056 finished and 170 unfinished) Ignored 138 untranslated source text(s) [ 9%] Built target ru_RU [ 9%] Built target qt_ru [ 10%] Generating ../resources_source/lang/cs_CZ.qm [ 10%] Generating ../resources_source/lang/qt_en.qm [ 10%] Generating ../resources_source/lang/plugin_en_US.qm Updating '/home/jpereira/agrossuite/resources_source/lang/cs_CZ.qm'... Generated 1216 translation(s) (1173 finished and 43 unfinished) Ignored 148 untranslated source text(s) Updating '/home/jpereira/agrossuite/resources_source/lang/qt_en.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 2247 untranslated source text(s) Updating '/home/jpereira/agrossuite/resources_source/lang/plugin_en_US.qm'... Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 310 untranslated source text(s) [ 10%] Built target qt_en [ 10%] Built target plugin_en_US [ 10%] Built target agros_3rdparty_qtawesome_autogen [ 10%] Built target cs_CZ [ 10%] Generating ../resources_source/lang/fr_FR.qm [ 10%] Generating ../resources_source/lang/plugin_ru_RU.qm [ 11%] Generating ../resources_source/lang/plugin_pl_PL.qm [ 11%] Generating ../resources_source/lang/pl_PL.qm Updating '/home/jpereira/agrossuite/resources_source/lang/plugin_pl_PL.qm'... Updating '/home/jpereira/agrossuite/resources_source/lang/plugin_ru_RU.qm'... Generated 289 translation(s) (280 finished and 9 unfinished) Ignored 21 untranslated source text(s) Generated 289 translation(s) (280 finished and 9 unfinished) Ignored 21 untranslated source text(s) Updating '/home/jpereira/agrossuite/resources_source/lang/pl_PL.qm'... Updating '/home/jpereira/agrossuite/resources_source/lang/fr_FR.qm'... [ 11%] Built target plugin_pl_PL Generated 1062 translation(s) (794 finished and 268 unfinished) Ignored 258 untranslated source text(s) Generated 1086 translation(s) (807 finished and 279 unfinished) Ignored 234 untranslated source text(s) [ 11%] Built target plugin_ru_RU [ 11%] Built target fr_FR [ 11%] Built target pl_PL [ 13%] Generating ../resources_source/lang/plugin_cs_CZ.qm [ 13%] Generating ../resources_source/lang/qt_fr.qm [ 13%] Generating ../resources_source/lang/en_US.qm [ 13%] Generating ../resources_source/lang/qt_cs.qm Updating '/home/jpereira/agrossuite/resources_source/lang/plugin_cs_CZ.qm'... Generated 288 translation(s) (280 finished and 8 unfinished) Ignored 22 untranslated source text(s) Updating '/home/jpereira/agrossuite/resources_source/lang/qt_fr.qm'... [ 13%] Built target plugin_cs_CZ Generated 2018 translation(s) (2018 finished and 0 unfinished) Ignored 315 untranslated source text(s) Updating '/home/jpereira/agrossuite/resources_source/lang/qt_cs.qm'... Updating '/home/jpereira/agrossuite/resources_source/lang/en_US.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) Ignored 1214 untranslated source text(s) Generated 2364 translation(s) (2364 finished and 0 unfinished) [ 13%] Built target qt_fr [ 13%] Built target en_US [ 13%] Built target qt_cs [ 13%] Generating ../resources_source/lang/qt_pl.qm [ 13%] Generating ../resources_source/lang/plugin_fr_FR.qm Updating '/home/jpereira/agrossuite/resources_source/lang/qt_pl.qm'... [ 14%] Automatic MOC for target solver_plugin_UMFPACK Updating '/home/jpereira/agrossuite/resources_source/lang/plugin_fr_FR.qm'... Generated 289 translation(s) (280 finished and 9 unfinished) Ignored 21 untranslated source text(s) Generated 2351 translation(s) (2350 finished and 1 unfinished) Ignored 13 untranslated source text(s) [ 14%] Automatic MOC for target solver_plugin_MUMPS [ 14%] Built target plugin_fr_FR [ 14%] Built target qt_pl Scanning dependencies of target agros_3rdparty_ctemplate [ 14%] Generating ../resources_source/python/_agros.cpp [ 14%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/agros_3rdparty_ctemplate_autogen/mocs_compilation.cpp.o [ 14%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/base/arena.cc.o [ 15%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/htmlparser/htmlparser.cc.o [ 15%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/htmlparser/jsparser.cc.o [ 15%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/htmlparser/statemachine.cc.o [ 16%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/per_expand_data.cc.o [ 16%] Built target solver_plugin_MUMPS_autogen Scanning dependencies of target agros_3rdparty_dxflib [ 17%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/agros_3rdparty_dxflib_autogen/mocs_compilation.cpp.o [ 17%] Built target solver_plugin_UMFPACK_autogen [ 17%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/drw_classes.cpp.o Scanning dependencies of target agros_3rdparty_poly2tri [ 18%] Building CXX object 3rdparty/poly2tri/CMakeFiles/agros_3rdparty_poly2tri.dir/agros_3rdparty_poly2tri_autogen/mocs_compilation.cpp.o [ 18%] Built target CYTHON_AGROS Scanning dependencies of target agros_3rdparty_qcustomplot [ 18%] Building CXX object 3rdparty/poly2tri/CMakeFiles/agros_3rdparty_poly2tri.dir/common/shapes.cc.o [ 18%] Building CXX object 3rdparty/qcustomplot/CMakeFiles/agros_3rdparty_qcustomplot.dir/agros_3rdparty_qcustomplot_autogen/mocs_compilation.cpp.o [ 18%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template_annotator.cc.o [ 18%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template_cache.cc.o [ 18%] Building CXX object 3rdparty/poly2tri/CMakeFiles/agros_3rdparty_poly2tri.dir/sweep/advancing_front.cc.o [ 18%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/drw_entities.cpp.o [ 18%] Building CXX object 3rdparty/poly2tri/CMakeFiles/agros_3rdparty_poly2tri.dir/sweep/cdt.cc.o [ 18%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template.cc.o [ 19%] Building CXX object 3rdparty/poly2tri/CMakeFiles/agros_3rdparty_poly2tri.dir/sweep/sweep.cc.o [ 19%] Building CXX object 3rdparty/poly2tri/CMakeFiles/agros_3rdparty_poly2tri.dir/sweep/sweep_context.cc.o [ 19%] Linking CXX shared library ../../libs/libagros_3rdparty_poly2tri.so [ 19%] Built target agros_3rdparty_poly2tri [ 20%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template_dictionary.cc.o [ 20%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template_modifiers.cc.o [ 20%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template_namelist.cc.o [ 21%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template_pathops.cc.o [ 21%] Building CXX object 3rdparty/ctemplate/CMakeFiles/agros_3rdparty_ctemplate.dir/template_string.cc.o [ 21%] Building CXX object 3rdparty/qcustomplot/CMakeFiles/agros_3rdparty_qcustomplot.dir/qcustomplot.cpp.o Scanning dependencies of target agros_3rdparty_quazip [ 21%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/agros_3rdparty_quazip_autogen/mocs_compilation.cpp.o [ 22%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/drw_header.cpp.o [ 22%] Linking CXX shared library ../../libs/libagros_3rdparty_ctemplate.so [ 22%] Built target agros_3rdparty_ctemplate Scanning dependencies of target SHARED [ 22%] Building CXX object 3rdparty/quazip/CMakeFiles/SHARED.dir/SHARED_autogen/mocs_compilation.cpp.o [ 23%] Linking CXX shared library ../../libs/libSHARED.so [ 23%] Built target SHARED Scanning dependencies of target agros_3rdparty_stb_truetype [ 23%] Building CXX object 3rdparty/stb_truetype/CMakeFiles/agros_3rdparty_stb_truetype.dir/agros_3rdparty_stb_truetype_autogen/mocs_compilation.cpp.o [ 23%] Linking C shared library ../../libs/libagros_3rdparty_stb_truetype.so [ 23%] Built target agros_3rdparty_stb_truetype Scanning dependencies of target agros_3rdparty_matio [ 23%] Building CXX object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/agros_3rdparty_matio_autogen/mocs_compilation.cpp.o [ 24%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/endian.c.o [ 24%] Building C object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/unzip.c.o [ 24%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/inflate.c.o [ 24%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/io.c.o [ 25%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/mat4.c.o [ 26%] Building C object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/zip.c.o [ 26%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/mat5.c.o [ 26%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/JlCompress.cpp.o [ 26%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/qioapi.cpp.o [ 26%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quaadler32.cpp.o [ 27%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quachecksum32.cpp.o [ 27%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quacrc32.cpp.o [ 27%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quagzipfile.cpp.o [ 28%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quaziodevice.cpp.o [ 28%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quazip.cpp.o [ 28%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quazipdir.cpp.o [ 28%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/drw_objects.cpp.o [ 29%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quazipfile.cpp.o [ 29%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/libdwgr.cpp.o [ 29%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quazipfileinfo.cpp.o [ 29%] Building CXX object 3rdparty/quazip/CMakeFiles/agros_3rdparty_quazip.dir/quazipnewinfo.cpp.o [ 29%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/libdxfrw.cpp.o [ 29%] Linking CXX shared library ../../libs/libagros_3rdparty_quazip.so [ 29%] Built target agros_3rdparty_quazip Scanning dependencies of target agros_3rdparty_triangle [ 29%] Building CXX object 3rdparty/triangle/CMakeFiles/agros_3rdparty_triangle.dir/agros_3rdparty_triangle_autogen/mocs_compilation.cpp.o [ 29%] Building C object 3rdparty/triangle/CMakeFiles/agros_3rdparty_triangle.dir/triangle.c.o In file included from /home/jpereira/agrossuite/3rdparty/triangle/triangle.c:361: /home/jpereira/agrossuite/3rdparty/triangle/triangle.h:252:9: warning: 'ANSI_DECLARATORS' macro redefined [-Wmacro-redefined] #define ANSI_DECLARATORS ^ :1:9: note: previous definition is here #define ANSI_DECLARATORS 1 ^ In file included from /home/jpereira/agrossuite/3rdparty/triangle/triangle.c:361: /home/jpereira/agrossuite/3rdparty/triangle/triangle.h:253:9: warning: 'VOID' macro redefined [-Wmacro-redefined] #define VOID void ^ /home/jpereira/agrossuite/3rdparty/triangle/triangle.c:319:9: note: previous definition is here #define VOID int ^ [ 29%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/mat73.c.o [ 29%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/mat.c.o [ 30%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/matvar_cell.c.o [ 30%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/matvar_struct.c.o [ 30%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/read_data.c.o 2 warnings generated. [ 30%] Linking CXX shared library ../../libs/libagros_3rdparty_triangle.so [ 30%] Built target agros_3rdparty_triangle Scanning dependencies of target agros_3rdparty_nlopt2 [ 30%] Building CXX object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/agros_3rdparty_nlopt2_autogen/mocs_compilation.cpp.o [ 31%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/direct/DIRect.c.o [ 31%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/direct/direct_wrap.c.o [ 31%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/direct/DIRserial.c.o [ 32%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/direct/DIRsubrout.c.o [ 32%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/cdirect/cdirect.c.o [ 32%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/cdirect/hybrid.c.o [ 32%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/praxis/praxis.c.o [ 33%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/drw_dbg.cpp.o [ 34%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/luksan/plis.c.o [ 34%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/luksan/plip.c.o [ 34%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/luksan/pnet.c.o [ 34%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/drw_textcodec.cpp.o [ 35%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/luksan/mssubs.c.o [ 36%] Building C object 3rdparty/matio/CMakeFiles/agros_3rdparty_matio.dir/snprintf.c.o [ 36%] Linking CXX shared library ../../libs/libagros_3rdparty_matio.so /usr/bin/ld: CMakeFiles/agros_3rdparty_matio.dir/mat.c.o: in function `Mat_VarDelete': /home/jpereira/agrossuite/3rdparty/matio/mat.c:1098: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' [ 36%] Built target agros_3rdparty_matio [ 36%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/luksan/pssubs.c.o Scanning dependencies of target agros_3rdparty_nsga2 [ 36%] Building CXX object 3rdparty/nsga2/CMakeFiles/agros_3rdparty_nsga2.dir/agros_3rdparty_nsga2_autogen/mocs_compilation.cpp.o [ 36%] Building CXX object 3rdparty/nsga2/CMakeFiles/agros_3rdparty_nsga2.dir/random.cpp.o [ 36%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/crs/crs.c.o [ 36%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/mlsl/mlsl.c.o [ 37%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/mma/mma.c.o [ 37%] Building CXX object 3rdparty/nsga2/CMakeFiles/agros_3rdparty_nsga2.dir/global.cpp.o [ 37%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/mma/ccsa_quadratic.c.o [ 37%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgbuffer.cpp.o [ 37%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/cobyla/cobyla.c.o [ 38%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgreader15.cpp.o [ 39%] Building CXX object 3rdparty/nsga2/CMakeFiles/agros_3rdparty_nsga2.dir/NSGA2.cpp.o [ 40%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/newuoa/newuoa.c.o [ 40%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgreader18.cpp.o [ 40%] Linking CXX shared library ../../libs/libagros_3rdparty_nsga2.so /usr/bin/ld: CMakeFiles/agros_3rdparty_nsga2.dir/NSGA2.cpp.o: in function `nsga2::NSGA2::save_backup() const': /home/jpereira/agrossuite/3rdparty/nsga2/NSGA2.cpp:290: warning: the use of `tmpnam' is dangerous, better use `mkstemp' [ 40%] Built target agros_3rdparty_nsga2 [ 40%] Generating qrc_QtAwesome.cpp Scanning dependencies of target agros_3rdparty_qtawesome [ 40%] Building CXX object 3rdparty/QtAwesome/CMakeFiles/agros_3rdparty_qtawesome.dir/agros_3rdparty_qtawesome_autogen/mocs_compilation.cpp.o [ 41%] Building CXX object 3rdparty/QtAwesome/CMakeFiles/agros_3rdparty_qtawesome.dir/QtAwesome.cpp.o [ 41%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/neldermead/nldrmd.c.o [ 41%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/neldermead/sbplx.c.o [ 41%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/auglag/auglag.c.o [ 42%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/bobyqa/bobyqa.c.o [ 42%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgreader21.cpp.o [ 42%] Linking CXX shared library ../../libs/libagros_3rdparty_qcustomplot.so [ 42%] Built target agros_3rdparty_qcustomplot [ 42%] Building CXX object 3rdparty/QtAwesome/CMakeFiles/agros_3rdparty_qtawesome.dir/QtAwesomeAnim.cpp.o [ 42%] Building CXX object 3rdparty/QtAwesome/CMakeFiles/agros_3rdparty_qtawesome.dir/qrc_QtAwesome.cpp.o [ 42%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/isres/isres.c.o [ 42%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/slsqp/slsqp.c.o [ 42%] Linking CXX shared library ../../libs/libagros_3rdparty_qtawesome.so [ 42%] Built target agros_3rdparty_qtawesome Scanning dependencies of target solver_plugin_UMFPACK [ 42%] Building CXX object solver-plugin-umfpack/CMakeFiles/solver_plugin_UMFPACK.dir/solver_plugin_UMFPACK_autogen/mocs_compilation.cpp.o [ 43%] Building CXX object solver-plugin-umfpack/CMakeFiles/solver_plugin_UMFPACK.dir/main.cpp.o [ 43%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgreader24.cpp.o [ 44%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/algs/esch/esch.c.o [ 44%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/api/general.c.o [ 45%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgreader27.cpp.o [ 45%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgreader.cpp.o In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:23: /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:75:34: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] DEAL_II_CONSTEXPR std::size_t &operator[](const unsigned int i); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:75:34: error: functions that differ only in their return type cannot be overloaded DEAL_II_CONSTEXPR std::size_t &operator[](const unsigned int i); ~~~~~~~~~~~~~^ /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:70:33: note: previous declaration is here DEAL_II_CONSTEXPR std::size_t operator[](const unsigned int i) const; ~~~~~~~~~~~ ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:94:3: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] sort(); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:131:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] AssertIndexRange(i, N); ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/exceptions.h:1650:3: note: expanded from macro 'AssertIndexRange' Assert( \ ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/exceptions.h:1449:5: note: expanded from macro 'Assert' {} ^ In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:23: /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:138:39: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator[](const unsigned int i) ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:138:39: error: return type of out-of-line definition of 'dealii::TableIndices::operator[]' differs from that in the declaration operator[](const unsigned int i) ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:129:38: note: previous definition is here operator[](const unsigned int i) const ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:165:18: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] TableIndices::sort() ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/table_indices.h:165:18: error: constexpr function's return type 'void' is not a literal type In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:25: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:23: /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx14/utility.h:32:14: error: no member named 'index_sequence' in namespace 'std' using std::index_sequence; ~~~~~^ /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx14/utility.h:33:14: error: no member named 'index_sequence_for' in namespace 'std' using std::index_sequence_for; ~~~~~^ /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx14/utility.h:34:9: error: no member named 'make_index_sequence' in namespace 'std'; did you mean 'QtPrivate::makeIndexSequence'? using std::make_index_sequence; ^~~~~~~~~~~~~~~~~~~~~~~~ QtPrivate::makeIndexSequence /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:129:21: note: 'QtPrivate::makeIndexSequence' declared here template using makeIndexSequence = InvokeGenSeq>; ^ In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:25: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:26: /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:281:3: error: constexpr function's return type 'void' is not a literal type contract(T1 &result, const T2 &left, const T3 &right) ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:637:7: error: constexpr function's return type 'void' is not a literal type contract(T1 &result, const T2 &left, const T3 &right) ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:667:7: error: constexpr function's return type 'void' is not a literal type contract(T1 &result, const T2 &left, const T3 &right) ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:697:7: error: constexpr function's return type 'void' is not a literal type contract(T1 &result, const T2 &left, const T3 &right) ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:719:16: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions] T1 result = dealii::internal::NumberType::value(0.0); ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:724:16: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions] T1 result = ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:727:13: error: statement not allowed in constexpr function for (unsigned int i = 1; i < dim; ++i) ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:776:12: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions] T1 result = dealii::internal::NumberType::value(0.0); ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:777:9: error: statement not allowed in constexpr function for (unsigned int i = 0; i < dim; ++i) ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:806:12: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions] T1 result = dealii::internal::NumberType::value(0.0); ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor_accessors.h:807:9: error: statement not allowed in constexpr function for (unsigned int i = 0; i < dim; ++i) ^ [ 45%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/api/options.c.o [ 45%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dwgutil.cpp.o [ 45%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/api/optimize.c.o In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:25: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:29: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/lapack_full_matrix.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/table.h:21: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/aligned_vector.h:24: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/parallel.h:25: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/thread_management.h:24: /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx17/tuple.h:32:44: error: no template named 'index_sequence' in namespace 'dealii::std_cxx14' apply_impl(F &&fn, Tuple &&t, std_cxx14::index_sequence) ~~~~~~~~~~~^ /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx17/tuple.h:43:16: error: no template named 'make_index_sequence' in namespace 'dealii::std_cxx14'; did you mean 'makeIndexSequence'? std_cxx14::make_index_sequence< ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ makeIndexSequence /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx14/utility.h:34:14: note: 'makeIndexSequence' declared here using std::make_index_sequence; ^ In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:25: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:29: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/lapack_full_matrix.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/table.h:21: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/aligned_vector.h:24: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/parallel.h:25: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/thread_management.h:24: /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx17/tuple.h:50:34: error: no template named 'make_index_sequence' in namespace 'dealii::std_cxx14'; did you mean 'makeIndexSequence'? std_cxx14::make_index_sequence()); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ makeIndexSequence /home/jpereira/agrossuite/dealii/include/deal.II/base/std_cxx14/utility.h:34:14: note: 'makeIndexSequence' declared here using std::make_index_sequence; ^ In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:25: /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:204:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] DEAL_II_CONSTEXPR DEAL_II_CUDA_HOST_DEV operator Number &(); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:225:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator=(const Tensor<0, dim, OtherNumber> &rhs); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:248:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator=(const OtherNumber &d); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:271:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator+=(const Tensor<0, dim, OtherNumber> &rhs); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:280:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator-=(const Tensor<0, dim, OtherNumber> &rhs); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:289:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator*=(const OtherNumber &factor); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:298:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator/=(const OtherNumber &factor); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:321:3: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] clear(); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:546:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator[](const unsigned int i); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:554:41: error: functions that differ only in their return type cannot be overloaded operator[](const unsigned int i) const; ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:546:43: note: previous declaration is here operator[](const unsigned int i); ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:565:29: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] DEAL_II_CONSTEXPR Number &operator[](const TableIndices &indices); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:565:29: error: functions that differ only in their return type cannot be overloaded DEAL_II_CONSTEXPR Number &operator[](const TableIndices &indices); ~~~~~~~~^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:560:27: note: previous declaration is here operator[](const TableIndices &indices) const; ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:600:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator=(const Tensor &rhs); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:609:21: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator=(const Number &d); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:632:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator+=(const Tensor &); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:641:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator-=(const Tensor &); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:651:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator*=(const OtherNumber &factor); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:660:43: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] operator/=(const OtherNumber &factor); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:683:3: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] clear(); ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:777:51: error: no template named 'index_sequence' in namespace 'dealii::std_cxx14' Tensor(const ArrayLike &initializer, std_cxx14::index_sequence); ~~~~~~~~~~~^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:842:28: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions] Tensor tmp; ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:843:7: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] tmp = t; ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:919:49: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] DEAL_II_CUDA_HOST_DEV Tensor<0, dim, Number>::operator Number &() ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:923:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] Assert(dim != 0, ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/exceptions.h:1449:5: note: expanded from macro 'Assert' {} ^ In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:25: /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:936:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] Assert(dim != 0, ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/exceptions.h:1449:5: note: expanded from macro 'Assert' {} ^ In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/main.cpp:28: In file included from /home/jpereira/agrossuite/solver-plugin-umfpack/../agros-library/solver/plugin_solver_interface.h:39: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparse_matrix.h:27: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/lac/sparsity_pattern.h:22: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/array_view.h:23: In file included from /home/jpereira/agrossuite/dealii/include/deal.II/base/symmetric_tensor.h:25: /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:947:27: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] Tensor<0, dim, Number>::operator=(const Tensor<0, dim, OtherNumber> &p) ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:949:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] value = internal::NumberType::value(p); ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:970:27: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] Tensor<0, dim, Number>::operator=(const OtherNumber &d) ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:972:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] value = internal::NumberType::value(d); ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:1007:27: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] Tensor<0, dim, Number>::operator+=(const Tensor<0, dim, OtherNumber> &p) ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:1009:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] value += p.value; ^ /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:1018:27: warning: 'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior [-Wconstexpr-not-const] Tensor<0, dim, Number>::operator-=(const Tensor<0, dim, OtherNumber> &p) ^ const /home/jpereira/agrossuite/dealii/include/deal.II/base/tensor.h:1020:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions] value -= p.value; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 39 warnings and 20 errors generated. make[2]: *** [solver-plugin-umfpack/CMakeFiles/solver_plugin_UMFPACK.dir/build.make:76: solver-plugin-umfpack/CMakeFiles/solver_plugin_UMFPACK.dir/main.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1811: solver-plugin-umfpack/CMakeFiles/solver_plugin_UMFPACK.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 46%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/api/deprecated.c.o [ 46%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/api/f77api.c.o [ 46%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/util/mt19937ar.c.o [ 47%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/util/sobolseq.c.o [ 47%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/util/timer.c.o [ 47%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/util/stop.c.o [ 47%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/util/redblack.c.o [ 48%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/util/qsort_r.c.o [ 49%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dxfreader.cpp.o [ 49%] Building C object 3rdparty/nlopt2/CMakeFiles/agros_3rdparty_nlopt2.dir/src/util/rescale.c.o [ 49%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/dxfwriter.cpp.o [ 49%] Linking CXX shared library ../../libs/libagros_3rdparty_nlopt2.so [ 49%] Built target agros_3rdparty_nlopt2 [ 49%] Building CXX object 3rdparty/libdxfrw/CMakeFiles/agros_3rdparty_dxflib.dir/intern/rscodec.cpp.o [ 49%] Linking CXX shared library ../../libs/libagros_3rdparty_dxflib.so [ 49%] Built target agros_3rdparty_dxflib make: *** [Makefile:152: all] Error 2 ````

I would like to ask if it is possible to have a release for Windows with the latest improvements or a more detailed guide so I can compile it myself. The guide for Windows compilation was not easy to follow.

An updated compilation guide for Linux is also very good. I think it can be a good idea to state the version of libraries used so the users can try to replicate it.

Thank you

BR

wolfallein commented 1 year ago

I tried to compile it for many days with no luck. Is it possible to share the machine details that compiled it? What was the compiler version?

Thanks for the work

ThijsWithaar commented 1 year ago

For Ubuntu Lunar, I need these dependencies:

sudo apt-get install -y libqt5svg5-dev libqt5xmlpatterns5-dev libdeal.ii-dev libmumps-seq-dev xsdcxx qttools5-dev cython3 libopenmpi-dev

And this patch solves some compilations errors, but not all: argos_fix.patch

RandomDude4 commented 1 year ago

I am also interested in this topic. I am a frequent user of Agros2D for Windows, I am forced to use the old 3.2.0.20140521 version due to lack of updates for Windows.

The only main issue I have with this old version is its inability to handle larger meshes, as it crashes due to overflow errors and general instability. If anyone finds a way of compiling an improved version, compared to 3.2.0.20140521, for Windows let me know as I am very interested!