Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing inherited include directory when installing TTG #237

Open
therault opened this issue Aug 26, 2022 · 0 comments
Open

Missing inherited include directory when installing TTG #237

therault opened this issue Aug 26, 2022 · 0 comments

Comments

@therault
Copy link
Contributor

I tried to compile and install ttg from a docker (barely minimal environment: base ubuntu + Open MPI, gcc, g++, HWLOC).
Things compile, and I could install in /usr, but when trying to compile an external project using TTG, I got the following error:

In file included from /usr/include/ttg/util/meta/callable.h:12,
                 from /usr/include/ttg/parsec/ttg.h:26,
                 from /usr/include/ttg.h:31,
                 from /home/tesse/tutorial/simple.cc:1:
/usr/include/ttg/external/boost/callable_traits.hpp:12:10: fatal error: boost/callable_traits/detail/core.hpp: No such file or directory
   12 | #include <boost/callable_traits/detail/core.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

boost/callabale_traits/details/core.hpp is located in /usr/include/ttg/external, but this directory is not added to the list of include directories for TTG targets. When I add it to the target_include_directories of the targets of my external project, things compile and work.

I will try to hunt where the missing include directories should be / what options it should use to expose that directory to the dependencies... I'm opening this issue to check if someone knows this right away :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant