Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to build wiring Pi on windows

I'm trying to build the cross environment for raspberry Pi to build binaries on Eclipse CDT for windows.

I got Wiring Pi for accessing GPIO, and I need to build binary of Wiring Pi on windows by using 'Windows toolchain for windows'. I already set it up on Eclipse, but I have never build Wiring Pi yet.

The error message is 'poll.h no such file or directory found'. It seems that include path was correctly set up when I installed 'SysGCC'.

Please tell me how to build Wiring Pi using Eclipse CDT on windows.

like image 528
hiroaki Avatar asked Oct 31 '22 14:10

hiroaki


1 Answers

So before you are writing an application with wiringPi you should test if your installation was successful by testing it via a terminal.

gpio read #pin-number

to find out what pin-number you need there are many references on the internet.

If your installation is correct maybe look at raspberry forum

like image 99
Obi-Wan Avatar answered Nov 02 '22 09:11

Obi-Wan