Comments (4)
Hi,
Sorry my answer delayed.
As I can see you log, it seems to be build on Eclipse? and error Le fichier spécifié est introuvable.
means specific file not found
?
D:/android-ndk-r11c-windows-x86/android-ndk-r11c/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++
etc. is correct path? I think duplicated slash after build
will be wrong.
Is it possible to build using gradle or ndk-build from command line?
saki
from uvccamera.
Hi Saki,
I am having this specified file not found error when compiling the library. Could you kindly help to resolve it?
I have followed the steps you have given for eclipse.
I am giving ndk-build from Windows command prompt. Android-NDK is r12.
D:\AndroidProjects\UVCcode\UVCCamera\libuvccamera\src\main>ndk-build
Android NDK: WARNING: APP_PLATFORM android-21 is larger than android:minSdkVersi
on 14 in ./AndroidManifest.xml
[armeabi] "Compile++ arm ": "UVCCamera <= _onload.cpp"
process_begin: CreateProcess(NULL, C:/android-ndk-r12/build//../toolchains/arm-l
inux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -MMD
-MP -MF ./obj/local/armeabi/objs/UVCCamera/_onload.o.d -fpic -ffunction-sections
-funwind-tables -fstack-protector-strong -no-canonical-prefixes -g -march=armv5
te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -marm -O2 -DNDEBUG -Ijni
/UVCCamera/ -Ijni/UVCCamera/../ -Ijni/UVCCamera/../rapidjson/include -IC:/androi
d-ndk-r12/build//../sources/cxx-stl/system/include -Ijni/libusb/android/jni/../.
./ -Ijni/libusb/android/jni/../../libusb -Ijni/libuvc/android/jni/../../ -Ijni/l
ibuvc/android/jni/../../include -Ijni/libuvc/android/jni/../../include/libuvc -I
jni/libjpeg-turbo-1.5.0/ -Ijni/libjpeg-turbo-1.5.0/include -Ijni/libjpeg-turbo-1
.5.0/simd -Ijni/UVCCamera -DANDROID -Ijni/UVCCamera/ -Ijni/UVCCamera/../ -Ijni/U
VCCamera/../rapidjson/include -DANDROID_NDK -DLOG_NDEBUG -DACCESS_RAW_DESCRIPTOR
S -O3 -fstrict-aliasing -fprefetch-loop-arrays -Wa,--noexecstack -Wformat -Werro
r=format-security -isystem C:/android-ndk-r12/build//../platforms/android-21/arc
h-arm/usr/include -c jni/UVCCamera/_onload.cpp -o ./obj/local/armeabi/objs/UVCCa
mera/_onload.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [obj/local/armeabi/objs/UVCCamera/_onload.o] Error 2
Regards,
Rashmi
from uvccamera.
Hi,
As I tested on my Windows 7(64bit) with r12(64bit), my repositories can build and works well.
I also tested on my Windows 7(64bit) with r12(32bit), it generated same error as yours.
So I assume you might install wrong version of NDK, ex. 64bit version on 32bit Windows or 32bit version on 64 bit Windows. Because the download link of latest NDK(r12) on Android Developers is wrong (reversed).
It looks like this;
Platform | Package | Size (Bytes) | SHA1 Checksum |
---|---|---|---|
Windows 32-bit | android-ndk-r12-windows-x86_64.zip | 749444245 | ... |
Windows 64-bit | android-ndk-r12-windows-x86.zip | 706332762 | ... |
... | ... | ... | ... |
If you use 32bit Windows, you should download and install android-ndk-r12-windows-x86.zip
and if you use 64bit Windows, you should download and install android-ndk-r12-windows-x86_64.zip
I don't have 32bit Windows now and I'm not sure r12(32bit) works on 32bit Windows though.
with best regards,
saki
from uvccamera.
Hi Saki,
Thanks a lot for your reply. Mine is 64bit Windows and It worked when i installed android-ndk-r12-windows-x86_64.zip. Actually in the Android NDK website the package names were wrongly mentioned for the 32bit and 64bit.
Regards,
Rashmi
from uvccamera.
Related Issues (20)
- Android 13 issue. HOT 6
- pthread_mutex_lock called on a destroyed mutex
- How to compile this code in Android Studio Flamingo | 2022.2.1
- A patch for USBMonitor.java to avoid crash in USB 3.0 HUB
- Working with FLIR Boson camera
- jpeg_read_scanlines crash
- java.lang.RuntimeException: Unable to start activity ComponentInfo : java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity HOT 1
- How to make zoom of texture ( input frames of camera) in UVCCameraTextureView ? HOT 1
- After multiple attempts to open the UVC camera, it fails to reopen. Assistance is requested HOT 2
- Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.serenegiant:common:2.12.5.
- The preview freezes when you press record on the Samsung a54 HOT 1
- MediaRecorder instead of MediaEncoder
- [Security] libjpeg-turbo used in this project is vulnerable
- Can't get started HOT 1
- Android11, RK3568, null pointer dereference HOT 2
- Permission pop-up giving illegal agruement exception in TargetSdk>27
- SQ 29 Camera does not display image HOT 1
- 有人知道如何解决4K以上画质得延迟问题吗?解决成功可以给予报酬。 HOT 1
- Android app crashing when using multiple .aar libraries
- Difference between ( 'Y', '8', ' ', ' ' ) and ('Y', '8', '0', '0') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uvccamera.