Open wolfallein opened 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
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
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!
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 ^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