Posted by:
----------------------------------------------------------
I'm writing You because I have problems compiling Agros2D with hermes
and I've seen that You are the most active person maintaining the
projects on github.
I'm a part of a research team and We would like to use and extend
Agros2D with our own solvers in the future so the first step for me is
to get familiar with the code and compile it from source.
However I ran into problems at compilation:
I was able to compile hermes (master) and use it, but when I'm trying to
compile agros2d I've always end up with compiler errors.
Technical details of my environment:
Ubuntu 14.04 LTS, with all the suggested prereq. packages from the
INSTALL file. I chose Qt5 so I installed the packages listed in that
section.
My compiler is gcc 4.8.2
My source tree is agros2d(master) with hermes(
40fde29444604082c710e2c409469e43170d1c10) checked out into the hermes subdirectory.
My CMake.vars file contains the following:
set(AGROS_DEBUG YES)
set(WITH_QT5 YES)
I've also modified the CMakeHermes.cmake:
http://paste2.org/BYaFfdD7
cmake . runs without errors and recognizes my settings, however when I try to compile, the following error occurs:
http://paste2.org/WIDsWB0c
I've fixed this by adding the line:
include <climits>
to the common.h file.
The compilation proceeds, but the following error occurs later:
http://paste2.org/98YWdpjb
I think this error is related to Q_OBJECT and inheritance but I'm not familiar enough with Qt to fix this.
Please help me, or point me at the right direction!
_____________________________
Üdvözlettel / Respectfully:
BUDAI Tamás
Tanszéki mérnök / Departmental Engineer
Széchenyi István Egyetem
Automatizálási Tanszék / Department of Automation
http://maxwell.sze.hu/~budait