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

infrared UVC not showing #30

Open
heaveninfosoft opened this issue May 24, 2022 · 10 comments
Open

infrared UVC not showing #30

heaveninfosoft opened this issue May 24, 2022 · 10 comments

Comments

@heaveninfosoft
Copy link

infrared UVC not showing

@Peter-St
Copy link
Owner

Hi,

I have updated the repo with UYVY support. Pls try out the repo again and report your results.

Thx, Peter

@heaveninfosoft
Copy link
Author

why ndk error show? it not occur in earlier version

@Peter-St
Copy link
Owner

I'm going to solve this issue.

It's because I included the libuvc library, but something isn't working as it should.

@heaveninfosoft
Copy link
Author

when will you solve?

@Peter-St
Copy link
Owner

Hi,

can you plz attach the log from the ndk build failure.
Plz tell, which version of the ndk build tools you use.

@heaveninfosoft
Copy link
Author

Caused by: com.android.builder.errors.EvalIssueException: [CXX1405] error when building with ndkBuild using B:\XXX\Android-UVC-Camera-master\Android-UVC-Camera-master\app\src\main\jni\Android.mk: Build command failed.

Caused by: org.gradle.process.internal.ExecException: Process 'command 'E:\XXXX\24.0.8215888/ndk-build.cmd'' finished with non-zero exit value 2

@Peter-St
Copy link
Owner

In the apps build.gradle file following ndk version is devined:

ndkVersion "21.1.6352462"

try to get ndk build tool 21.1.6352462

I also had error when I used newer build tools.

@heaveninfosoft
Copy link
Author

i think same happen because i tried too on that version earlier

@Peter-St
Copy link
Owner

Hm,
change your apps build gradle file to your ndk build version.
Try it out again with the version "21.1.6352462" and attach the log.
Search through the log in Android Studio and post all errors.

Thx, Peter

@Peter-St
Copy link
Owner

Peter-St commented Jun 5, 2022

Hi,

I changed the native Build System from NDK to CMake.

You can try it again now.

@lchandp lchandp mentioned this issue Mar 2, 2023
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