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

Linker problem building a monomer app #19

Open
sproott opened this issue Feb 17, 2022 · 2 comments
Open

Linker problem building a monomer app #19

sproott opened this issue Feb 17, 2022 · 2 comments

Comments

@sproott
Copy link

sproott commented Feb 17, 2022

I'm trying to build a monomer app and I'm getting linker errors:

image

I think I have the required dependencies (sdl2-dev and glew-dev), but the linker fails anyways. The libraries are actually located in /usr/lib as they should be:

image

Still, the linker does not find them. Any ideas on what to do?

Example project: https://github.com/sproott/monomer-static-build-problem

@sproott
Copy link
Author

sproott commented Feb 17, 2022

According to this comment thread on Reddit, it's impossible to statically link X11 and GL, so I'll just resort to a distro-specific dynamic executable. Should I close this for now?

@utdemir
Copy link
Owner

utdemir commented Feb 21, 2022

@sproott Nice find, thanks for sharing!

My impression from that thread is that it is not impossible; but it definitely seems to require much more intimate knowledge than I have. So, let's keep the issue open with the hope that someone might provide a way out or the situation changes in future.

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

No branches or pull requests

2 participants