On Sun, Sep 11, 2011 at 11:09 AM, Josh B. [email protected] wrote:
doing 64-bit, but doing so was much more reliable using Apple’s
would bet that CMAKE_SYSTEM_PROCESSOR is “i386” (it is for all Intel
compiler’s bit width in filter. I think its a lot more robust:
http://gnuradio.org/cgit/jblum.git/log/?h=detect_x86_type
-josh
Yep, that fixed the problem.
In case anyone wants to continuing playing “get the cmake build
working on an obsolete macbook” game, here is the next error I get. I
should emphasize that I don’t need to get this working, so it’s only
of importance if you think that getting the cmake build working on a 4
year old macbook is a worthwhile goal :).
[ 74%] Building CXX object
gr-audio/lib/CMakeFiles/gnuradio-audio.dir/osx/audio_osx_sink.cc.o
Linking CXX shared library libgnuradio-audio.dylib
ld warning: duplicate dylib /usr/local/lib/libboost_date_time-mt.dylib
ld warning: duplicate dylib
/usr/local/lib/libboost_program_options-mt.dylib
ld warning: duplicate dylib /usr/local/lib/libboost_filesystem-mt.dylib
ld warning: duplicate dylib /usr/local/lib/libboost_system-mt.dylib
ld warning: duplicate dylib /usr/local/lib/libboost_thread-mt.dylib
Undefined symbols:
“_CloseComponent”, referenced from:
audio_osx_source::~audio_osx_source()in audio_osx_source.cc.o
audio_osx_source::~audio_osx_source()in audio_osx_source.cc.o
audio_osx_source::~audio_osx_source()in audio_osx_source.cc.o
audio_osx_sink::~audio_osx_sink()in audio_osx_sink.cc.o
audio_osx_sink::~audio_osx_sink()in audio_osx_sink.cc.o
audio_osx_sink::~audio_osx_sink()in audio_osx_sink.cc.o
“_OpenAComponent”, referenced from:
audio_osx_source::audio_osx_source(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_source.cc.o
audio_osx_source::audio_osx_source(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_source.cc.o
audio_osx_sink::audio_osx_sink(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_sink.cc.o
audio_osx_sink::audio_osx_sink(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_sink.cc.o
“_FindNextComponent”, referenced from:
audio_osx_source::audio_osx_source(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_source.cc.o
audio_osx_source::audio_osx_source(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_source.cc.o
audio_osx_sink::audio_osx_sink(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_sink.cc.o
audio_osx_sink::audio_osx_sink(int, std::basic_string<char,
std::char_traits, std::allocator >, bool, int, int)in
audio_osx_sink.cc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [gr-audio/lib/libgnuradio-audio.3.x.x.dylib] Error 1
make[1]: *** [gr-audio/lib/CMakeFiles/gnuradio-audio.dir/all] Error 2
make: *** [all] Error 2