Closed leopitrera closed 8 months ago
Is it correct to assume that your are trying to compile directly on the Raspberry Pi?
If so, you should use the cmake -DCMAKE_BUILD_TYPE=Release -DWZSDK_STATIC=1 -DWZSDK_SAMPLES=1 -DWZSDK_SAMPLES_QT=0 -G "Unix Makefiles" ../
command.
The -DCMAKE_TOOLCHAIN_FILE=../cmake/raspbian-toolchain.cmake
part is for cross compiling on a linux desktop machine. For this a cross compile toolchain is required and excepted at the location /opt/toolchains/raspberrypi/...
Hope that helps.
Closed due to inactivity.
Hello, I write this command in a Raspberry Pi 4:
cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/raspbian-toolchain.cmake -DWZSDK_SAMPLES=1 -DWZSDK_STATIC=1 -G "Unix Makefiles" ../
But these errors have appeared:
What I can do to solve it? Thank you