Conversation
| SurvivePose pose = pose_event->pose; | ||
| FLT timecode = pose_event->time; | ||
| /*printf("%s %s (%7.3f): %f %f %f %f %f %f %f\n", survive_simple_object_name(pose_event->object), | ||
| printf("%s %s (%7.3f): %f %f %f %f %f %f %f\n", survive_simple_object_name(pose_event->object), |
There was a problem hiding this comment.
Why is this not commented out?
| #include <stdbool.h> | ||
|
|
||
| #ifdef __APPLE__ | ||
| #include <stdlib.h> |
There was a problem hiding this comment.
We can probably include stdlib.h directly on all platforms rather than just malloc.h on everything else.
| } | ||
| } | ||
| void survive_kalman_lighthouse_ootx(SurviveKalmanLighthouse *tracker) { | ||
| if (tracker == NULL) return; |
| find_library(HIDAPI_LIBRARY hidapi PATHS /opt/homebrew/lib /usr/local/lib) | ||
| if(HIDAPI_LIBRARY) | ||
| list(APPEND ADDITIONAL_LIBRARIES ${HIDAPI_LIBRARY}) | ||
| include_directories(/opt/homebrew/include /usr/local/include) |
There was a problem hiding this comment.
Hm that seems a bit too wide, there's no target available from CMake ?
|
Any objection if I submit a new revision that removes these two
and scopes the directories in CMakeLists.txt tighter? Would like to get mac support into main :) |
No objection of course, and we'll review your contrib. However I have personally no means right now to test on MacOS, I'll check in the meantime with my colleagues. |
Tested and working with Vive Tracker 3.0 and Base Station 2.0 on a MacBook Pro M4.