AlphaPose
AlphaPose copied to clipboard
error: Setup script exited with error: command '/usr/bin/gcc' failed with exit code 1
opendr/contexts/ctx_mesa.c: In function ‘__pyx_pf_6opendr_8contexts_8ctx_mesa_13OsContextBase_150ShaderSource’: opendr/contexts/ctx_mesa.c:13300:50: warning: passing argument 3 of ‘glShaderSource’ from incompatible pointer type [-Wincompatible-pointer-types] glShaderSource(__pyx_v_shader, __pyx_v_count, (&__pyx_v_s), (&__pyx_v_len)); ~^~~~~~~~~~~ In file included from opendr/contexts/OSMesa/include/GL/gl.h:2085, from opendr/contexts/gl_includes.h:10, from opendr/contexts/ctx_mesa.c:804: opendr/contexts/OSMesa/include/GL/glext.h:5794:82: note: expected ‘const GLchar **’ {aka ‘const char **’} but argument is of type ‘char *’ IENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *string, const GLint *length); ~~~~~~~~~~~~~~~^~~~~~
/home/ai22/anaconda3/envs/alphapose/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
Hello I would like to build alphapose, but I got the above problem. can you give me a hand with this?
Hi, I have the same problem, have you solved it?
I tried sudo apt-get install libosmesa6-dev
but another error then appears ...
Hi, I have the same problem, have you solved it?
Sadly, Not yet
I tried
sudo apt-get install libosmesa6-dev
but another error then appears ...
Thanks. I faced the another error too.
Maybe these instructions will help https://github.com/MVIG-SJTU/AlphaPose/issues/1072
I'm having the same issues. Did you manage to solve it?
I'm having the same issues. Did you manage to solve it?
Are you try solution from link above? I solved these issues
This worked for me.
sudo apt install libosmesa6-dev pip install halpecocotools —————
pip install halpecocotools
This did not work for me, I am still getting the error: /home/james/anaconda3/compiler_compat/ld: cannot find -lGLU: No such file or directory has anyone fixed this?
apt-get install -y libosmesa6-dev libgl1-mesa-dev libglu1-mesa-dev I have fixed this problem. you can install the three bags to sovle the problems'can not find osmesa gl glu' respectively.