Hi Ed - The actual link command was not included in the output you provided, so it's difficult to say exactly where the issue lies. But, the basic cause is that "libSDL.dylib" is not being included in the link command, and/or it does not contain the various "SDL_*" symbols that are not being found, and/or the .PC file for SDL (sdl.pc) does not provide correct linkage, and/or libSDL was built for the wrong architecture (32 bit, not 64 bit). To the best of my knowledge, the GNU Radio CMake script for the gr-video-sdl component works correctly when libSDL is not found (meaning: it disables the component). If you want to work more on this, email me off list and we can summarize on list as appropriate. - MLD
On Nov 5, 2014, at 4:55 PM, Ed <sbfreddie@comcast.net> wrote:
> I am trying to build gnuradio on Mac OS 10.9.5 using homebrew and I can't seem to get past this error:
> Undefined symbols for architecture x86_64:
> "_SDL_CreateYUVOverlay", referenced from:
> gr::video_sdl::sink_s_impl::sink_s_impl(double, int, int, unsigned int, int, int) in sink_s_impl.cc.o
> gr::video_sdl::sink_s_impl::sink_s_impl(double, int, int, unsigned int, int, int) in sink_s_impl.cc.o
> make[1]: /usr/local/Cellar/cmake/3.0.2/bin/c
>
> Anybody have any ideas on how to solve this problem?
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment