ecst icon indicating copy to clipboard operation
ecst copied to clipboard

ecst include paths

Open bjadamson opened this issue 9 years ago • 0 comments

Hi, I'm wondering if you can see an easier way (for me the user) to get all the necessary include paths into my project more easily.

To add #include <ecst.hpp> to my main.cxx file, I needed to add all the following paths to my include path: https://github.com/bjadamson/BoomHS/commit/eb25b32018b91035d16be4dab53530891c4fddb5#diff-b38877107b6e8fb2bd916d913746eb6cR25

Is there a way to make it so I only need to add the following to my include path?

external/hana/include external/ecst/include

These two shouldn't be necessary, do we agree?

external/ecst/extlibs/vrm_core/include external/ecst/extlibs/vrm_pp/include

However, without them, I get the following compilation errors:

In file included from /home/benjamin/github/BoomHS/main.cxx:13: In file included from /home/benjamin/github/BoomHS/external/ecst/include/ecst.hpp:12: In file included from /home/benjamin/github/BoomHS/external/ecst/include/./ecst/aliases.hpp:8: /home/benjamin/github/BoomHS/external/ecst/include/./ecst/./aliases/assert.hpp:8:10: fatal error: 'vrm/core/assert.hpp' file not found

include <vrm/core/assert.hpp>

End of search list. In file included from /home/benjamin/github/BoomHS/main.cxx:13: In file included from /home/benjamin/github/BoomHS/external/ecst/include/ecst.hpp:12: In file included from /home/benjamin/github/BoomHS/external/ecst/include/./ecst/aliases.hpp:8: In file included from /home/benjamin/github/BoomHS/external/ecst/include/./ecst/./aliases/assert.hpp:8: In file included from /home/benjamin/github/BoomHS/external/ecst/extlibs/vrm_core/include/vrm/core/assert.hpp:8: /home/benjamin/github/BoomHS/external/ecst/extlibs/vrm_core/include/vrm/core/assert/static_assert_macros.hpp:8:10: fatal error: 'vrm/pp/utils.hpp' file not found

include <vrm/pp/utils.hpp>

     ^

1 error generated. make[2]: *** [CMakeFiles/boomhs.dir/main.cxx.o] Error 1 make[1]: *** [CMakeFiles/boomhs.dir/all] Error 2 make: *** [all] Error

bjadamson avatar Aug 30 '16 20:08 bjadamson