-
Notifications
You must be signed in to change notification settings - Fork 751
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
duplicate name "Index" between annotation class and library class #479
Comments
Something like I've done for Chilitags can work around that:
|
I still get the same error after adding that The case is not that same, as there is no class named |
There is one from OpenCV... |
You could give the wrapping Java class a different name, if that's acceptable. That's usually what we should do anyway. |
A different name is reasonable. I tried The c++ class definition is here. |
That's for methods and fields. For Pointer types, it's pointerTypes(...).
|
Got it. Finally I see "BUILD SUCCESS". Thanks very much for your help! |
where is that FAISS preset? I would like to have a look ;) @mythly |
It's not available yet, see issue #827. Please consider making a contribution! Thanks |
@tovbinm @ericxsun
|
I'm trying to create preset for faiss, which has a class named "Index".
The generated java code contains the following snippet
then the compiler complains
as
org.bytedeco.javacpp.annotation.Index
is shaded.How should I fix it?
The text was updated successfully, but these errors were encountered: