I am trying to get the above development system working, I am starting with a Varicsite NANO compute module. I am trying to get QT 5 setup to develop. I have been unable to find a good Debian guide on how to do that. I would eventually want the QT application to run in kiosk mode without the Weston desktop.
I have Debian built using their instructions of building Debian for the IMX8 board. It runs fine Weston comes up on boot.
I have installed the following packages on the target device.
sudo
apache2
php
jq
curl
qtwayland5
gdb
gdbserver
I have attempted to follow their guide on getting QT to work for YOCTO(not Debian) and have not gotten it to work. QT is installed but their Debian build does not come with a full sdk. Nor do they detail all of the packages that need to be installed.
I have also tried following this guide, but it was written for an RPI and X11 not wayland/Weston so some of the steps seem wrong especially in all of the packages it wants you to install.
https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/
Is there a good guide on how to do this, I was thinking of trying to combine the two guides by using his lines to set up rsync and such but I still do not have a full SDK without the right qmake.
My host system is UBUNTU 16.04
As subject, I tried to follow the quick start quide to run the speech api in non-ubuntu linux (see below), but I wonder if anyone get it to work or it is just not supported
cat /proc/version
Linux version 4.14.77-70.82.amzn1.x86_64 (mockbuild#gobi-build-64003) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Mon Dec 3 20:01:27 UTC 2018
but I got exception as the following.
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.microsoft.cognitiveservices.speech.internal.carbon_javaJNI.swig_module_init()V
at com.microsoft.cognitiveservices.speech.internal.carbon_javaJNI.swig_module_init(Native Method)
at com.microsoft.cognitiveservices.speech.internal.carbon_javaJNI.<clinit>(carbon_javaJNI.java:517)
at com.microsoft.cognitiveservices.speech.SpeechConfig.<clinit>(SpeechConfig.java:69)
Similiar thing happened in Ubuntu linux at first, but it is resolved after I installed libasound2 as recommended in the microsoft documentation.
sudo apt-get install libasound2
This leads me to think maybe I miss some of the dependencies but I cannot figure out what exactly I missed from the error message.
Sorry, non-Ubuntu distributions are currently not supported / working.
The openssl library is an additional dependency; on Ubuntu 16.04 / 18.04 installed as the "libssl1.0.0" package, which ties it to a specific openssl version and library name.
I work on a centOS 6.6 distro and would like to use Rstudio. I would like to use an up to date version say v>0.99 but from the download page I can see that Rstudio desktop requires RHEL7.
Looking for older versions of rstudio desktop I see that RHEL6 can only get v<=0.981103, though Rstudio server seems fine, and I am OK if many can use a server version.
rpm is a no go for me so is there a way to get the sources for the server version like they provide for the desktop version ? I can't find it anywhere but it appears it is possible: see this post.
Of course if there is a trick to build Rstudio desktop on centOS 6.6 I am a buyer...
You won't be able to build RStudio Desktop for RHEL6 because of a glibc requirement induced by Qt 5.4. This is not easily evaded so if you have a platform requirement for RHEL6 you'll want to stick with the server version.
The desktop and server versions of RStudio are actually built from the same source code. You can get the source for any RStudio release here:
https://github.com/rstudio/rstudio/releases
The make-package Server RPM command in rstudio/package/linux will start the build once you've got all the dependencies installed. See here for details (or INSTALL): https://github.com/rstudio/rstudio/wiki/Installing-RStudio-Dependencies
I downloaded spark 1.0.2 and run on Cygwin
sbt/sbt assembly
but I got the error message:
Attempting to fetch sbt
You do not have curl or wget installed, please install sbt manually from http://www.scala-sbt.org/
But I already downloaded & installed sbt-0.13.5.msi from the given download-page. So what am I doing wrong?
sbt must use wget or curl to download additional dependencies, so you need to install these. On every single operating system other than windows these utilities usually come pre installed. Trying to get these to work on windows cygwin will be a pain, as with absalutely everything that isnt something to do with a monolithic GUI that costs a fortune.
I suggest if you wish to be at all productive in your future life you pick an operating system that works well for serious work. Windows only really works well for C# and MS office, serious computing? Big data? Hahahahaha, No!
I'm following an installation guide for Arduino. I have Arduino UNO rev3 and ubuntu 64bit
The guide refers to Synaptic Package manager to install software. But it doesn't seem to be available in Ubuntu 12.04 Precise Pangolin.
Should I install the list of software components via Ubuntu software center? Or should I install the Synaptic Package manager? (e.g. http://www.jonathanmoeller.com/screed/?p=3610)
Is there any difference between the two installation applications?
I had a lot of trouble syncing processing and arduino in 12.04.
I installed arduino in every possible way imaginable: from the website, from synaptic/software-centre, from apt-get... etc and it just wouldn't run.
If you are having trouble 'running' it , go to a terminal and run it there to see the problem. Post details.
In my case I got java headlessexceptions errors, which I concluded was because 12.04 didn't have any JAVA stuff installed? Can you believe it! It came to me as a shock, but oh well:
Go to synaptic and get the following packages:
java-common, openjdk-7/6, java-wrappers, libjaxme-java, default-jre, defaul-jdk, libbsf-java, default-jre-headless, openjdk-6-jre-headless
I am sorry if some of these are irrelevant to arduino, I just went on a 'click-on-jdk' stuff spree and got it to work :) Processing and Arduino run like a charm now!
Hope this helps!
Follow this tutorial for setting up Arduino in Ubuntu. I found this one to be the most helpful. Install Arduino IDE in Ubuntu.
Actually the easiest way to get the Arduino IDE on Linux is to download the software from this page http://arduino.cc/en/Main/Software (either the 32bit or 64bit linux version depending on your system)
After you download it all you have to do is extract the archive and run the executable called "arduino"
For installing Arduino 1.0 in Precise there is no difference between using Synaptic or Software Center, they will both install including dependancies. The biggest difference is the user interface and that Software Center allows for purchasing some additional software, they are both using your repos defined in /etc/apt/sources.
https://apps.ubuntu.com/cat/applications/precise/arduino/
https://apps.ubuntu.com/cat/applications/synaptic/
Installing Arduino on Linux is a little bit harder than the same installation on Windows or Mac. A wide list with tutorials for Arduino installation on Linux could be a good help for you. Also, you can check this guide for arduino installation http://playground.arduino.cc//Learning/Linux
The best way to install arduino for ubuntu is with terminal.
The first line command you have to write is:
sudo apt-get update && sudo apt-get install arduino
This will update your ubuntu packages and also install the arduino package. Then type:
tar -xvzf filename.tar.xz
Then you have to go to the directory Downloads (cd Downloads), and next to the arduino directory (cd filename).
Finally to run arduino, once you are inside the arduino directory you type:
./arduino
It will run the program.