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

This can be statically compiled? #1

Open
hugoruscitti opened this issue Feb 11, 2016 · 1 comment
Open

This can be statically compiled? #1

hugoruscitti opened this issue Feb 11, 2016 · 1 comment
Labels

Comments

@hugoruscitti
Copy link

Hi @gheinrich, first of all, great project!

I'd like to know if this project can be compiled statically, do you have some tip to create portable binaries?

Thanks!

@gheinrich
Copy link
Owner

Thanks for your interest in the project! I tried the dummy solution of merely adding -static to the g++ command line however that yields a bunch of undefined references to OpenCV API. There are related topics on StackOverflow where the recommendation is to rebuild OpenCV with BUILD_SHARED_LIBS=OFF. I don't quite have the time to try that now but feel free to report on progress if you find something. Otherwise I'll try it when I find the time.

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

No branches or pull requests

2 participants