Raspbberry pi 4 create project problem

i want to creat new project choose rp3 (i have rpi 4) frame work one choice wiring pi but give this errors

Could not initialize project

PIO Core Call Error: “The current working directory C:\Users\OnurNP\Documents\PlatformIO\Projects\ad will be used for the project.\r\n\r\nThe next files/directories have been created in C:\Users\OnurNP\Documents\PlatformIO\Projects\ad\r\ninclude - Put project header files here\r\nlib - Put here project specific (private) libraries\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\r\n\n\nError: PlatformIO temporary does not support cross-compilation for WiringPi framework. Please use PIO Core directly on Raspberry Pi”

Correct, this is a limitation of PlatformIO.


PlatformIO cannot be used to compile programs for the RaspberryPi using the wiringpi framework from any other host OS / machine than a Raspberry Pi itself or using PlatformIO remote in conjuction with a Pi, as linked in the issue.