{"action":"created","issue":{"url":"https://api.github.com/repos/OPM/opm-material/issues/116","repository_url":"https://api.github.com/repos/OPM/opm-material","labels_url":"https://api.github.com/repos/OPM/opm-material/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/OPM/opm-material/issues/116/comments","events_url":"https://api.github.com/repos/OPM/opm-material/issues/116/events","html_url":"https://github.com/OPM/opm-material/issues/116","id":130706955,"number":116,"title":"building error ","user":{"login":"GitPaean","id":6847941,"avatar_url":"https://avatars.githubusercontent.com/u/6847941?v=3","gravatar_id":"","url":"https://api.github.com/users/GitPaean","html_url":"https://github.com/GitPaean","followers_url":"https://api.github.com/users/GitPaean/followers","following_url":"https://api.github.com/users/GitPaean/following{/other_user}","gists_url":"https://api.github.com/users/GitPaean/gists{/gist_id}","starred_url":"https://api.github.com/users/GitPaean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitPaean/subscriptions","organizations_url":"https://api.github.com/users/GitPaean/orgs","repos_url":"https://api.github.com/users/GitPaean/repos","events_url":"https://api.github.com/users/GitPaean/events{/privacy}","received_events_url":"https://api.github.com/users/GitPaean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-02T14:58:53Z","updated_at":"2016-02-02T16:03:47Z","closed_at":null,"body":"The files in opm-common do exist, while I do not know why the compiler could find the these files. \r\n\r\nNot knowing if this is related to OPM/opm-parser#668. \r\n\r\nThe compilation of opm-parser is okay though.  Anyone saw this problem too?\r\n\r\nThanks. \r\n\r\n```\r\nIn file included from /home/kaib/OPM/debug/opm-material/tests/test_2dtables.cpp:30:0:\r\n/home/kaib/OPM/debug/opm-material/opm/material/common/UniformXTabulated2DFunction.hpp:30:37: fatal error: opm/common/Exceptions.hpp: No such file or directory\r\n #include <opm/common/Exceptions.hpp>\r\n                                     ^\r\ncompilation terminated.\r\nIn file included from /home/kaib/OPM/debug/opm-material/opm/material/fluidsystems/blackoilpvt/LiveOilPvt.hpp:31:0,\r\n                 from /home/kaib/OPM/debug/opm-material/tests/test_eclblackoilpvt.cpp:34:\r\n/home/kaib/OPM/debug/opm-material/opm/material/common/UniformXTabulated2DFunction.hpp:30:37: fatal error: opm/common/Exceptions.hpp: No such file or directory\r\n #include <opm/common/Exceptions.hpp>\r\n                                     ^\r\ncompilation terminated.\r\nIn file included from /home/kaib/OPM/debug/opm-material/opm/material/fluidsystems/SinglePhaseFluidSystem.hpp:29:0,\r\n                 from /home/kaib/OPM/debug/opm-material/opm/material/checkFluidSystem.hpp:29,\r\n                 from /home/kaib/OPM/debug/opm-material/tests/test_fluidsystems.cpp:29:\r\n/home/kaib/OPM/debug/opm-material/opm/material/fluidsystems/BaseFluidSystem.hpp:32:37: fatal error: opm/common/Exceptions.hpp: No such file or directory\r\n #include <opm/common/Exceptions.hpp>\r\n                                     ^\r\ncompilation terminated.\r\nmake[2]: *** [CMakeFiles/test_2dtables.dir/tests/test_2dtables.cpp.o] Error 1\r\nmake[2]: Leaving directory `/home/kaib/OPM/debug/opm-material-build'\r\nmake[1]: *** [CMakeFiles/test_2dtables.dir/all] Error 2\r\nmake[1]: *** Waiting for unfinished jobs....\r\nmake[2]: *** [CMakeFiles/test_fluidsystems.dir/tests/test_fluidsystems.cpp.o] Error 1\r\nmake[2]: Leaving directory `/home/kaib/OPM/debug/opm-material-build'\r\nmake[1]: *** [CMakeFiles/test_fluidsystems.dir/all] Error 2\r\nIn file included from /home/kaib/OPM/debug/opm-material/opm/material/fluidmatrixinteractions/EclMaterialLawManager.hpp:34:0,\r\n                 from /home/kaib/OPM/debug/opm-material/tests/test_eclmateriallawmanager.cpp:35:\r\n/home/kaib/OPM/debug/opm-material/opm/material/fluidmatrixinteractions/PiecewiseLinearTwoPhaseMaterial.hpp:31:38: fatal error: opm/common/ErrorMacros.hpp: No such file or directory\r\n #include <opm/common/ErrorMacros.hpp>\r\n                                      ^\r\ncompilation terminated.\r\nmake[2]: *** [CMakeFiles/test_eclblackoilpvt.dir/tests/test_eclblackoilpvt.cpp.o] Error 1\r\nmake[2]: Leaving directory `/home/kaib/OPM/debug/opm-material-build'\r\nmake[1]: *** [CMakeFiles/test_eclblackoilpvt.dir/all] Error 2\r\nIn file included from /home/kaib/OPM/debug/opm-material/tests/test_fluidmatrixinteractions.cpp:34:0:\r\n/home/kaib/OPM/debug/opm-material/opm/material/fluidmatrixinteractions/BrooksCorey.hpp:33:38: fatal error: opm/common/ErrorMacros.hpp: No such file or directory\r\n #include <opm/common/ErrorMacros.hpp>\r\n                                      ^\r\ncompilation terminated.\r\nIn file included from /home/kaib/OPM/debug/opm-material/tests/test_immiscibleflash.cpp:33:0:\r\n/home/kaib/OPM/debug/opm-material/opm/material/constraintsolvers/MiscibleMultiPhaseComposition.hpp:33:68: fatal error: opm/common/utility/platform_dependent/disable_warnings.h: No such file or directory\r\n #include <opm/common/utility/platform_dependent/disable_warnings.h>\r\n                                                                    ^\r\ncompilation terminated.\r\nIn file included from /home/kaib/OPM/debug/opm-material/opm/material/components/Unit.hpp:28:0,\r\n                 from /home/kaib/OPM/debug/opm-material/tests/test_components.cpp:34:\r\n/home/kaib/OPM/debug/opm-material/opm/material/components/Component.hpp:29:38: fatal error: opm/common/ErrorMacros.hpp: No such file or directory\r\n #include <opm/common/ErrorMacros.hpp>\r\n```"},"comment":{"url":"https://api.github.com/repos/OPM/opm-material/issues/comments/178654961","html_url":"https://github.com/OPM/opm-material/issues/116#issuecomment-178654961","issue_url":"https://api.github.com/repos/OPM/opm-material/issues/116","id":178654961,"user":{"login":"GitPaean","id":6847941,"avatar_url":"https://avatars.githubusercontent.com/u/6847941?v=3","gravatar_id":"","url":"https://api.github.com/users/GitPaean","html_url":"https://github.com/GitPaean","followers_url":"https://api.github.com/users/GitPaean/followers","following_url":"https://api.github.com/users/GitPaean/following{/other_user}","gists_url":"https://api.github.com/users/GitPaean/gists{/gist_id}","starred_url":"https://api.github.com/users/GitPaean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitPaean/subscriptions","organizations_url":"https://api.github.com/users/GitPaean/orgs","repos_url":"https://api.github.com/users/GitPaean/repos","events_url":"https://api.github.com/users/GitPaean/events{/privacy}","received_events_url":"https://api.github.com/users/GitPaean/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T16:03:47Z","updated_at":"2016-02-02T16:03:47Z","body":"> what are the command line flags passed to the compiler? do they contain -I${YOUR_OPM_COMMON_DIR}? (you can find out the flags via make VERBOSE=1.)\r\n\r\nNope. It does not contain `-I {OPM_COMMON}` . During the compiling of opm-parser, the `-I {OPM_COMMON}` correctly. \r\n\r\n"}}