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

Library is missing the link with GLEW and freetype libraries #236

Open
yurivict opened this issue Mar 18, 2021 · 1 comment
Open

Library is missing the link with GLEW and freetype libraries #236

yurivict opened this issue Mar 18, 2021 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Mar 18, 2021

glew* symbols are missing:

$ LD_PRELOAD=/usr/local/lib/libfreetype-gl.so ls
ld-elf.so.1: /usr/local/lib/libfreetype-gl.so: Undefined symbol "__glewEnableVertexAttribArray"

freetype symbols are also missing:

ld: error: /usr/local/lib/libfreetype-gl.so: undefined reference to FT_Glyph_StrokeBorder

It needs the link flags -lGLEW -lfreetype.

@yurivict yurivict changed the title Library is missing link with GLEW Library is missing the link with GLEW Mar 18, 2021
@yurivict yurivict changed the title Library is missing the link with GLEW Library is missing the link with GLEW and freetype libraries Mar 18, 2021
@rougier
Copy link
Owner

rougier commented Mar 24, 2021

Thanks. Do you know if the option is ON for glew in your cmake config?

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