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.
Finally, I've got the solution!
https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=126493
I built wiringPi on Raspberry Pi, and transfer 'libwiringPi.so.2.31' to windows. Then I tried this process, I could succeed in building my application!
The key was renaming 'libwiringPi.so.2.31' into 'libwiringPi.so'. But I don't know why.
I will search for building wiring Pi itself on Windows Eclipse environment.
Thank you!