Trouble with dcompass sensor

I downloaded the example for use the dcompass sensor with NXC language, but when I execute it in my NXT (version 2.0 and firmware version 1.28) appears an error message “File Error”. I compiled the example under Linux.

Thank in advance,
Ruben

Hey Ruben, I haven’t run NXC under LINUX so it’s hard to duplicate the error exactly. However, did you run “dCompass_Calibrate.nxc” first? Can you try that and see if it produces the same error?