Missing includes and static libs for development



  • Hi,

    I'd like to start a DYI programming project with C on the Omega2pro (using cross compiler).
    I'm missing include files and static library files for libonioni2c and libugpio (if the last library is for accesing GPIOs from a C code).

    Can anybody help me to find this files?
    I don't want to/can't use any other programming language than C!!!

    Thanks in advance
    Michael



  • @MickPF This depends on how you are doing your development. New players often start off doing some development on their Omega2x device, eventually, you realise this a short term solution since IoT devices are by design resource poor.

    The best way to do Omega2x development is to install the build system https://github.com/OnionIoT/source then you will have access to everything you need as well as the cross compiler, so you can use your more powerful desktop/notebook device for your development and then move the completed work to your Omega via scp/ftp.

    The headers and libraries you are looking for are on the Onion Github,

    https://github.com/OnionIoT

    Also refer to the docs on how to compile on the Omega:

    https://docs.onion.io/omega2-docs/i2c-c-library.html



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