MVIG-SJTU / AlphaPose

Real-Time and Accurate Full-Body Multi-Person Pose Estimation&Tracking System
http://mvig.org/research/alphapose.html
Other
7.96k stars 1.97k forks source link

error: Setup script exited with error: command '/usr/bin/gcc' failed with exit code 1 #1067

Open DailyVy opened 2 years ago

DailyVy commented 2 years ago

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?
ThatNight commented 2 years ago

Hi, I have the same problem, have you solved it?

julienguegan commented 2 years ago

I tried sudo apt-get install libosmesa6-dev but another error then appears ...

DailyVy commented 2 years ago

Hi, I have the same problem, have you solved it?

Sadly, Not yet

DailyVy commented 2 years ago

I tried sudo apt-get install libosmesa6-dev but another error then appears ...

Thanks. I faced the another error too.

temofy commented 2 years ago

Maybe these instructions will help https://github.com/MVIG-SJTU/AlphaPose/issues/1072

balazsmorv commented 2 years ago

I'm having the same issues. Did you manage to solve it?

temofy commented 2 years ago

I'm having the same issues. Did you manage to solve it?

Are you try solution from link above? I solved these issues

shuofeng1 commented 2 years ago

This worked for me.

sudo apt install libosmesa6-dev pip install halpecocotools —————

JamesMcCullochDickens commented 1 year ago

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?

LiuXuan66 commented 1 year ago

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.