cannot install driver and cannot build on raspberry pi

I have Raspberry Pi 4 and Structure Core sensor and I faced these problems.
Build problem;
I’ve installed cmake and executed commands below

sudo mkdir build
cd build
sudo cmake …
cd …

I’ve got error below

[ 90%] Linking CXX executable CorePlayground
…/…/…/Libraries/Structure/Linux/x86_64/ file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make[2]: *** [Samples/CorePlayground/CMakeFiles/CorePlayground.dir/build.make:186: Samples/CorePlayground/CorePlayground] Error 1
make[1]: *** [CMakeFiles/Makefile2:548: Samples/CorePlayground/CMakeFiles/CorePlayground.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

installing driver problem

cd DriverAndFirmware/Linux/
sudo ./


Structure Core USB device nodes will be owned by pi:pi (mode 0664)
Searching directory: /etc/udev/rules.d
Updating Structure Core rules file: /etc/udev/rules.d/structure-core.rules
Skipping irrelevant rules file: /etc/udev/rules.d/99-com.rules

The cross platform distribution does not include a for the Raspian Linux distribution which is a 32-bit (user space) OS.

You need to install a 64 bit (user space) OS (like Ubuntu 20)