Skip to content
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

Fixes to allow OSX build to compile and run without crashing #26

Merged
merged 3 commits into from
Aug 12, 2019

Conversation

tmiw
Copy link
Collaborator

@tmiw tmiw commented Aug 11, 2019

This is the second part of the needed changes to get OSX builds working again (the first part involves Codec2 changes; that pull request is at https://github.com/drowe67/codec2/pull/66). To do this, build_osx.sh was created as well as various CMake files fixed to ensure that consistent OSX compiler/linker flags are used throughout all prerequisites.

@drowe67
Copy link
Owner

drowe67 commented Aug 11, 2019

Great work @tmiw - I've asked Mark to test on his machine. It would also be nice to configure Travis to build this to ensure we don't break the OSX build as freedv-gui evolves.

# First build and install vanilla codec2 as we need -lcodec2 to build LPCNet
cd $FREEDVGUIDIR
git clone https://github.com/drowe67/codec2.git
cd codec2 && git checkout master && git pull
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tmiw do we need to clone from tmiw:master here to test this PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this (by changing the script in my own local git repo), and it worked.

@darksidelemm
Copy link
Contributor

I can confirm that this PR lets me build under OSX!
Note my comments on the related codec2 PR here https://github.com/drowe67/codec2/pull/66

I haven't done any testing of the resultant build, but it does open, so I'd say that's good enough to approve this PR.

# First build and install vanilla codec2 as we need -lcodec2 to build LPCNet
cd $FREEDVGUIDIR
git clone https://github.com/drowe67/codec2.git
cd codec2 && git checkout master && git pull
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this (by changing the script in my own local git repo), and it worked.

@drowe67
Copy link
Owner

drowe67 commented Aug 12, 2019

Oops I think I posted a comment to the wrong PR. Here's my test request: https://github.com/drowe67/codec2/tree/master/wav for this build of freedv-gui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants