Apache OpenOffice (AOO) Bugzilla – Issue 124157
CoinMP header should be included with "coin/" if SYSTEM_COINMP is defined
Last modified: 2014-01-31 19:07:17 UTC
When the option --with-system-coinmp is used in building Open Office and the include directory is determined by pkgconfig, the directory already includes the trailing "coin/" and thus, including "coin/CoinMP.h" fails. This inclusion works fine if the header file is in a system location, since CoinMP installs into <prefix>/coin by default. The issue is with these lines in sccomp/source/solver/solver.cxx: #ifdef SYSTEM_COINMP #include <coin/CoinMP.h> #else #include <coinmp/CoinMP.h> #endif The second line should be #include <CoinMP.h> if the include directory is determined by pkg-config (which is currently how things work).