Open piyushapple1998 opened 4 years ago
It seems that the compiler cannot find the GLEW library. Can you try to reinstall the GLEW library?
Hello
Thank you for your response. I have repeatedly tried to do that with the latest and different versions, still no luck :( I found some solutions about making the library static but couldn't do that on the Cmake text. What could be the problem?
I am on Ubuntu 18.04
I reinstalled ubuntu 18.04 and set it up with cuda 10.1 and cudnn7 but still no luck. Is this environmental suitable or do I have to use ubuntu 16.04 specifically?
Hello
If you could please guide me how to get the bvh file it would be really helpful as my reserch is due soon. I was able to follow the instructions and get the first 10 frames in bvh. But when I opened the bvh file, it is just blank with no skeleton. What could be the issue please help.
Thank you
Hi @piyushapple1998 , I meet the same problem about the glew. How did you solve it? Thanks!
Hi @yzhou359 Yes I did I'll shortly post the solution here
Hi @yzhou359 Yes I did I'll shortly post the solution here
How did you solve it? Thanks!
@CHDQ I find that when I downgrade the cmake to cmake==3.5.1, the problem resolved. Hope this helps. Btw, my glew version is glew==2.1.0
@CHDQ I find that when I downgrade the cmake to cmake==3.5.1, the problem resolved. Hope this helps. Btw, my glew version is glew==2.1.0
it’s work for me.thank you
change ${GLEW_LIBRARY} to GLEW::GLEW in CmakeLists.txt, it works for me.
change ${GLEW_LIBRARY} to GLEW::GLEW in CmakeLists.txt, it works for me.
This also works for me. Thank you.
change ${GLEW_LIBRARY} to GLEW::GLEW in CmakeLists.txt, it works for me.
It works! Thanks!
Renderer.cpp:(.text+0xdc): undefined reference to
glewInit' Renderer.cpp:(.text+0x417): undefined reference to
glewUseProgram' Renderer.cpp:(.text+0x435): undefined reference to `glewGenVertexArrays' Renderer.cpp:(.text+0x450): undefined reference to__glewBindVertexArray' Renderer.cpp:(.text+0x467): undefined reference to
glewGenBuffers' Renderer.cpp:(.text+0x482): undefined reference to `glewGenBuffers' Renderer.cpp:(.text+0x49d): undefined reference to__glewGenBuffers' Renderer.cpp:(.text+0x4b8): undefined reference to
glewGenBuffers' Renderer.cpp:(.text+0x4dd): undefined reference to `glewGenFramebuffers' Renderer.cpp:(.text+0x4f8): undefined reference to__glewBindFramebuffer' Renderer.cpp:(.text+0x5aa): undefined reference to
glewFramebufferTexture' Renderer.cpp:(.text+0x5ce): undefined reference to `glewGenRenderbuffers' Renderer.cpp:(.text+0x5e9): undefined reference to__glewBindRenderbuffer' Renderer.cpp:(.text+0x605): undefined reference to
glewRenderbufferStorage' Renderer.cpp:(.text+0x625): undefined reference to `glewFramebufferRenderbuffer' Renderer.cpp:(.text+0x64b): undefined reference to__glewCheckFramebufferStatus' Renderer.cpp:(.text+0x679): undefined reference to
glewGenFramebuffers' Renderer.cpp:(.text+0x694): undefined reference to `glewBindFramebuffer' Renderer.cpp:(.text+0x73a): undefined reference to__glewFramebufferTexture' Renderer.cpp:(.text+0x75e): undefined reference to
glewCheckFramebufferStatus' Renderer.cpp:(.text+0x78c): undefined reference to `glewGenFramebuffers' Renderer.cpp:(.text+0x7a7): undefined reference to__glewBindFramebuffer' Renderer.cpp:(.text+0x84d): undefined reference to
glewFramebufferTexture' Renderer.cpp:(.text+0x871): undefined reference to `glewFramebufferRenderbuffer' Renderer.cpp:(.text+0x897): undefined reference to__glewCheckFramebufferStatus' Renderer.cpp:(.text+0x8ca): undefined reference to
glewGenFramebuffers' Renderer.cpp:(.text+0x8e5): undefined reference to `glewBindFramebuffer' libMYLIB.a(Renderer.cpp.o): In functionRenderer::LoadShaderFiles(char const*, char const*, bool)': Renderer.cpp:(.text+0xcff): undefined reference to
glewCreateShader' Renderer.cpp:(.text+0xd16): undefined reference to `glewCreateShader' Renderer.cpp:(.text+0xfc4): undefined reference to__glewShaderSource' Renderer.cpp:(.text+0xfe7): undefined reference to
glewCompileShader' Renderer.cpp:(.text+0xffb): undefined reference to `glewGetShaderiv' Renderer.cpp:(.text+0x101b): undefined reference to__glewGetShaderiv' Renderer.cpp:(.text+0x108c): undefined reference to
glewGetShaderInfoLog' Renderer.cpp:(.text+0x112a): undefined reference to `glewShaderSource' Renderer.cpp:(.text+0x114d): undefined reference to__glewCompileShader' Renderer.cpp:(.text+0x1161): undefined reference to
glewGetShaderiv' Renderer.cpp:(.text+0x1181): undefined reference to `glewGetShaderiv' Renderer.cpp:(.text+0x11f2): undefined reference to__glewGetShaderInfoLog' Renderer.cpp:(.text+0x126b): undefined reference to
glewCreateProgram' Renderer.cpp:(.text+0x127d): undefined reference to `glewAttachShader' Renderer.cpp:(.text+0x1299): undefined reference to__glewAttachShader' Renderer.cpp:(.text+0x12b5): undefined reference to
glewLinkProgram' Renderer.cpp:(.text+0x12c9): undefined reference to `glewGetProgramiv' Renderer.cpp:(.text+0x12e9): undefined reference to__glewGetProgramiv' Renderer.cpp:(.text+0x135a): undefined reference to
glewGetProgramInfoLog' Renderer.cpp:(.text+0x13be): undefined reference to `glewDeleteShader' Renderer.cpp:(.text+0x13d2): undefined reference to__glewDeleteShader' libMYLIB.a(Renderer.cpp.o): In function
Renderer::SimpleRenderer()': Renderer.cpp:(.text+0x204a): undefined reference to__glewBindFramebuffer' Renderer.cpp:(.text+0x208d): undefined reference to
glewCheckFramebufferStatus' Renderer.cpp:(.text+0x20e5): undefined reference to `glewDrawBuffers' Renderer.cpp:(.text+0x20ff): undefined reference to__glewBindFramebuffer' Renderer.cpp:(.text+0x2a2b): undefined reference to
glewUseProgram' Renderer.cpp:(.text+0x320a): undefined reference to `glewUseProgram' libMYLIB.a(Renderer.cpp.o): In functionRenderer::MeshRender()': Renderer.cpp:(.text+0x3c86): undefined reference to
glewBindFramebuffer' Renderer.cpp:(.text+0x3cc9): undefined reference to `glewCheckFramebufferStatus' Renderer.cpp:(.text+0x3d21): undefined reference to__glewDrawBuffers' Renderer.cpp:(.text+0x3d3b): undefined reference to
glewBindFramebuffer' Renderer.cpp:(.text+0x4667): undefined reference to `glewUseProgram' Renderer.cpp:(.text+0x4f37): undefined reference to__glewUseProgram' Renderer.cpp:(.text+0x4f4f): undefined reference to
glewGetUniformLocation' Renderer.cpp:(.text+0x4f74): undefined reference to `glewUniformMatrix4fv' Renderer.cpp:(.text+0x4fb6): undefined reference to__glewGetUniformLocation' Renderer.cpp:(.text+0x4fdb): undefined reference to
glewUniformMatrix4fv' Renderer.cpp:(.text+0x5020): undefined reference to `glewUseProgram' Renderer.cpp:(.text+0x5045): undefined reference to__glewBindVertexArray' Renderer.cpp:(.text+0x505c): undefined reference to
glewBindBuffer' Renderer.cpp:(.text+0x5078): undefined reference to `glewBufferData' Renderer.cpp:(.text+0x50fe): undefined reference to__glewMapBuffer' Renderer.cpp:(.text+0x52d3): undefined reference to
glewUnmapBuffer' Renderer.cpp:(.text+0x52e4): undefined reference to `glewGetAttribLocation' Renderer.cpp:(.text+0x5309): undefined reference to__glewVertexAttribPointer' Renderer.cpp:(.text+0x5336): undefined reference to
glewEnableVertexAttribArray' Renderer.cpp:(.text+0x534a): undefined reference to `glewGetAttribLocation' Renderer.cpp:(.text+0x536f): undefined reference to__glewVertexAttribPointer' Renderer.cpp:(.text+0x53a2): undefined reference to
glewEnableVertexAttribArray' Renderer.cpp:(.text+0x53b6): undefined reference to `glewGetAttribLocation' Renderer.cpp:(.text+0x53db): undefined reference to__glewVertexAttribPointer' Renderer.cpp:(.text+0x5410): undefined reference to
glewEnableVertexAttribArray' Renderer.cpp:(.text+0x5424): undefined reference to `glewGetAttribLocation' Renderer.cpp:(.text+0x5449): undefined reference to__glewVertexAttribPointer' Renderer.cpp:(.text+0x5487): undefined reference to
glewEnableVertexAttribArray' Renderer.cpp:(.text+0x54bd): undefined reference to `glewBindBuffer' Renderer.cpp:(.text+0x54d9): undefined reference to__glewBufferData' Renderer.cpp:(.text+0x55e3): undefined reference to
glewUseProgram' libMYLIB.a(Renderer.cpp.o): In functionRenderer::RenderAndRead()': Renderer.cpp:(.text+0x690f): undefined reference to
glewBindFramebuffer' Renderer.cpp:(.text+0x6925): undefined reference to__glewUseProgram' libMYLIB.a(Renderer.cpp.o): In function
Renderer::DepthMapRenderer()': Renderer.cpp:(.text+0x6cab): undefined reference to__glewUseProgram' Renderer.cpp:(.text+0x6ccf): undefined reference to
glewGetUniformLocation' Renderer.cpp:(.text+0x6dd4): undefined reference to `glewUniformMatrix4fv' Renderer.cpp:(.text+0x6e16): undefined reference to__glewBindVertexArray' Renderer.cpp:(.text+0x6e2d): undefined reference to
glewBindBuffer' Renderer.cpp:(.text+0x6e49): undefined reference to `glewBufferData' Renderer.cpp:(.text+0x6ea9): undefined reference to__glewGetAttribLocation' Renderer.cpp:(.text+0x6ece): undefined reference to
glewVertexAttribPointer' Renderer.cpp:(.text+0x6efb): undefined reference to `glewEnableVertexAttribArray' Renderer.cpp:(.text+0x6f19): undefined reference to__glewBindFramebuffer' Renderer.cpp:(.text+0x6f4e): undefined reference to
glewCheckFramebufferStatus' Renderer.cpp:(.text+0x6fb6): undefined reference to `glewClearBufferfv' Renderer.cpp:(.text+0x7009): undefined reference to__glewBindBuffer' Renderer.cpp:(.text+0x7025): undefined reference to
glewBufferData' libMYLIB.a(Renderer.cpp.o): In functionRenderer::RenderAndReadDepthMap()': Renderer.cpp:(.text+0x7158): undefined reference to
glewCheckFramebufferStatus' Renderer.cpp:(.text+0x7308): undefined reference to__glewBindFramebuffer' Renderer.cpp:(.text+0x731e): undefined reference to
glewUseProgram' libMYLIB.a(Renderer.cpp.o): In functionRenderer::ProjectionRenderer()': Renderer.cpp:(.text+0x73bb): undefined reference to
glewUseProgram' Renderer.cpp:(.text+0x73df): undefined reference to__glewGetUniformLocation' Renderer.cpp:(.text+0x74e4): undefined reference to
glewUniformMatrix4fv' Renderer.cpp:(.text+0x753a): undefined reference to `glewBindFramebuffer' Renderer.cpp:(.text+0x756f): undefined reference to__glewCheckFramebufferStatus' Renderer.cpp:(.text+0x7601): undefined reference to
glewClearBufferfv' Renderer.cpp:(.text+0x7628): undefined reference to `glewBindVertexArray' Renderer.cpp:(.text+0x763f): undefined reference to__glewBindBuffer' Renderer.cpp:(.text+0x765b): undefined reference to
glewBufferData' Renderer.cpp:(.text+0x76e0): undefined reference to `glewMapBuffer' Renderer.cpp:(.text+0x77ec): undefined reference to__glewUnmapBuffer' Renderer.cpp:(.text+0x77fd): undefined reference to
glewGetAttribLocation' Renderer.cpp:(.text+0x7822): undefined reference to `glewVertexAttribPointer' Renderer.cpp:(.text+0x784f): undefined reference to__glewEnableVertexAttribArray' Renderer.cpp:(.text+0x7863): undefined reference to
glewGetAttribLocation' Renderer.cpp:(.text+0x7888): undefined reference to `glewVertexAttribPointer' Renderer.cpp:(.text+0x78bb): undefined reference to__glewEnableVertexAttribArray' Renderer.cpp:(.text+0x78f1): undefined reference to
glewBindBuffer' Renderer.cpp:(.text+0x790d): undefined reference to `glewBufferData' libMYLIB.a(Renderer.cpp.o): In functionRenderer::RenderAndReadProjection()': Renderer.cpp:(.text+0x7a2c): undefined reference to
glewCheckFramebufferStatus' Renderer.cpp:(.text+0x7aed): undefined reference to `glewBindFramebuffer' Renderer.cpp:(.text+0x7b03): undefined reference to `__glewUseProgram' collect2: error: ld returned 1 exit status CMakeFiles/run_fitting.dir/build.make:194: recipe for target 'run_fitting' failed make[2]: [run_fitting] Error 1 CMakeFiles/Makefile2:182: recipe for target 'CMakeFiles/run_fitting.dir/all' failed make[1]: [CMakeFiles/run_fitting.dir/all] Error 2 Makefile:103: recipe for target 'all' failed make: *** [all] Error 2I am getting this error while building the git. Please help.