VirtualWire not compile to arduino zero pro !

Errors :

VirtualWire.cpp:390:5: error: 'TCCR1A' was not declared in this scope

TCCR1A = 0; // Output Compare pins disconnected

VirtualWire.cpp:391:5: error: 'TCCR1B' was not declared in this scope

TCCR1B = _BV(WGM12); // Turn on CTC mode

VirtualWire.cpp:391:18: error: 'WGM12' was not declared in this scope

TCCR1B = _BV(WGM12); // Turn on CTC mode

VirtualWire.cpp:391:23: error: '_BV' was not declared in this scope

TCCR1B = _BV(WGM12); // Turn on CTC mode

VirtualWire.cpp:398:5: error: 'OCR1A' was not declared in this scope

OCR1A = nticks;

VirtualWire.cpp:405:5: error: 'TIMSK' was not declared in this scope

TIMSK |= _BV(OCIE1A);

VirtualWire.cpp:405:18: error: 'OCIE1A' was not declared in this scope

TIMSK |= _BV(OCIE1A);

VirtualWire.cpp:588:7: error: expected constructor, destructor, or type conversion before '(' token

SIGNAL(TIMER1_COMPA_vect)

VirtualWire.cpp:667:1: error: expected '}' at end of input

}

exit status 1
Error compiling for board Arduino/Genuino Zero (Programming Port).

Please help me.. THX...

VirtualWire was written long before the Zero became available and is no longer maintained.

You will have to modify the code yourself, or use the RadioHead libary.