-
Notifications
You must be signed in to change notification settings - Fork 176
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
Compiling on OSX 10.9.2 fails #13
Comments
@kubark42 It's probably not linking to gstreamer at all. What's the pkg-config name for gstreamer on OS X? On Ubutntu 12.04, it's
|
@jbohren, here's a list of all the "gstreamer-" double-tab autocompletion strings.
And the specific response to your question:
|
Ah I see. I suspect the problem is here: https://github.com/ros-drivers/gscam/blob/master/CMakeLists.txt#L55 Try adding the following to the CmakeLists.txt: target_link_libraries(gscam
${catkin_LIBRARIES}
${GSTREAMER_LIBRARIES}
${GST_APP_LIBRARIES}) |
Progress, maybe?
led to a different error:
Could you confirm that I've added the |
It should go right after |
Moved there, but almost the same results:
|
Solution to the second problem, the missing gscam now successfully compiles. Now I just have to figure out how to use it with a Logitech c920 on OSX! Pointers are welcome. ;) |
@kubark42 Cool, thanks for the feedback! |
@tfoote on linux
Look at the v4l.launch (video4linux) and try replacing If that works, could you submit a PR with an |
I am not familiar with that. Probably the best solution is to create a rosdep for |
Actually my mistake, libgettext is apparently getting installed properly, but symlinks aren't getting generated. It's apparently a @wjwwood Have you had issues with "keg-only" installs in your osx-ing x-perience? |
Generally if something is keg-only, then it is because OS X comes with a conflicting version or package. You can just do |
Is there something we should do as package maintainers about a (second-order) |
I think the general rule of thumb is that if you don't know why you need to the keg-only formula, then you don't actually need it. In which case keg-only shouldn't affect you and you'll use the system provided one. If you actually need the newer or different one provided keg-only then you'll need to advise your users to link the keg-only package or you'll need to make sure your CMake package looks for the keg-only thing in |
FWIW, I did a @jbohren Thanks for the advice on v4l.launch. Progress!
So this is great news, although I'm not all the way yet. When I run with Also, the DEVICE name has no effect on which camera is chosen. I can enter something completely random-- e.g. pounding the keyboard-- and it will still turn on the internal camera. When I figure out how to specify the camera I'll submit a patch for OSX. Should I make a new issue for the fact that it's not publishing image_raw and camera_info topics? |
Yeah, though I don't have a mac for testing, so I might not be too much help at the moment. |
Fixes ros-drivers#13, now builds on stricter linkers
Using latest checkout (e0d255f )
catkin_make
fails withI'm not sure what library it's looking for. FWIW, I've added
image_transport
to the workspace src directory.The text was updated successfully, but these errors were encountered: