Skip to content
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

Compatibility of saved index file #54

Closed
choni opened this issue Jul 18, 2012 · 2 comments
Closed

Compatibility of saved index file #54

choni opened this issue Jul 18, 2012 · 2 comments

Comments

@choni
Copy link
Contributor

choni commented Jul 18, 2012

Dear, Marius.

Now, saved index file that made by linux (x64 machine) and by my android phone(SO-01C) are not compatible.

Because, in save process flann library uses environment depended types.
For example,
typeof(size_t) equals 8 in linux64 and win7 64. But in android, this size is 4.

Can you use environment independent type like uint64_t instead of size_t.

Index building on android phone is slow, So I plan to put pre-build index file into android pkg file.

Thank you.

@mariusmuja
Copy link
Collaborator

Currently the FLANN index save format is not cross-architecture compatible
(data type size, endianess). I'll update it to be so in a future version.

Marius

On Wed, Jul 18, 2012 at 1:13 AM, SHIINA Hideaki <
reply@reply.github.com

wrote:

Dear, Marius.

Now, saved index file that made by linux (x64 machine) and by my android
phone(SO-01C) are not compatible.

Because, in save process flann library uses environment depended types.
For example,
typeof(size_t) equals 8 in linux64 and win7 64. But in android, this size
is 4.

Can you use environment independent type like uint64_t instead of size_t.

Index building on android phone is slow, So I plan to put pre-build index
file into android pkg file.

Thank you.


Reply to this email directly or view it on GitHub:
#54

@choni
Copy link
Contributor Author

choni commented Jul 19, 2012

I see. Thanks for reply.

@choni choni closed this as completed Jul 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants