Arduino IDE unable to Compile Sketch - arduino

I am trying to compile the basic blink sketch in the Arduino IDE, however anytime I try to compile the sketch, I get this error:
"C:\Users\MY PC\AppData\Local\Arduino15\packages\Intel\tools\arduino101load\2.0.1/arduino101load" -c "-from=\"C:\Users\MY" "PC\AppData\Local\Temp\arduino_build_712395/Fade.ino.elf\"" "-to=\"C:\Users\MY" "PC\AppData\Local\Temp\arduino_build_712395/../arduino101_sketch.debug.elf\""
ERROR: need -from and -to arguments
Any suggestions of how to fix this?
Thanks.

Found the problem, I don't think the curie core installed correctly initially, so I removed it and reinstalled it.

Related

Error when uploading code to an wifi lora board

When I try to upload code to my board, I get this error:
exec: "python": executable file not found in $PATH
Error compiling for board WiFi LoRa 32.
How do I fix this? (I'm on mac 12.4.)
This Error means That python is Ethier, not installed, or is not in The PATH variable, to fix this try installing python if you are using a Linux machine then follow the instructions on the python website.

Qt IDE run error: cannot open .so file but running from terminal it is fine

I wrote a simple code to test CUDA with Qt on Linux Ubuntu.
While running app within Qt IDE I get the following error:
However while running app from command line I don't get any erorr and all computation done by CUDA are correct.
Also while running CUDA samples from command line, everything is okay.
Also all paths in Qt .pro file are set correctly
So the question is why Qt IDE prompts me with above error?
Ok, problem fixed.
Turns out that LD_LIBRARY_PATH does not do its job.
What I did instead was:
add this
/usr/local/cuda-7.0/lib64
to
/etc/ld/so/conf
file
Run
sudo ldconfig
I hope it will help somone

ESP8266 via ArduinoIDE on Mac OSX issue

I have recently switch to Macbook and got some troubles with ESP8266 programming via ArduinoIDE. As far as I know my USB-TTL converter is basen on PL2303 series. I have already tried this solution:
http://hpclab.blogspot.com/2015/06/esp8266-arduino-ide-on-mac-os-x.html
But I have just downloaded files and went with sudo python setup.py install so I got my files in /usr/local/bin. Then I changed the platform.txt as written at blog and as result I got:
http://pastebin.com/up7ec8q4
I would be really glad if anyone of you could help me with that.
Best regards.

Arduino IDE crashes without any warning

I'm a beginner in arduino. I just installed Arudino IDE (arduino-1.0.5-r2-windows) but when I try to run its not responding and crashes after few minutes.
I tried re-installing it and removing the temporary files but none of those helped.
Can anyone tell me what causes this problem and how to debug it?
Installing Arduino 1.5.6 solved the issue.

Debugging in Codelite (Ubuntu 12.04)

I installed codelite (v4.1.5770) in Ubuntu 12.04.
I find that it cannot build correctly, when the program has errors. It reports them in the process of building, but finally when is finished building, it outputs the message that there is no error.
I've not faced such situation in windows. I changed the building setting but it was useless.
So who can tell me what should I do? Thank you.
codelite uses regular expressions to parse the output produced by the compiler.
It is likely (and this is probably the case) that the error format that the compiler produced simply was not recognized by codelite.
If you could post some of the error messages you got which were not detected as errors / warnings by codelite, I could help you compile a proper regular expressions and instruct you where to place them inside codelite
Eran

Resources