-
Notifications
You must be signed in to change notification settings - Fork 53
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
t8_config.h missing from cmake install manifest #1329
Comments
Hello @ackirby88 , thank you for you Issue. t8_config.h is a file that is produced by the autotools build-system and therefore should only exists if you are using the autotools system. Have you recently updated to the CMake buildsystem? I tried to reproduce error by linking our png2mesh project with an installation of t8code and was unable to reproduce the error. Did you switch the build-system recently? Maybe it helps to ensure that there are no files used by the old build system in your installation/build-directory. I hope that this helps you already. |
Hi @ackirby88, I might have stumbled upon the same thing recently: cburstedde/libsc#206 (comment) Do you add t8code by a The error that I ran into recently was because of some of the generators in SC-targets.cmake and p4est-targets.cmake not being evaluated correctly. You might also need to set all of We are also thinking about providing a I am also very interested in your experience in fixing this issue, as we are trying to further improve our cmake build system. |
Might be solved by: cburstedde/libsc#212 |
It looks like it should be fine, since there is an explicit #ifndef T8_CMAKE_BUILD
#include <t8_config.h>
#endif I probably have some old autoconf configuration stuff lying around in the same directory causing issues (did a git pull on a submodule). I'll close the issue assuming that there isn't an actual bug, but reopen it if I do find an actual problem. Apologies for causing a stir! |
Ah! So you need to fix the CMakeLists.txt file by adding "-D": target_compile_definitions( T8 PUBLIC -DT8_CMAKE_BUILD ) |
Thank you for your suggestion! |
Bug report
For the cmake build and install, t8_config.h is missing from the install manifest, which causes the following error:
Estimated priority
Priority: high
Additional context
To fix, simply add "t8_config.h" to src/CMakeLists.txt install FILES section (line ~178).
The text was updated successfully, but these errors were encountered: