My Arduino IDE on my Ubuntu 12.04 laptop is giving me errors about opening

My Arduino IDE on my Ubuntu 12.04 laptop is giving me errors about opening up the serial port.

So, I am trying to get a sketch that I know works to upload on my Windows 7 laptop.

I am getting the error … “no matching function for call to 'CFastLED::addLeds(CRGB [150], int)”

I am using 150 LEDs.

Is that a problem with the library?

I have downloaded and imported FastLED-3.0.3, FastLED, FastLED2.1.

I don’t know what else to do.

What arduino IDE are you using ( 1.0.5 from ubuntu, 1.0.6 user isntalled? ) With 1.0.5 from ubuntu I had to “upload using programmer” since it never worked right with the basic upload command. I’ll presume you have installed the udev rules.

What board?

Can you paste the whole sketch somewhere?

Eric,

I have the upload working on Windows 7. Stupid error on my part.

As for Ubuntu 12.04 I have both 1.0.5 and 1.0.6 installed. The default is 1.0 which I did not bother installing.

It used to work before which is what makes this so frustrating, but now the error "Error opening serial port ‘/dev/ttyACM0’ " keeps happening. I don’t get a choice of choosing a different port.

I highly recommend the 1.0.6 ( you can install it in your home without root ) and see if you are still getting the compile errors.

It is not a compile error. The sketch compiled before the problem with the serial port started happening.

Have you tried file->upload using programmer?

I just now tried it on Ubuntu 12.04 using Arduino IDE 1.0.6. The error message is avrdude stk500_getsync(): not in sync resp=0x30