Warn that OPM should not be built differently from DUNE.

Using headers and libraries from a DUNE built with different options
than OPM, can result in strange ABI errors such as a segmentation
fault in the static initialization section.
This commit is contained in:
Roland Kaufmann 2012-10-24 12:51:50 +02:00
parent c6bd22b90b
commit 6a4f6ade42

2
README
View File

@ -64,6 +64,8 @@ sudo apt-get install libdune-common-dev libdune-istl-dev libdune-grid-dev
# libraries necessary for OPM # libraries necessary for OPM
sudo apt-get install -y libxml2-dev sudo apt-get install -y libxml2-dev
Note: You should compile the OPM modules using the same toolchain that
was used to build DUNE. Otherwise, you can get strange ABI errors.
DEPENDENCIES FOR SUSE BASED DISTRIBUTIONS DEPENDENCIES FOR SUSE BASED DISTRIBUTIONS
----------------------------------------- -----------------------------------------