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

stb fails to link under linux #70

Closed
creutzerb opened this issue Sep 19, 2021 · 2 comments
Closed

stb fails to link under linux #70

creutzerb opened this issue Sep 19, 2021 · 2 comments

Comments

@creutzerb
Copy link

Hello,

I get the the problem mentioned here Temtaime/stb#3 (comment) whether it's local or not.

Any idea where that might be coming from ?
Thanks.

@gecko0307
Copy link
Owner

gecko0307 commented Sep 21, 2021

Seems that compress_for_stb_image_write ends up missing from the binary at link stage.
I've added a module constructor that makes a reference to this function so that it is not removed. A bit hacky solution, but should work.

@creutzerb
Copy link
Author

Tested Dagon 0.12.0-beta2 - it works

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