-
Notifications
You must be signed in to change notification settings - Fork 570
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
Question: How do I use FASTER (C++) headers without filename collisions? #412
Comments
See this issue and PR, perhaps something similar would work? |
Thank you @badrishc those linked issues are relevant, but not quite the same issue. In this case I'm concerned about the collision of the header filename rather than the symbol. If I have |
Any thoughts @dongx-psu ? |
I would put all faster header files under a directory called |
Thank you @dongx-psu . If I could simply include I was surprised to find that when I The first error I encounter is this one:
That leads me to conclude that I still need to have the root |
I think it can be closed. |
How do I use FASTER (C++) headers without filename collisions?
Sorry if this is a silly question. I have compiled the C++ version using CMake per the build directions. Now I'm working on integrating it with my project. The samples include FASTER headers as follows:
Which is OK, but then "faster.h" includes a bunch of internal headers like "alloc.h" and "record.h" with no "core" or "device" prefix, as follows:
Now surely this means I need the "core" and "device" header directories in my include paths? Surely the generic names like "alloc" and "record" have a strong risk of having the same name as another library or the same name as my own headers? Am I missing something obvious? Is this by design? The build system in my own project is Visual Studio C++, the intricacies of CMake are somewhat foreign to me.
Thanks sincerely in advance for any guidance you can provide.
The text was updated successfully, but these errors were encountered: