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

setup.py #75

Closed
ykgod7 opened this issue May 18, 2022 · 3 comments
Closed

setup.py #75

ykgod7 opened this issue May 18, 2022 · 3 comments

Comments

@ykgod7
Copy link

ykgod7 commented May 18, 2022

In file included from opendr/contexts/OSMesa/include/GL/gl.h:2085:0, from opendr/contexts/gl_includes.h:10, from opendr/contexts/ctx_mesa.c:756: opendr/contexts/OSMesa/include/GL/glext.h:5794:21: note: expected ‘const GLchar ** {aka const char **}’ but argument is of type ‘char **’ GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); ^~~~~~~~~~~~~~ /home/training/anaconda3/envs/hybrik/compiler_compat/ld: cannot find -lOSMesa: No such file or directory collect2: error: ld returned 1 exit status error: Setup script exited with error: command '/usr/bin/gcc' failed with exit code 1

I got this error while following the installation direction python setup.py develop. How can I solve this?

@Tengoles
Copy link

I have the same problem, some support would be very appreciated.

@Tengoles
Copy link

Just found the solution by installing the libraries mentioned in the last comment from here: mattloper/opendr#30

@ykgod7 ykgod7 closed this as completed May 23, 2022
@afiretony
Copy link

I gauss the problem is that we haven't installed osmesa, I solved by sudo apt-get install libosmesa6-dev

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

3 participants