Closed takaomoriyama closed 7 years ago
I created a PR for this. https://github.com/watson-intu/self/pull/26
PR is merged, closing.
Thank you Takao & Richard, I appreciate your help with this issue I encountered recently.
The goal of being able to copy ../bin/mac to different laptops was to share the self client to several Mac machines without creating a build on each machine.
Ivan.. just curious.. why are you trying to zip up the ../bin/Mac director rather than just install it fresh on each Mac? I can think of a few reasons but wanted to see what you are trying to accomplish.
Ivan built and ran Intu on a Mac successfully. Then he made a copy of execution directory under mac/bin on another Mac, and tried to run Intu, but Intu failed to load libopencv_plugin.dylib. Here is a part of the log file. The line number 4 and 5 are showing the case.
I confirmed that this happens on the same machine when I removed build-mac/sdk/lib/libopencv_plugin.dylib. So Intu is not loading libopencv_plugin.dylib from bin/mac/lib/libopencv_plugin.dylib, but from build-mac/sdk/lib/libopencv_plugin.dylib. This can be confirmed by the following steps.
OK. It successfully started. Then here is error case.
A possible fix ight be to add lib/ directory to LD_LIBRARY_PATH as follows: