Most diffucult IDE ever

I have been working with micros a very long time. I tried for hours to compile a simple TVout as an example to learn. Big mistake. No documentation that works as far as libraries are concerned. Error after error, after error no mater where I installed the library files. My guess is libraries location has been changed between versions as well as the extensions of files. I don't know voodo, I can't read minds, and I don't have weeks to google to try and figure it out. The very first thing I learned in computers years ago in programming, simple, logical, and document. I will be sending Aurdino back.

I have been working with micros a very long time (the first one I build and programmed for myself was a 6502). I started with Arduino0015, and have moved up to 0022. On Windows XP (at least 3 machines) and Linux. It worked fine, starting to program was very simple. Colleagues of mine have worked on an Arduino based project at work, and within a few days had ported the environment into Visual Studio. Perhaps if you said what you are running, how the installation went, what you have tried, and whether a simple example works (the canonical simple example is Blink) someone could help you. Alternatively you could rant some more.

My experience is that when I start with a new environment it does take some time to get a basic competence with it.

My guess is libraries location has been changed between versions as well as the extensions of files.

No.

My guess is that the library you are trying to use is not version 1.0 compatible. Read the error messages what do they say?

No documentation that works as far as libraries are concerned.

Contributed Libraries

If you're using one of these libraries, you need to install it first. To do so, download the library and unzip it. It should be in a folder of its own, and will typically contain at least two files, one with a .h suffix and one with a .cpp suffix. Open your Arduino sketchbook folder. If there is already a folder there called libraries, place the library folder in there. If not, create a folder called libraries in the sketchbook folder, and drop the library folder in there. Then re-start the Arduino programming environment, and you should see your new library in the Sketch > Import Library menu.

...does not work for the TVout library?

oviking99:
Error after error, after error no mater where I installed the library files. My guess is libraries location has been changed between versions as well as the extensions of files.

There is one place to install libraries and it is documented on the site:

A lot of libraries come pre-installed.

no mater where I installed the library files

So where DID you put them?

Error after error, after error

What errors?


This is a very helpful community, and had you posted what you are trying to do, and what error you got, you would have got a fast response.

Some libraries, like TVout, were written a few years ago, and contributed to help others. From time to time things change, like they do on Windows, Mac, and everywhere else.

The original author may not have kept abreast of recent changes, but we would be able to help you, if you asked for help.

I can't read minds, and I don't have weeks to google to try and figure it out.

We can't read your mind, either . Next time post more details and what error(s) you got.

By the way, I just compiled then the TVout demo sketch. Without making any changes it compiled clean. And the last time I tried was a couple of years ago.

So where did you get the library from? Where did you install it? What version of the IDE do you have? What board do you have? What errors did you get?

I have been working with micros a very long time ...

You made a remarkably unhelpful post for someone with such experience.

Please excuse venting my frustrations. I certainly don't want to upset anyone. I have used both version 1.0 and 1.0.1 of the IDE. FYI all of the Adruino IDE included files compile and run correctly. My problem is simply where to install the 'third party libraries' . The only 'preferences.txt' file is in the /user/system/library/ Arduino folder. I assumed the line, sketchbook.path=/Users/gary_olson_99/Documents/Arduino/, in the Preferences.txt file, is the environment. I tried to follow all of the instructions in the on-line help topic of 'third party libraries' to the letter. I copied the files to /users/documents/arduino/libraries/ folder. When I selected 'sketch/import libraries/, the only files that show up are the Arduino IDE included files. My assumption is I have an environment and path problem.

I tried to compile DemoNTSC in the /user/Documents/Arduino folder where the main program Arduino resides. I installed the library files in the /user/documents/arduino/ libraries/ folder.I opened the file in the Ide, and received the following errors;

DemoNTSC.pde:-1: error: 'TVout' does not name a type
DemoNTSC.cpp: In function 'void setup()':
DemoNTSC.pde:-1: error: 'TV' was not declared in this scope
DemoNTSC.pde:-1: error: 'NTSC' was not declared in this scope
DemoNTSC.pde:-1: error: 'font6x8' was not declared in this scope
DemoNTSC.pde:-1: error: 'font4x6' was not declared in this scope
DemoNTSC.pde:-1: error: 'font8x8' was not declared in this scope
DemoNTSC.pde:-1: error: 'WHITE' was not declared in this scope
DemoNTSC.pde:-1: error: 'INVERT' was not declared in this scope
DemoNTSC.cpp: In function 'void intro()':
DemoNTSC.pde:-1: error: 'TV' was not declared in this scope
DemoNTSC.pde:-1: error: 'TV' was not declared in this scope
DemoNTSC.pde:-1: error: 'TV' was not declared in this scope
DemoNTSC.cpp: In function 'void printcube()':
DemoNTSC.pde:-1: error: 'TV' was not declared in this scope
DemoNTSC.pde:-1: error: 'TV' was not declared in this scope
DemoNTSC.cpp: In function 'void draw_cube()':
DemoNTSC.pde:-1: error: 'TV' was not declared in this scope
DemoNTSC.pde:-1: error: 'WHITE' was not declared in this scope

Ref;

Arduino R3

Mac Os X 10.5.8 is my OS.

http://code.google.com/p/arduino-tvout/TVoutBeta1.zip

Above is the TVout url.

Thanks

if you download the 0022/0023 IDE version, you might be able to get something working quickly, then migrate it to 1.0.1 when you have the necessary info to be able to update the libraries.

Libraries need to be in their own folder in the 'libraries' directory, not just the source files.

oviking99:
"/user/documents/arduino/ libraries/"

Does your libraries folder actually have a space in it?

oviking99:
Google Code Archive - Long-term storage for Google Code Project Hosting.

That link didn't work for me, but: http://arduino-tvout.googlecode.com/files/TVoutBeta1.zip did.

Attached is a screenshot of my "libraries" folder. I left the 3 directories included in the TVoutBeta1.zip file highlighted so you could see how they should be in the libraries folder.

Copy those three directories into "libraries", restart the IDE, and then you should be able to compile the demo program.

Screen Shot 2012-06-01 at 10.32.56 PM.png

Grumpy_Mike:
My guess is that the library you are trying to use is not version 1.0 compatible.

which is kind of a poor thing to say, when it could have been easily avoided by leaving a single file in place, or just leaving it alone in the first place, as the current changes are little more than vanity.

though it does not apply to this situation, we are going to see more of this as time goes on and more libraries get forgotten ... I want to go though the wiki and start flagging things compatible to help, but that only works with things on the wiki, and I havent bothered to wrap my head around asinine wiki markup.

I assumed the line, sketchbook.path=/Users/gary_olson_99/Documents/Arduino/, in the Preferences.txt file, is the environment. I tried to follow all of the instructions in the on-line help topic of 'third party libraries' to the letter.

Given your sketchbook folder appears to be:

/Users/gary_olson_99/Documents/Arduino/

First, this sounds right. Mine is:

/Users/nick/Documents/Arduino/

So far so good.

I copied the files to /users/documents/arduino/libraries/ folder.

Whoa, whoa.

That should read:

I copied the entire library folder (not just the include files) into:

/Users/gary_olson_99/Documents/Arduino/libraries/

That's where they belong. In the "libraries" sub-folder (you may have to make it, ie. New Folder).

Then copy the entire library into it. Don't start pulling out individual files. For example, part of my libraries folder is:

For example, my TVout library is inside that folder (not visible in that screenshot because I have so many) but inside it is:

Don't overthink it. Just unzip the library, and copy the entire resulting folder into the libraries folder so you end up with a setup similar to that.

Then close and re-open the IDE because it only scans for libraries when it starts up.

James thanks for the response. No spaces /libraries/, just my poor eyesight and slow fingers at this late hour (GA, EST). I tried as you said, same errors. I may have some issues with two different versions installed (conflicting MAC application issues). I will remove all files and environment variables, reinstall, and try again in the morning. What version of the IDE did you use? I did unzip the complete folders and sub-folders into the libraries folder.

Thanks all!

Was the first error something about not finding a .h file?

Since that particular .zip seems to have a folder with 3 folders in it, I would copy those 3 folders into your libraries folder (so you have 3 extra libraries effectively).

Nick....it worked! Thank you. "Don't overthink it", good advice.

The help is appreciated!

oviking99:
I will be sending Aurdino back.

Looks like you made quite a bit of progress in 12 hours! Looks good. It's fun isn't it?

Nick, yes it is fun, served with a bit of humble pie I might add! It has been a few years. Thank you for the help!

And Thank You Nick... as over "Thinking"? is the one virtue I excel at... and I need to be reminded constantly of that fact. IMO

Doc