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

libfreenect2 for windows platform #837

Closed
LauraMocanu opened this issue Nov 23, 2017 · 11 comments
Closed

libfreenect2 for windows platform #837

LauraMocanu opened this issue Nov 23, 2017 · 11 comments

Comments

@LauraMocanu
Copy link

I tried running mvn with -Djavacpp.platform param. If I use 'linux-x86_64' all works fine, but with 'windows-x86_64' it tries to find library 'libfreenect2:jar:windows-x86_64' which does not exist. I suspect the same would happen for mac, because in the full distribution I only see specific libfreenect2 for linux, and 2 general ones, but which seem not to be taken into account by maven in the case when specific platform is used.

@saudet
Copy link
Member

saudet commented Nov 23, 2017

That's normal, Windows isn't supported, yet. Though, as usual, contributions are welcome! Thanks for your interest.

@LauraMocanu
Copy link
Author

Thank you for your answer. I'm a little confused though. The ReadME said one could use windows. And I can see all the other jars do have windows versions.

@saudet
Copy link
Member

saudet commented Nov 23, 2017

I'm not seeing "Windows" written anywhere:
https://github.com/bytedeco/javacpp-presets/tree/master/libfreenect2

@LauraMocanu
Copy link
Author

LauraMocanu commented Nov 23, 2017

This readme: https://github.com/bytedeco/javacv.
In pom.xml I have

<dependency>
		<groupId>org.bytedeco</groupId>
		<artifactId>javacv-platform</artifactId>
		<version>1.3.2</version>
</dependency>

and I run maven with -Djavacpp.platform=windows-x86_64

@saudet
Copy link
Member

saudet commented Nov 23, 2017

I still see no mention of libfreenect2 support on Windows... Again, if you wish for more documentation, contributions are welcome! I cannot possibly do everything on my own. Please let me know if you have any questions though, and I will answer.

@LauraMocanu
Copy link
Author

I will reformulate my question: how can I run -Djavacpp.platform=windows-x86_64 as it sais here
"This downloads binaries for all platforms, but to get binaries for only one platform we can set the javacpp.platform system property (via the -D command line option) to something like android-arm, linux-x86_64, macosx-x86_64, windows-x86_64, etc. "
and make it work? Because it gives an error and does not download anything. Thanks again!

@saudet
Copy link
Member

saudet commented Nov 23, 2017 via email

saudet added a commit to bytedeco/javacpp-presets that referenced this issue Dec 5, 2017
@saudet saudet removed the help wanted label Dec 5, 2017
@saudet
Copy link
Member

saudet commented Dec 5, 2017

I added support for Mac OS X and Windows in the commit above.

They provide binaries for Windows, so it was easier than I thought!

@ibraimgm
Copy link

@saudet is this fix released yet? Just tried to download the binaries for windows-x86_64 and I had the same problem related by @LauraMocanu .

Note that using version 1.3 (not 1.3.3 or 1.3.2) works fine.

@saudet
Copy link
Member

saudet commented Dec 22, 2017 via email

@saudet
Copy link
Member

saudet commented Jan 18, 2018

And now included in newly released version 1.4. Thanks for reporting!

@saudet saudet closed this as completed Jan 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants