open-ephys / liboni

API for controlling ONI-compliant hardware
https://open-ephys.github.io/onix-docs/API%20Reference/index.html
0 stars 4 forks source link

WIP Changes for OSX #13

Open aacuevas opened 1 year ago

aacuevas commented 1 year ago

This is not meant to be merged, but as a WIP, to have it referenced on the main repository. For now centered around the ft600 driver. There are only a few things to have into account for building the libaries for OSX, compared with:

Also, there is a quirk related to how linking works on OSX. As binary linked against, for example, /usr/local/lib/libname.dylib will not work if the library is then relocated in any other path, even if the path is in the linker, as it stores the full path by default inside of it. There are ways around this, but is something to take into accout.