How to build ant media server on aarch64 - ant-media-server

I read here that ant media server only supports x64 architecture. Does that mean it will only build on amd64 or does it support any 64 bit architecture including aarch64?

Related

Why Ant Media Server doesn't support Centos 7?

Ant Media Server v2.2.1 version doesn't support Centos7. Why Ant Media Server doesn't support Centos7?
We are using apr-devel libva-devel libva libvdpau libcrystalhd packages on Centos. Centos 7 already have these packages, but these packages do not have an updated version. You need to found latest version of these packages. For example, while centos7 uses libcrystalhd1, Ant Media Server version 2.2 uses libcrystalhd2. If you still want to use Centos 7, you need to compile these libraries manually.
We are recommending to use Centos 8 for the latest version(2.2.1).

DPI-1047: Cannot locate a 32-bit Oracle Client library:

Using Robot Framework
DPI-1047: Cannot locate a 32-bit Oracle Client library:
"C:\Software\Oracle\product\12201_Client64\bin\oci.dll is not the
correct architecture"
Python 3.7.3
cx_Oracle 7.3.0
Robot Framework DatabaseLibrary installed
As you can see we have the 64 bit client installed, RF DatabaseLibrary installed.
Any assistance would be appreciated.
You are probably running the 32-bit version of Python 3.7.3 and this is why it's expecting a 32-bit Oracle driver.
In the cx_Oracle Installation guide:
Download an Oracle 19, 18, 12, or 11.2 “Basic” or “Basic Light” zip
file: 64-bit or 32-bit, matching your Python architecture.
So, your solution is a choice, install an additional version of Python to match the 64 bit Oracle Client or install a 32-bit Oracle client to match your Python setup.
You must have the Oracle Client (32 bit)
Dont't forget to put it in the environment variables.

Howto use Linux 64 Bit Machine to compile Qt Application for 32 bit armV7

I an developing for an Odroid XU4 which is ARM V7 32 Bit Ubuntu MATE.
I know that I could develop on the embedded device directly, but this is not a suitable setup for my Team. Thus I would like to develop on my 64 Bit Linux maptop and cross compile for the 32 Bit armV7.
I use QtCreator for development
What I did so far to make the cross compile work is
compiled all libraries that I need (e.g. openCV) on my Odroid and
copied them to my Linux 64Bit to use for cross compile
downloaded the correct CrossCompiler (gcc-linaro-7.1.1-2017.08-x86_64_arm-eabi/bin/arm-eabi-g++)
compiled qt 5.9 on the odroid and copied to the linux machine to be used for cross compile
Now I setup a new Kit in qtCreator and define the correct qmake location. This is when I get the error, that the architecture is false (naturally since I compiled it on a 32 Bit)
So the question is, how do I have to build qt in order to us it for cross compiling an app for the target platform armV7 (32 bit) on a 64 bit linux laptop
Any help is very much appreciated.

Deploying .net Core web app to ubuntu linux

I had an app I was developing in asp.net 4.5 and I wanted to move it to asp.net core and run on linux server (ubuntu).
I've been having a number of challanges and unfortunately current documentation is not helpful.
so...
How should I package the app?
The tech docs suggest building with the following command
dnu publish --runtime dnx-coreclr-linux-x64.1.0.0-rc1-update1
However I tried this on my local machine and it didn't have option to deploy linux version. When I run on server it comes up with a number of problems (covered later). So should I do this on server or get working on local machine.
NB: I read in another stack overflow question that as long as its coreclr it doesn't matter whether its win or linux?
I imagine after this is answered more questions will emerge..I've had so many issues with Core I'm wondering whether anybody has actually manged to deploy on app to Linux environment!
Any help would be greatly appreciated!
Update
To provide further information current runtimes on local machine are...
Active Version Runtime Architecture Location Alias
------ ------- ------- ------------ -------- -----
1.0.0-beta5 clr x64 C:\Users\Alex.dnx\runtimes
1.0.0-beta5 clr x86 C:\Users\Alex.dnx\runtimes
1.0.0-beta5 coreclr x64 C:\Users\Alex.dnx\runtimes
1.0.0-beta5 coreclr x86 C:\Users\Alex.dnx\runtimes
1.0.0-rc1-update1 clr x64 C:\Users\Alex.dnx\runtimes
1.0.0-rc1-update1 clr x86 C:\Users\Alex.dnx\runtimes
1.0.0-rc1-update1 coreclr x64 C:\Users\Alex.dnx\runtimes
1.0.0-rc1-update1 coreclr x86 C:\Users\Alex.dnx\runtimes
* 1.0.0-rc1-update2 clr x86 C:\Users\Alex.dnx\runtimes default
1.0.0-rc1-update2 coreclr x86 C:\Users\Alex.dnx\runtimes
I want to compile it as coreclr linux....however when I run the dnu publish command above it says runtime doesn't exist even though I update coreclr from nuget?
Do I need to specify an OS (linux or windows) when I build it or will a single published app run on both if its coreclr?
This runs fine when imported into Azure but doesn't work when deployed to linux
OK, here's how to:
Install Visual Studio 2017 (with .NET Core)
Create your project, and get it to compile on Windows
Once it compiles and runs, make sure you can publish it from Visual Studio
Once you can publish it from Visual Studio, close Visual Studio and do the following
open cmd.exe (Windows-Key + R)
cd "directory of your .sln file"
dotnet restore -r ubuntu.16.04-x64
dotnet build -r ubuntu.16.04-x64
dotnet publish -f netcoreapp1.1 -c Release -r ubuntu.16.04-x64
Your application should now be in folder bin/publish
A list of RIDs (-r) can be obtained here and here.
If you want to develop on Linux, run
apt-get install dotnet-dev-1.0.1
and the dotnet-utility should run on Linux.
Note that if you get
C:\Program
Files\dotnet\sdk\1.0.0\Microsoft.Common.CurrentVersion.targets(2865,5):
error MSB3554: Cannot write to the output file "C:\path\to\your\project\obj\Debug\netcoreapp1.1\YOUR_APP.Properties.Resources.resources".
Positive number required.
Build FAILED.
when you run the build or publish command, just run the command again.

CL_DEVICE_NOT_AVAILABLE using Intel Core 2 Duo E8500 CPU

I get the error CL_DEVICE_NOT_AVAILABLE when running this sample code. However, unlike in that question, my CPU, the Intel Core 2 Duo E8500 CPU, appears to be supported. I've made sure to link against the Intel version of the OpenCL libraries, since I also have the Nvidia libraries installed. Why is this error occurring?
The Intel OpenCL SDK 2013 required SSE 4.2. From what I can tell (here) the Intel Core 2 Duo E8500 CPU only has SSE 4.1
"CL_DEVICE_NOT_AVAILABLE" is the error you get when you try to create an OpenCL device on an unsupported CPU.
The good news for you is that the Intel OpenCL SDK 2012 works on SSE 4.1; you should uninstall the 2013 SDK and use the 2012 SDK instead (or get a newer CPU).
"CL_DEVICE_NOT_AVAILABLE" has nothing to do with the SDK. It's due to the OpenCL device driver which is part of the video card device driver.
It's common to confuse the SDK and the OpenCL device driver. You develop the host code with the SDK but the kernel is compiled and run through the device driver. I often develop with the Intel SDK but I run my kernels on the CPU using the Intel video driver or the AMD Radeon drivers and on the GPU using the Nvidia video drivers (GTX590). I have all three video drivers installed in Windows. You don't have to have an AMD video card to instal the Radeon drivers.
So in your case you can use the AMD drivers to run your kernel on the CPU. They are much less restrictive than Intel's.
On windows I get faster results running my Kernel on my Sandy Bridge CPU using the Intel OpenCL drivers than AMD. However, on Linux the AMD driver runs my kernel faster on my Intel CPU than the Intel driver does.
I encountered this error while creating a tutorial on how to install hashcat on Ubuntu 18.04; I've included the instructions below for Installing OpenCL™ Runtimes for Intel® Processors - Option A (Recommended)- feel free to review my full gist on GitHub. Hope that helps!
Installing OpenCL™ Runtimes for Intel® Processors
Installing OpenCL™ Runtimes for Intel® Processors - Option A (Recommended)
Check your CPU system processor architecture by running sudo lscpu to identify the class of CPU e.g. "Intel (R) Core (TM) i7-7700 CPU # 3.60Ghz"- alternatively, you can go to Settings > Details which will also reveal the CPU-family (e.g. Intel (R) HD Graphics 630 (Kaby Lake GT2)).
Go to the Intel Developer Zone and scroll down to the corresponding download link for your system; assuming you're running Ubuntu 18.04 and have a Intel Core-class CPU, scroll down to "Linux* OS Ubuntu* 16.04.x (deb)" and click on the Github link for 18.46.11837 Runtimes to access the runtime-packages to download.
There should be instructions within the aforementioned Github repo- or you can proceed with the following in the next steps.
cd ~/Desktop
mkdir neo
cd neo
sudo wget https://github.com/intel/compute-runtime/releases/download/18.46.11837/intel-gmmlib_18.4.0.348_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/18.46.11837/intel-igc-core_18.44.1060_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/18.46.11837/intel-igc-opencl_18.44.1060_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/18.46.11837/intel-opencl_18.46.11837_amd64.deb
Install the packages by running sudo dpkg -i *.deb.
Restart the system by running sudo reboot.
Installing OpenCL™ Runtimes for Intel® Processors - Option B
Go to Intel OpenCL Runtimes website and scroll down to the bottom of the page to Download Intel CPU Runtime for OpenCL Applications 18.1 for LINUX OS (64-bit only).
After downloading the OpenCL Runtimes for Intel Processors, cd ~/Downloads
Run sudo tar -xzf l_opencl_p_18.1.0.013.tgz to unpack the tgz file- please note, the OpenCL file version may update since the time as of this gist (ie as of this gist, the version is 18.1.0.013.)
cd l_opencl_p_18.1.0.013
Run sudo ./install.sh
A welcome screen is prompted- hold-down the "Enter" key until able to input select "2" for "I do NOT consent to the collection of my Information"
Hit "1"
Hit "1"
Hit "Enter" and then restart the computer.
If any additional Intel OpenCL errors are encountered after testing hashcat, go to section 'Installing OpenCL™ Runtimes for Intel® Processors - B'- if not, proceed with section "Testing Hashcat"

Resources