Arduino compile error of U8glib library on Win 10 - arduino

Trying to compile Marlin firmware with U8Glib LCD library to upload to my ATMega 2560, this is the error I got:
Using library U8glib at version 1.19.1 in folder: C:\Program Files (x86)\Arduino\libraries\U8glib fork/exec C:\Program Files
(x86)\Arduino\hardware\tools\avr/bin/avr-gcc.exe: The filename or
extension is too long. Error compiling for board Arduino/Genuino Mega
or Mega 2560.
I have successfully compiled and uploaded before, this is happening only after setting a change to incorporate U8Glib. I have tried installing it manually, from the IDE, no change.

I was doing the same thing and got this same error.
Apparently this is a Windows file system problem.
I solved this by compiling/uploading using another computer running Ubuntu 14.04
Microsoft support says there is a hotfix for this problem and it should be present in Windows 7 service pack1.
I have W7 SP1 and problem persists... So back to Ubuntu then.. :)

Related

ALLBOT Arduino library

While installing the "ALLBOT" library, I ran into a problem. I tried to install the library via Arduino ide - it didn't work, I tried to download from GitHub - it doesn't work. Could you please help solve the problem.
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10)
sketch_jun03a:1:10: fatal error: ALLBOT.h: No such file or directory
#include <ALLBOT.h>
^~~~~~~~~~
compilation terminated.
exit status 1
ALLBOT.h: No such file or directory
install the ALLBOT library from Tools->Manage Libraries from your arduino ide, here is guide https://docs.arduino.cc/software/ide-v1/tutorials/installing-libraries
here i was able to to download and complie

Visual Studio Code Platform IO missing icon after install

I try to install PlatformIO IDE for arduino but the icon for open app is missing. I try to reinstall app and reset program nothing.
Could You advice how to solve this issue
Im uninstall the VC use revo uninstaller and delete all registry and other connected files. Then Install again VC and install PlatformIO. NOw its works

Run Qt app with eglfs plugin on a normal computer

I am trying to run a Qt application under EGLFS with Linux Mint on a Macbook Pro.
I have:
Configured and compiled Qt with all the needed flags and dependences.
Tried to run the app with X11 turned off.
Used kms integration.
Installed all the Mesa drivers ( I have an intel GPU ).
Even compiled EGL myself.
But it keeps saying "Unable to create EGL Display".
Does anyone knows what am I missing ?
P.S For example I can run weston-launch which I believe it runs over drm-egl.
I had the same problem like you. I have solved it by:
Building Qt with "-opengl desktop" switch.
Making conf file with my displays (look at: http://doc.qt.io/qt-5/embedded-linux.html at section "eglfs with eglfs_kms backend") inside application directory
Exporting QT_QPA_EGLFS_KMS_CONFIG=conf
Then switch to free tty and run application with -platform eglfs argument.

I can't run the first example in Qt

I have just installed the qt 5.7.0 and mingw 5.30 32bit on windows 10 64bit pc.
When Qtcreator run the first example which is given by the Qt creator, I always got an error that is ;
Starting C:\Qt\Examples\Qt-5.7\canvas3d\threejs\build-cellphone-Desktop_Qt_5_7_1_MinGW_32bit-Debug\debug\cellphone.exe...
The program has unexpectedly finished.
C:\Qt\Examples\Qt-5.7\canvas3d\threejs\build-cellphone-Desktop_Qt_5_7_1_MinGW_32bit-Debug\debug\cellphone.exe crashed.
There wasn't any error during compiling period
All settings are coming default and I didn't change anyting.
MinGW settings seem normal on the compilers setting.
How can I solve the issue?

Arduino Installation Guide for Ubuntu 12.04 Precise Pangolin

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.

Resources