Is there anyone out there who has been able to successfully build the
latest git freedv / codec2 master branches under OSX?

The instructions here:
https://github.com/drowe67/freedv-gui/blob/master/README.osx
are now of course 100% out of date with the recent updates, and probably
need to be marked as such so others don't try and follow them and fall into
a trap.

A few notes so far:

- LPCNet builds fine with the recent-ish changes to look for AVX extensions
under OSX.

- The ofdm_stack target in codec2 won't compile using clang, as it doesn't
have the -no-pie and -Map options. I had to wrap the ofdm_stack target in
unittest/CMakeLists.txt in a if (NOT APPLE) directive so it wouldn't be
built. Once this is done codec2 builds fine.

The cmake command for freedv ends up being: cmake -DCMAKE_BUILD_TYPE=Debug
-DCODEC2_BUILD_DIR=/Users/darkside/Dev/codec2-git/build
-DLPCNET_BUILD_DIR=/Users/darkside/Dev/LPCNet_test/build
-DWXCONFIG=/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/wx/config/osx_cocoa-unicode-3.0
..

Compiling freedv itself is where I run into all sorts of fun errors, which
i've pasted here:
https://slexy.org/view/s2r4g9MkjG

I suspect these are related to clang's supplied libc++. Looking at the
CMakeLists.txt file for freedv, it looks like someone has encountered
something similar in the past:
https://github.com/drowe67/freedv-gui/blob/master/CMakeLists.txt#L98

Not really sure where to go from here, short of attempting to completely
recompile macports using gcc instead of clang, which is something I suspect
will result in my sanity degrading further than it already has this morning.

Hopefully there's someone else out there that has looked into this, or has
actually been successful in getting this to work!

73
Mark VK5QI
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to