Home › Forum › SOFA › Building SOFA › [SOLVED] Error while building SOFA in Linux
Tagged: 32_bits, GCC, Linux_ubuntu, SOFA_1512
- This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago by malli.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
7 June 2016 at 13:00 #7072malliBlocked
I have got error message at 90% of building SOFA can someone help me to solve this?
In file included from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/SofaOpenglVisual/OglShader.h:45:0, from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/SofaOpenglVisual/OglShaderVisualModel.h:37, from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/sofa/component/typedef/VisualModel_float.h:43, from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/sofa/component/typedef/Sofa_float.h:51, from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/sofa/component/typedef/Sofa_typedef.h:37, from /home/neha/Documents/sofa/v15.12/src/modules/SofaBaseCollision/SofaBaseCollision_test/BroadPhase_test.h:6, from /home/neha/Documents/sofa/v15.12/src/modules/SofaBaseCollision/SofaBaseCollision_test/BroadPhase_test.cpp:1: /home/neha/Documents/sofa/v15.12/src/framework/sofa/core/../../sofa/helper/gl/GLSLShader.h:31:2: error: #error GL Shader support requires GLEW. Please define SOFA_HAVE_GLEW to use shaders. #error GL Shader support requires GLEW. Please define SOFA_HAVE_GLEW to use shaders. ^ In file included from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/SofaOpenglVisual/OglShaderVisualModel.h:37:0, from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/sofa/component/typedef/VisualModel_float.h:43, from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/sofa/component/typedef/Sofa_float.h:51, from /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/sofa/component/typedef/Sofa_typedef.h:37, from /home/neha/Documents/sofa/v15.12/src/modules/SofaBaseCollision/SofaBaseCollision_test/BroadPhase_test.h:6, from /home/neha/Documents/sofa/v15.12/src/modules/SofaBaseCollision/SofaBaseCollision_test/BroadPhase_test.cpp:1: /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/SofaOpenglVisual/OglShader.h:119:17: error: ‘GLSLShader’ is not a member of ‘sofa::helper::gl’ std::vector<sofa::helper::gl::GLSLShader*> shaderVector; ^ /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/SofaOpenglVisual/OglShader.h:119:17: error: ‘GLSLShader’ is not a member of ‘sofa::helper::gl’ /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/SofaOpenglVisual/OglShader.h:119:46: error: template argument 1 is invalid std::vector<sofa::helper::gl::GLSLShader*> shaderVector; ^ /home/neha/Documents/sofa/v15.12/src/SofaSimulation/../modules/SofaOpenglVisual/OglShader.h:119:46: error: template argument 2 is invalid make[2]: *** [modules/tests/tests/SofaBaseCollision/CMakeFiles/SofaBaseCollision_test.dir/BroadPhase_test.cpp.o] Error 1 make[1]: *** [modules/tests/tests/SofaBaseCollision/CMakeFiles/SofaBaseCollision_test.dir/all] Error 2 make: *** [all] Error 2
7 June 2016 at 13:58 #7073GuillaumeKeymasterHi malli,
#error GL Shader support requires GLEW. Please define SOFA_HAVE_GLEW to use shaders.
Did you install GLEW as specified in the documentation (“Required dependencies” part) ?
sudo apt-get install libglew-dev
Cheers,
Guillaume.8 June 2016 at 05:35 #7080malliBlockedThanks,
I got it now. -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.