I am trying to build drt-vio-init, but I got the following error, which I suggest is related to the version of Pangolin that I am using:
/usr/local/include/pangolin/gl/glsl.hpp: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.hpp:539:12: error: ‘glGetProgramResourceIndex’ was not declared in this scope
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.hpp:539:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.hpp: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.hpp:544:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.hpp:544:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
make[2]: *** [CMakeFiles/MyVio.dir/build.make:128: CMakeFiles/MyVio.dir/src/initMethod/drtLooselyCoupled.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:108: CMakeFiles/MyVio.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
I am using the same version of Pangolin the current (latest release) version of it from https://github.com/stevenlovegrove/Pangolin.git
I assume this is what might have been the cause of these issues, would be grateful for your further guidance
I am trying to build
drt-vio-init
, but I got the following error, which I suggest is related to the version ofPangolin
that I am using:I am using the same version of Pangolin the current (latest release) version of it from https://github.com/stevenlovegrove/Pangolin.git I assume this is what might have been the cause of these issues, would be grateful for your further guidance