Cross compiling for Omega 2



  • I am trying to setup cross compiling for C++ on my Windows 10 (with Ubuntu subsystem) by following the instruction of

    https://docs.onion.io/omega2-docs/cross-compiling.html

    All steps are followed and succeed but when compiling the GPIO sample code, it seems all library and .h file (for example libugpio and gpio.h) are not exist in my tool train path and the make just failed.

    I tried to copy the lib (a bunch of .so) from my Omega 2 but cannot find relevant .h in Omega 2. Anyone can give me a guild or direction on how to get allthose files?

    Thanks in advance!



  • It would help if you included the error message you got.


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.