hpfem/agros2d

Compilation failed

sawickib opened this issue · 2 comments

Freshly cloned repository does not compile.
$ ./agros2d.sh comp
(...)
make[1]: Entering directory `/home/sawickib/agros2d/hermes2d'
g++ -c -m64 -pipe -fopenmp -O2 -w -D_REENTRANT -fPIC -DQT_WEBKIT -DNOGLUT -DWITH_UMFPACK -DH2D_DISABLE_MULTIMESH_TESTS -DWITH_PARALUTION -DWITH_MUMPS -DHAVE_FMEMOPEN -DHAVE_LOG2 -DWITH_MUMPS -DQT_NO_DEBUG -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 -I../3rdparty/paralution/src -Iinclude -Iinclude/adapt -Iinclude/boundary_conditions -Iinclude/function -Iinclude/integrals -Iinclude/mesh -Iinclude/quadrature -Iinclude/projections -Iinclude/refinement_selectors -Iinclude/shapeset -Iinclude/space -Iinclude/views -Iinclude/weakform -I../hermes_common -I../hermes_common/include -I../hermes_common/include/solvers -I/usr/include/google -I/usr/include/suitesparse -I/usr/include/google -I. -o build/api2d.o src/api2d.cpp
src/api2d.cpp:25:42: fatal error: xercesc/util/PlatformUtils.hpp: No such file or directory
compilation terminated.

Hi Bartek,

you have to install libxerces-c-dev package.

Compilation with QT4:

sudo apt-get install libqt4-dev libqt4-opengl-dev qt4-dev-tools
qt4-qmake g++
sudo apt-get install cython python-dev xsdcxx libxerces-c-dev
sudo apt-get install triangle-bin gmsh libsuitesparse-dev
libmumps-seq-dev libsuperlu3-dev libsuitesparse-dev ffmpeg
sudo apt-get install zlib1g-dev
sudo apt-get install libsqlite3-dev libgstreamer0.10-dev libxslt1-dev
libgstreamermm-0.10-dev

Pavel

On 5.7.2013 15:13, Bartosz Sawicki wrote:

Freshly cloned repository does not compile.
$ ./agros2d.sh comp
(...)
make[1]: Entering directory `/home/sawickib/agros2d/hermes2d'
g++ -c -m64 -pipe -fopenmp -O2 -w -D_REENTRANT -fPIC -DQT_WEBKIT
-DNOGLUT -DWITH_UMFPACK -DH2D_DISABLE_MULTIMESH_TESTS
-DWITH_PARALUTION -DWITH_MUMPS -DHAVE_FMEMOPEN -DHAVE_LOG2
-DWITH_MUMPS -DQT_NO_DEBUG -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
-I../3rdparty/paralution/src -Iinclude -Iinclude/adapt
-Iinclude/boundary_conditions -Iinclude/function -Iinclude/integrals
-Iinclude/mesh -Iinclude/quadrature -Iinclude/projections
-Iinclude/refinement_selectors -Iinclude/shapeset -Iinclude/space
-Iinclude/views -Iinclude/weakform -I../hermes_common
-I../hermes_common/include -I../hermes_common/include/solvers
-I/usr/include/google -I/usr/include/suitesparse -I/usr/include/google
-I. -o build/api2d.o src/api2d.cpp
src/api2d.cpp:25:42: fatal error: xercesc/util/PlatformUtils.hpp: No
such file or directory
compilation terminated.


Reply to this email directly or view it on GitHub
#80.

Thanks, Pavel.
This issue should be closed year ago.