This message was posted on behalf of Intel Corporation
The reason why the libraries that were made specifically for Arduino are not working on a board such as the Galileo is because of differences in the architecture of the boards. The Arduino and the Galileo boards have different architectures and the libraries made for each board are not compatible with the other. In this case there are two options.1. Find this library already compiled for the Galileo. If someone encountered the same issue as you then it’s possible this library has already been compiled for the board.
2. Write your own version of the library, or modify the existing one, based on the Arduino library code, so you can use it with the Galileo