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
Need to move anariGetObjectFeatures definition to the API.cpp implementation file #63
Comments
I guess so, for the moment they use a STB style I'm not sure if "hardwiring" it into the sdk is the correct path. The utility to generate this helper is intentionally written so you could create a custom one with additional (vendor or extension provided) features in it. |
It doesn't need to go in the SDK, however the current setup doesn't work when |
Workaround: I created my own |
Closing this as the STB-style usage is the current intention and alternatives introduce link dependencies we want to avoid. Applications should only define |
Need to move the
anariGetObjectFeatures
andanariGetInstanceFeatures
definitions from the header file (anari_feature_utility.h
) to the appropriate implementation file (API.cpp
??). Having the definitions in the header file causes amultiple definition
error when trying to#include <anari/anari_cpp.hpp>
as the definitions will appear in multiple places and the linker doesn't like it.The text was updated successfully, but these errors were encountered: