O.K. I'm trying to do some programming in Ubuntu and I'm trying to make a file but it came up with this error.

Code:
make[1]: Entering directory `/opt/ds2sdk/ireader/ebook/obj'
makefile:4: *** "Please set DS2SDKPATH in your environment: export DS2SDKPATH=<path to>ds2sdk". Stop.
I know I'll have to sudo gedit a file but can anyone tell me what file (/Home/[user]/.bashrc?) to edit and what I'm supposed to enter?