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

new preset for libfreenect2 #340

Merged
merged 6 commits into from
Dec 25, 2016
Merged

Conversation

poqudrof
Copy link
Contributor

Hello,

I made a new preset for libfreenect2. It is not totally stable unfortunately. I managed to get the color, IR and depth. The freenect2 API is not really stable yet.

It works a little (enough) and can be used for experimental use.

Cheers,
Jeremy.

@saudet
Copy link
Member

saudet commented Dec 21, 2016

Great, thanks! I think frame_listener_impl.h doesn't need to be there, does it? As for "sample usage", just the same kind of thing as you put in freenect2Test.java would be fine, that's ok?

@poqudrof
Copy link
Contributor Author

Yep, I removed the file, and I will update the sample usage. I think I have some code to read a few pixels.

@poqudrof
Copy link
Contributor Author

I updated the sample usage also, now in the README and as files in a separate project.

@saudet
Copy link
Member

saudet commented Dec 22, 2016

Good! Thanks. The sample project isn't really a "test" though. Could we rename the directory to "sample"? Also, the platform/pom.xml file shouldn't contain dependencies on unsupported platforms. It's easier to follow that way.

removed unsupported platforms in the platform pom.
@poqudrof
Copy link
Contributor Author

It's updated :)

@saudet saudet merged commit 514989f into bytedeco:master Dec 25, 2016
@vb216
Copy link
Member

vb216 commented Dec 27, 2016

I think this breaks the arm build (?)
16:26:22 creating: libfreenect2-0.2.0/tools/
16:26:22 inflating: libfreenect2-0.2.0/tools/generate_resources.cpp
16:26:22 inflating: libfreenect2-0.2.0/tools/mkcontrib.py
16:26:22 Error: Platform "linux-armhf" is not supported
16:26:22 ~/workspace/Presets-LinuxArmhf/javacpp-presets
16:26:22 [INFO]
16:26:22 [INFO] --- maven-resources-plugin:2.7:resources (javacpp.parser) @ libfreenect2 ---
16:26:22 [INFO] Using 'UTF-8' encoding to copy filtered resources.
16:26:22 [INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/Presets-LinuxArmhf/javacpp-presets/libfreenect2/src/main/resources
16:26:22 [INFO]
16:26:22 [INFO] --- maven-compiler-plugin:3.3:compile (javacpp.parser) @ libfreenect2 ---
16:26:22 [INFO] Changes detected - recompiling the module!
16:26:22 [INFO] Compiling 1 source file to /var/lib/jenkins/workspace/Presets-LinuxArmhf/javacpp-presets/libfreenect2/target/classes
16:26:22 [INFO]
16:26:22 [INFO] --- javacpp:1.3.1-SNAPSHOT:build (javacpp.parser) @ libfreenect2 ---
16:26:22 [INFO] Detected platform "linux-x86_64"
16:26:22 [INFO] Building for platform "linux-armhf"
16:26:22 [INFO] Targeting /var/lib/jenkins/workspace/Presets-LinuxArmhf/javacpp-presets/libfreenect2/src/main/java/org/bytedeco/javacpp/freenect2.java
16:26:22 [ERROR] Failed to execute JavaCPP Builder: Could not parse "libfreenect2/libfreenect2.hpp": File does not exist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants