Closed iPsych closed 4 years ago
Another user who had the same undefined symbol error on MacOS offered the advice in the link below:
https://github.com/IntelRealSense/librealsense/issues/2685#issuecomment-436498519
Another user who had the same undefined symbol error on MacOS offered the advice in the link below:
It's compilation of one cpp, but the error happens in
make -j2
after successful cmake
cmake .. -DBUILD_EXAMPLES=true -DBUILD_WITH_OPENMP=false -DHWM_OVER_XU=false -DBUILD_WITH_TM2=false
If it is tripping up over libusb, I suspect that -DHWM_OVER_XU=false might be the cause. Are you able to build successfully if that flag is left out of the build command?
@iPsych have you been able to resolve the issue?
@iPsych Did you try the workaround below described in https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_osx.md ? Looking forward to your update. Thanks!
Note: On some Mac systems you might encounter ld: library not found for -lusb-1.0
error (either in the terminal during make or in XCode) This can be worked-around by setting environment variable: /bin/launchctl setenv LIBRARY_PATH /usr/local/lib
@RealSenseCustomerSupport @ElnazTaqizadeh Yes, After re-install libusb using homebrew, and set the env variable using /bin/launchctl setenv LIBRARY_PATH /usr/local/lib, it resolves the issue.
@iPsych Does this mean you are able to build the latest 2.30.0 SDK on macOS Catalina? And does it also provide full T265 support? Asking this because T265 support is still officially not supported on macOS.
@neilyoung No, I am staying High-Sierra, since Mojave and Catalina have a lot of stability problems in my projects. I am using D435.
@iPsych OK, not a thing. I think I'm going to give it a try, nevertheless. Thanks.
@neilyoung could you report back when you try the build on Catalina?
@seanngpack Sure
@iPsych Glad to hear the issue resolved. Close it accordingly. Thanks!
@seanngpack Sorry, was not even able to generate a Makefile...:( Since it is not my priority I'm not pursuing this any further. At least the gist here is nonsense from first to last on Catalina :)
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_osx.md
@seanngpack OK, meanwhile I could build on macOS Catalina. https://github.com/IntelRealSense/librealsense/issues/5258
Issue Description
MacOS compile shows an error as below. The homebrew libusb 1.0.22 is installed and properly linked.