I have successfully compiled and added FFMPEG to my android device. but it did not works in some device, which are don't have neon cpu (HTC v one ,Kyocera) can any one suggest me to make that work . I have used the following link to get the ffmpeg build Link .Used NDK 10 and platform as 4.6
Related
I have a WinCE code for matrix keypad downloaded from toradex site at How to use Matrix Keypad. I have tested in WinCE OS and working fine.
My actual program needs to be executed in Linux OS. I am using mono command. I tried the following:
mono program.exe
I got an exception
System.DllNotFoundException: `TdxAllLibraries.dll`.
Then I tried:
mono program.exe TdxAllLibrariesDll.dll
But still the same error.
I expect the wince exe should run in Linux OS using mono command. What can I do to run the wince exe on linux?
That sample references Windows-CE specific libraries that are not available on Linux.
On the other side, if you plan to use our Linux-based Torizon, you can find instuctions about how to run .NET core here:
https://github.com/toradex/dot-net-core
and also a sample using
https://github.com/dotnet/iot
to access GPIO, same package supports also i2c.
Earlier this year, I developed an app with the framework Electron (made by Github) and now I would like to embed it on a SBC I bought.
The SBC is the ConnectCore6 from DIGI, based on the NXP i.MX6 processor, and connected to a screen with HDMI.
I can generate linux images for this SBC with Yocto and load GTK & QT applications on it. However, I would like to understand if create a compatible version of my Electron app for this hardware is an easy, hard or impossible task.
I don't realize what is needed by Electron to work on PCs (Windows, Linux and OS X) and should be set up on the SBC to get the same result.
Could you help me with that and possibly guide me to find a way to execute the Electron App on the board ?
Thank you
Antoine
The job can be quite easy.
You can simply configure your tools (e.g. qt creator) to use cross compiler and cross libs of Yocto SDK.
Looking at the Electron web site I found
Cross compilation
If you want to build for an arm target you should also install the following >dependencies:
$ sudo apt-get install libc6-dev-armhf-cross linux-libc-dev-armhf-cross \
g++-arm-linux-gnueabihf
And to cross compile for arm or ia32 targets, you should pass the --target_arch parameter to the bootstrap.py script:
$ ./script/bootstrap.py -v --target_arch=arm
The main problem is if a lib, required by Electron framework, is not available as open source or already cross compiled. In that case you'll have to ask it to the lib provider.
I have got a banana pi ARM v7 development board.I have successfully compiled a project on board.But how can I cross compile it on x86 Linux PC?Where to find tool-chain for banana pi or how can I build it by myself?
Thanks!
I have used ScratchBox in the past to do the same thing in reverse in the past. Just download it to the ARM host, and then follow the Qt instructions on using a cross-compiler.
I've recently installed Android Studio and I'm trying to run a Hello World app to see that everything works as it should. Which it evidently doesn't. I've followed every step on the Android Developer site for setting up Android Studio, yet I get this error when I try to run my app:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!
I searched for a bit and realized that HAXM is for Intel processors, and I'm running an AMD processor. I tried installing the emulator Bluestacks as suggested in this thread but it didn't help at all. Has anyone got a clever solution to this problem?
You might as well uninstall HAXM, only works with Intel processors.
A lot of answers in this forum have pointed to using genymotion (https://www.genymotion.com/) with AMD processors
This is what you need to do to fix this issue:
1) Navigate to the following path:
C:\Users\Main\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
2) Run intelhaxm-android.exe as an administrator.
3) Once the installation is complete, Run your project and you will be able to run android emulator on your machine.
Hope this helps.
I'm accessing a remote machine that has a good nVidia card for CUDA computing, but I can't find a way to know which card it uses and what are the CUDA specs (version, etc.). I used the "lspci" command on the terminal, but there is no sign of a nvidia card. I'm pretty sure it has a nVidia card, and nvcc seems to be installed.
But I really want to figure out the card and CUDA specs. Any ideas?
Thanks!
If you can find where the CUDA SDK directory has been installed then you can just run the deviceQuery example which will tell you all you need to know and more. The executable should be at $(SDK)/C/bin/linux/release/deviceQuery - if it's not there then you may need to build the samples first:
$ cd $(SDK)
$ make
$ ./C/bin/linux/release/deviceQuery
The CUDA SDK directory is typically named NVIDIA_GPU_Computing_SDK (more recent CUDA versions) or just NVIDIA_CUDA_SDK (older CUDA versions).
If you have all of Cuda installed, then just run:
nvidia-smi