C++11 + Panama?

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Fri Nov 15 03:22:41 UTC 2019


C++ is not yet supported by jextract. You need to supply C header 
file(s) to jextract.

-Sundar

On 29/10/19 10:29 pm, Hussama Ismail wrote:
> Hello everyone,
>
> I hope you're all well.
>
> I'm not sure here is the best place to post my question. I apologise if I'm
> mistaken.
>
> I'd love to use https://github.com/nmslib/hnswlib directly from Java and I
> have seen that panama could help me with that for that. However, when I try
> generating the bindings via *jextract *($JAVA_HOME/bin/jextract -t
> nmslib.hnswlib --include-headers hnswlib/*). I'm always getting
> *hnswlib/bruteforce.h:2:10:
> fatal error: 'unordered_map' file not found *and I guess that's because of
> C++11. I tried adding '*-C "-std=c++11"' *but it seems not allowed. :-(
>
> Have you faced it before? Could you please help me with that? Thanks in
> advance and have a great evening.
>
> BR,
> Hussama


More information about the panama-dev mailing list