-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named cv_bridge_boost on Mac OS X #34
Comments
I guess you have 1.10.4 right ? Can you check you have a cv_bridge_boost.so file in your buidl tree ? Is that target even built ? |
Thank you for a quick reply! package.xml in src/cv_bridge says it's version 1.10.6. The whole repository is a few days old. Regarding cv_bridge_boost there is a dynamic library here /opt/ros/groovy/lib/python2.7/site-packages/cv_bridge/boost/cv_bridge_boost.dylib Could it be that cv_bridge_boost.dylib is not found? On the other hand it is located in the right place.I will check env variables. |
I've checked (a) path env variables, (b) just in case copied cv_bridge_boost.dylib to /opt/ros/groovy/lib/, (c) tried to install homebrew python. Nothing works. Could it be that the problem is in version of Python? Which is 2.7.2. However, it is doubtful, because other packages work. How can I check cv_bridge version, besides looking at package.xml? |
On Ubuntu, the lib is definitely there: |
The CMake file is identical. dylib stands for dynamic library, it's the same as *.so on Linux. |
I also tried compiling cv_bridge and the whole groovy with boost 1.49 and 1.53, but it did not help. |
Since dbca650 , stereo cam uses the same code to convert to grayscale and the crash will most likely happen (it just has not been released yet). So the problem really is that you cannot load your *dylib file. |
If I rename |
Vincent, there is progress! I connected the camera and after renaming the Unfortunately there are still problems.. I am not sure if have to create a new ticket. Problem (2) Even in a single camera case, the calibration process starts. It detects the pattern, however when it is ready to calibrate I cannot click |
For 1, can you please try trunk and let me know if it is fixed. |
I tried, nothing has changed. Still in the case of stereo calibration image don't show up. Single camera calibration does not allow me to click calibrate. Maybe @wjwwood has got some ideas? I will try to compare the code so single and stereo calibration, although don't have much experience coding in python. Regarding GUI in the calibration window, is it implemented by means of opencv GUI? |
On OS X, shared libraries should be postfixed with If you code is explicitly using |
I would note though, that |
There is no my code involved. There are only pure groovy packages, specifically image_pipeline and cv_bridge. I would like to know if someone can replicate this issue. |
Yeah I was meaning that some of the groovy packages might be doing this incorrectly. I haven't had time to try and reproduce this. I'll look into it today if I get the new bloom released on time. |
Here is the answers for the above stated problems
Then gtk should be installed
and /opt/X11/lib/pkgconfig should be added to ~/.profile
after building opencv, I could run calibration without a problem. As mentioned before cv_bridge_boost.dylib should be renamed to cv_bridge_boost.so. PS: I hope I did not forget to mention any steps. |
I am getting exactly the same error as in #18
I am on Mac OS 10.8.4. cv_bridge is of version 1.10.6. What do you think the cause of the error could be?
Here is the log
The text was updated successfully, but these errors were encountered: