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

static build fails unless these link libraries specified #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

static build fails unless these link libraries specified #32

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jan 10, 2017

if I specify STATIC_BUILD CMake option I need to also add these libraries to make it

@f0k
Copy link
Collaborator

f0k commented Feb 16, 2017

Thank you for the PR, and sorry for the late reply. When you say "static build fails", what's the error you get? Currently, I can use BUILD_STATIC to build the executables such that they include libmusly, but still link against libav. Your variant will include avcodec and avformat, but what about avutil? And does it include libvorbis, libtheora and other libav dependencies?

@ghost
Copy link
Author

ghost commented Feb 17, 2017

Hi Jan! I'm getting a linked error on linking "musly" and "selftest" while trying to link libmusly.a statically instead of linking with libmusly.so dynamically. Adding these target libraries helps you to link executable with libmusly.a

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.

1 participant