CAN Controller + PIC32
You should have something more in the line of the following.

if(CAN0.begin(MCP_ANY, CAN_500KBPS, MCP_16MHZ) == CAN_OK)


Surely you should also set up your interrupt pins and your SPI connection to the MCP2515.