Thank you for your help, gonna try it right now , sorry for the late answer ,I've been really busy.
Tried this header
https://github.com/energia/Energia/blob/master/hardware/msp430/libraries/IRremote/IRremote.h
The code on the link you provided was successfully uploaded to msp430 , it doesn't send any data when I press buttons on the remote controller.
Maybe my receiver doesn't work , should VS1838B blink when I press a button?