Problems with firecracker x10 library

While trying to compile a file containing the x10firecracker library, I ran into several errors. After looking through the forums, I replaced a reference to wiring.h to arduino.h as recommended. I am still getting 2 errors (much less than before) regarding an undefined reference to loop and setup in the main.cpp.

Post your code using the # button above and a copy of the error messages (click on the messages and hit Ctrl C.. First.
Mind reading and crystal balls are notoriously inaccurate.. So WE need to see both or go fishing as none of us are really willing to get into a guessing contest..
Clearly the error I see is on line 37 of the???.h file that you forgot to include.. ..
But I don't ever bet for another persons time and money... So?

Doc

Praterma2:
While trying to compile a file containing the x10firecracker library, I ran into several errors. After looking through the forums, I replaced a reference to wiring.h to arduino.h as recommended. I am still getting 2 errors (much less than before) regarding an undefined reference to loop and setup in the main.cpp.

All i have in the sketch is:

#include <X10Firecracker.h>

The error code is as follows:

core.a(main.cpp.o): In function main': C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:11: undefined reference to setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:14: undefined reference to `loop'

Make sure you have the X10Firecracker folder in the arduino libraries folder. The below test code compiles for me without issues.

// zoomkat 1-15-13 test
// for use with x10 CM17A "Firecracker"
// and X10Firecracker library
// in X10Firecracker.cpp replace #include "wiring.h" 
// with #include "arduino.h"

#include <X10Firecracker.h>

void setup()
{
  //wires inserted in female side of firecracker DB9
  //Serial DB9 connection: RTS - pin 7, DTR - pin 4, Gnd - pin 5
  //arduino pins: RTS > pin 2, DTR > pin 3, Gnd > Gnd
  //below Arduino pins 2,3, and delay 1
  X10.init( 2, 3, 1 );  // origional 0 delay didn't work
}

void Test()
{
  X10.sendCmd( hcA, 1, cmdOn ); //TM751 transceiver on
  X10.sendCmd( hcA, 1, cmdDim );
  //extra commands removed fot testing
  X10.sendCmd( hcA, 1, cmdBright );
  X10.sendCmd( hcA, 1, cmdOff ); //TM751 transceiver off
}

void loop()
{
  delay(2000);
  Test();
  delay(8000);
}

Your code compiled for me as well. Thank you very much for your help. Now i can play with the hardware end.