Show Posts
Pages: 1 2 3 [4] 5 6 ... 60
46  Forum 2005-2010 (read only) / Troubleshooting / Re: arduino v18 linux editor font problem on: April 22, 2010, 07:02:11 am
Quote
so is somebody working on fixing this for linux?
No.
Arduino GUI-Development stops when it looks good on a Mac and Windows.

The IDE is the only GUI-editor on the planet (probably in the whole universe) that does not have a font-selection dialog.

Eberhard
47  Forum 2005-2010 (read only) / Troubleshooting / Re: arduino v18 linux editor font problem on: April 22, 2010, 06:33:25 am
Hi,
you can set the size of the font in the preferences-dialog File->Prerences or edit the file that is mentioned on the dialog.

Some stupid code in the IDE seems to switch off font antialiasing on the editor. So you can't really use any sensible Font in the IDE. 'Inconsolata' looks horrible for instance. So I'm back to monospaced size 18.

Eberhard
  



48  Forum 2005-2010 (read only) / Troubleshooting / Re: Problems installing on OpenSuSE 11.2 / 32bit on: May 26, 2010, 04:01:23 am
There is a sucess story here:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1268008565

Eberhard
49  Forum 2005-2010 (read only) / Troubleshooting / Re: Problems installing on OpenSuSE 11.2 / 32bit on: May 21, 2010, 07:12:05 am
http://www.arduino.cc/playground/Linux/OpenSUSE ...might help

Eberhard

50  Forum 2005-2010 (read only) / Troubleshooting / Re: Best Linux to use?? on: May 18, 2010, 04:35:59 am
Hi,
I run KUbuntu 10.04 64bit on my desktop-machine and the Ubuntu 10.04 32bit Netbook remix on my netbook.

If you do a fresh install there is no reason to install an older Ubuntu version from last year.

We will do our best to keep the Arduino package in synch with the latest Ubuntu releases. There havn't been any issues with the Arduino package on Ubuntu 10.04.

(If you want to check out the looks of the different Ubuntu versions, there is a Live-CD for each one of them. You can try them out without installing anything to your harddisk)
Eberhard
51  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Programming Environment Vanishes on: May 11, 2010, 05:32:08 am
Hi,
sorry my fault :o
That should have been
Code:
sudo apt-get install sun-java6-jre
for installing the Sun Java Package.

Try this and the update-alternatives command should offer the Sun-java package.

Eberhard

52  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino Programming Environment Vanishes on: May 10, 2010, 11:36:34 am
Install the sun-java6-jre package and make it your default java runtime
Code:
sudo apt-get sun-java6-jre
sudo update-alternatives --config java

Eberhard
53  Forum 2005-2010 (read only) / Troubleshooting / Re: "AWT-EventQueue-0" java.lang.StackOverflowError on: November 01, 2009, 11:13:30 am
Hi Ryan,
Quote
Ive just fixed this.
But read on:
There are a few bugs in the code (undeclared variables, strings quotes not terminated) ..... Does the ide do some preprocessing before passing it to gcc?
Yes : http://code.google.com/p/arduino/wiki/BuildProcess

Quote
Can an arduino ide developer confirm if the above is a known bug.
I'm not one of the developers, but I can confirm that the preprocessing of the Sketch chokes at least on the strings quotes not terminated parts.

Eberhard
54  Forum 2005-2010 (read only) / Troubleshooting / Re: Void -> how it returns values to the main programm on: May 06, 2010, 01:30:22 am
Yes your code works
Code:
void myProc (int& a, int& b) {
  a = 2;
  b = 7;
}

int myA = 0;  //Belt AND braces.
int myB = 0;

void setup () {
  myProc (myA, myB);
  Serial.begin (9600);
  Serial.println (myA);
  Serial.println (myB);
}

void loop () {
}

but this one doesn't
Code:
int myA = 0;  //Belt AND braces.
int myB = 0;

void setup () {
  myProc (myA, myB);
  Serial.begin (9600);
  Serial.println (myA);
  Serial.println (myB);
}

void loop () {
}

void myProc (int& a, int& b) {
  a = 2;
  b = 7;
}
The IDE does not generate a prototype for functions that use arguments with reference parameters.

see:
http://code.google.com/p/arduino/issues/detail?id=205
(please ignore that the OP of the google-code issue got the headline wrong)

Eberhard

55  Forum 2005-2010 (read only) / Troubleshooting / Re: Void -> how it returns values to the main programm on: May 05, 2010, 11:26:30 am
Quote
A function can return only a single value, so if you want to pass back two values from a function, you can use:
1) a structure
2) pointers
3) references.

I'd probably go with 3).
The Arduino-preprocessor cannot handle reference parameters in sketches (yet?).
There is a bug-report for this (google-code-servers are currently down  smiley-sad I can't set a link to the issue).

So only structure and pointer solutions will work.
Eberhard
 
56  Forum 2005-2010 (read only) / Troubleshooting / Re: error: expected initializer before 'void' on: April 26, 2010, 01:48:56 am
Hi,

there is no need to include this header:
Code:
#include <utility\twi.h>
its meant for internal use only by the Wire-lib

What is that good for?
Code:
#undef int

Eberhard


57  Forum 2005-2010 (read only) / Troubleshooting / Re: Stack Overflow in Perl5Matcher on: April 23, 2010, 03:26:47 am
This error is reported from the sketch preprocessor.
There could be several reasons why this happens.
Check your code for strings that are not properly terminated:
Serial.println("done);
which should be  
Serial.println("done");

The other problem that is reported are quotes in comments
Eberhard

58  Forum 2005-2010 (read only) / Troubleshooting / Re: File - Open don't default to the sketch folder. on: April 06, 2010, 08:48:31 am
FYI: We (silently) fixed this bug for our Arduino Package for Ubunutu 9.10/10.04 .
http://www.arduino.cc/playground/Linux/Ubuntu
"Open..." starts in the users home dir and uses the JFileChooser.

Eberhard
59  Forum 2005-2010 (read only) / Troubleshooting / Re: File - Open don't default to the sketch folder. on: April 06, 2010, 02:54:22 am
Hi,
this is one of my favourite Arduino bugs. I has been reported again and again over the last years but was never fixed. Well, maybe this year somebody cares about Linux users too....

http://code.google.com/p/arduino/issues/detail?id=39

Eberhard
60  Forum 2005-2010 (read only) / Troubleshooting / Re: Load last project on startup on: March 31, 2010, 06:00:24 am
This is a known bug in the IDE , that (I hope) will be fixed in a future version.
Eberhard
Pages: 1 2 3 [4] 5 6 ... 60