1. You don't have to re-include headers or such everywhere, just do it once in your library's header or cpp file (for WProgram.h, inttypes.h, NewSoftSerial.h, etc); when you include your header, the others will be included automatically.

2. Your problem appears to be that the compiler can't find the NewSoftSerial library; I think it may have to do with your relative link - have you tried just including "NewSoftSerial.h", without any path information (relative or otherwise)?

I recently wrote a library that I am still testing, and I included NewSoftSerial; but I don't remember how I did it exactly and it isn't in front of me - if none of the above works, and you can wait (and you don't get any other answers from others that help), I'll try to remember to post here about it again (if not, PM me).

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Thanks, Cr0sh - changing the include doesn't affect the problem.I'm just trying to instantiate a NewSoftSerial object when the softxbee constructor is called.Maybe you could find a similar line in your code.Will try some more. Found:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1211645129

Thanks to both of you! The problem was that the default constructor also needed an initialization for Nss --> softxbee::softxbee() : Nss(2,1)so I gave it pins 1 and 2 as a default.

My own problem is that I've been doing Java for so long that stepping back into the medieval world of C++ with all its contrived artifacts is a serious drag for me. However, I do recognize we'd need at least a 100MHz Arduino to support Java.