Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||CoinMP header should be included with "coin/" if SYSTEM_COINMP is defined|
|Product:||Calc||Reporter:||Ted Ralphs <tkralphs>|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||UNCONFIRMED ---||QA Contact:|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description Ted Ralphs 2014-01-31 19:07:02 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).