Cube Black Compass Problem

Hi everyone
I ordered Pixhawk Cube Black from uAvionix. I uploaded the latest version of PX4. When I wanted to calibrate compass QGC gives this error message: “Error: Invalid orientation.” After that I released that when I was turning the autopilot the compass on the screen didn’t move. After that I decided to upload Ardupilot just to check it and it worked. Is this problem related with hardware problem or I’m doing something wrong?