AlphaPose icon indicating copy to clipboard operation
AlphaPose copied to clipboard

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

Open DailyVy opened this issue 2 years ago • 8 comments

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?

DailyVy avatar Aug 07 '22 07:08 DailyVy

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

ThatNight avatar Aug 08 '22 07:08 ThatNight

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

julienguegan avatar Aug 08 '22 07:08 julienguegan

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

Sadly, Not yet

DailyVy avatar Aug 09 '22 09:08 DailyVy

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

Thanks. I faced the another error too.

DailyVy avatar Aug 09 '22 09:08 DailyVy

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

temofy avatar Aug 23 '22 16:08 temofy

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

balazsmorv avatar Aug 24 '22 14:08 balazsmorv

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

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

temofy avatar Aug 24 '22 14:08 temofy

This worked for me.

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

shuofeng1 avatar Aug 30 '22 02:08 shuofeng1

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?

JamesMcCullochDickens avatar Oct 08 '22 11:10 JamesMcCullochDickens

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.

LiuXuan66 avatar Oct 18 '22 07:10 LiuXuan66