OTB is not compatible with muparserX last stable version (4.0.7) and current trunk
Mantis Issue 1189, reported by mgrizonnet, assigned to mgrizonnet, created: 2016-04-12
pc-christophe submissions on cdash emphasis that OTB is not compatible with muparserx.
See for instance:
http://dash.orfeo-toolbox.org/viewBuildError.php?buildid=224453
Long story short the compilation error is not related with the incompatibility.
The reason of the incompatibility is related to the fact that muparserx installed now headers file in "include/muparserx" and not "include" anymore:
https://github.com/beltoforion/muparserx/commit/104b555492340e41999820254cd8f18d334e5e9a
We should find a way to detect it in OTB and probably change muparserx header includes from #include "mpParser.h" to "muparserx/mpParser.h"
We can also choose to update muparserx version in superbuild and only support last stable release in OTB.
1460473014 - rashadkm#include "mpParser.h" to "muparserx/mpParser.h"
OTB habit is to use something like otb_muparser.h and handle these stuff there.
Anwyay, an easy fix is to go attack MUPARSERX_INCLUDE_DIR detection in cmake
1460539388 - grizonnetmCompilation error on pc-christophe:
http://dash.orfeo-toolbox.org/viewBuildError.php?buildid=224571
1461914745 - rashadkmis this fixed ? I cannot see any compile error the dashboard today.
1461931299 - grizonnetmplatform configurations have been updated to follow new include path directory structure without having to patch the code.
I think that we should in the future improve muparserx integration but it will not be directly related to this issue
1470659040 - gpaseroThis is more a setup issue. The MUPARSERX_INCLUDE_DIR variable is there to fix the problem quite easily. Just one reminder : beware when updating the SuperBuild.
1484926369 - grizonnetmOTB 5.10 is now compatible with muparserX last stable version and current trunk