M17-Project / m17-tools

A set of M17 tools
GNU General Public License v3.0
29 stars 3 forks source link

Changes to let it compile on macOS #26

Closed vk1kcm closed 5 months ago

vk1kcm commented 5 months ago

macOS doesn't use .so libraries, so had to change the cmake to point to the .dylib instead. Also macOS doesn't have /proc/serial/drivers so added an overly simple directory enumeration for /dev/cu.* devices so it can find macOS serial ports.

It compiles and runs, and things seem to happen. I'm not sure it's working properly, but at least others can test on macOS if anyone cares.

This is the first time I've touched C++ so...

Oh, work done on an M1 Mac MacBook Pro under Sonoma, but it should be fine on an older x64 Macs as well.

vk1kcm commented 5 months ago
left in the define for 'boost_filesystem.lib' which is why windows is failing. I'll fix that and recommit.