Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Build Issue #81

Open
KeitoTakaishi opened this issue Oct 5, 2021 · 12 comments
Open

Build Issue #81

KeitoTakaishi opened this issue Oct 5, 2021 · 12 comments

Comments

@KeitoTakaishi
Copy link

Hi, I'm a master's student and I'm interested in your paper.
I built and installed requied library(CLI11, Pangolin, nanoflann, Eigen3).
However I can't build this Pre-processing Project.
Perhaps I'm having problems with the include graphics api.

I can't find anything addressing this issue. What do I need to do to get this to compile?
thank you.

I get:
DeepSDF/build$ cmake --build .
[ 14%] Built target cnpy
[ 21%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o
In file included from /home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:11:0:
/usr/local/include/pangolin/geometry/geometry.h:55:32: error: ‘variant’ in namespace ‘std’ does not name a template type
using Attribute = std::variant<Image,Image<uint32_t>,Image<uint16_t>,Image<uint8_t>>;
^~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:31: error: ‘Attribute’ was not declared in this scope
std::map<std::string, Attribute> attributes;
^~~~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 2 is invalid
std::map<std::string, Attribute> attributes;
^
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 4 is invalid
In file included from /usr/local/include/pangolin/gl/gl.h:295:0,
from /usr/local/include/pangolin/geometry/glgeometry.h:31,
from /home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:12:
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlTexture::CopyFrom(const pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:334:5: error: ‘glCopyImageSubDataNV’ was not declared in this scope
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:334:5: note: suggested alternative: ‘glCopyColorSubTable’
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
glCopyColorSubTable
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlRenderBuffer::Reinitialise(GLint, GLint, GLint)’:
/usr/local/include/pangolin/gl/gl.hpp:508:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:508:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:513:5: error: ‘glGenRenderbuffersEXT’ was not declared in this scope
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:513:5: note: suggested alternative: ‘GlRenderBuffer’
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:514:5: error: ‘glBindRenderbufferEXT’ was not declared in this scope
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:514:5: note: suggested alternative: ‘GlRenderBuffer’
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:515:5: error: ‘glRenderbufferStorageEXT’ was not declared in this scope
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:515:5: note: suggested alternative: ‘GlRenderBuffer’
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlRenderBuffer::~GlRenderBuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:522:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:522:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlFramebuffer::~GlFramebuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:571:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:571:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:578:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:578:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:587:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:587:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:597:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:597:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:608:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:608:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:619:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:619:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:620:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:620:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Reinitialise()’:
/usr/local/include/pangolin/gl/gl.hpp:626:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:626:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:628:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:628:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:633:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:633:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp:634:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:634:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘GLenum pangolin::GlFramebuffer::AttachColour(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:642:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:642:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:643:5: error: ‘glFramebufferTexture2DEXT’ was not declared in this scope
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, color_attachment, GL_TEXTURE_2D, tex.tid, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::AttachDepth(pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:654:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:654:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:656:5: error: ‘glFramebufferRenderbufferEXT’ was not declared in this scope
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, rb.rbid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Free()’:
/usr/local/include/pangolin/gl/gl.hpp:712:9: error: ‘glDeleteBuffers’ was not declared in this scope
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:712:9: note: suggested alternative: ‘glSelectBuffer’
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
glSelectBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Reinitialise(pangolin::GlBufferType, GLsizeiptr, GLenum, const void*)’:
/usr/local/include/pangolin/gl/gl.hpp:729:9: error: ‘glGenBuffers’ was not declared in this scope
glGenBuffers(1, &bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:729:9: note: suggested alternative: ‘glReadBuffer’
glGenBuffers(1, &bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp:737:5: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:737:5: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:743:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:743:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:748:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:748:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Upload(const GLvoid*, GLsizeiptr, GLintptr)’:
/usr/local/include/pangolin/gl/gl.hpp:758:5: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:758:5: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Download(GLvoid*, GLsizeiptr, GLintptr) const’:
/usr/local/include/pangolin/gl/gl.hpp:765:5: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:765:5: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Upload(const std::vector<_RealType>&, GLintptr)’:
/usr/local/include/pangolin/gl/gl.hpp:773:5: error: there are no arguments to ‘assert’ that depend on a template parameter, so a declaration of ‘assert’ must be available [-fpermissive]
assert(offset + total_bytes <= size_bytes);
^~~~~~
/usr/local/include/pangolin/gl/gl.hpp:773:5: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBuffer::Resize(GLuint)’:
/usr/local/include/pangolin/gl/gl.hpp:841:9: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:841:9: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:842:9: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, new_num_elements*GlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:842:9: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, new_num_elements
GlDataTypeBytes(datatype)*count_per_element, 0, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:843:9: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:843:9: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
GlBufferData
In file included from /usr/local/include/pangolin/geometry/glgeometry.h:32:0,
from /home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:12:
/usr/local/include/pangolin/gl/glsl.h: In static member function ‘static void pangolin::GlSlUtilities::UseNone()’:
/usr/local/include/pangolin/gl/glsl.h:242:9: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:242:9: note: suggested alternative: ‘GlSlProgram’
glUseProgram(0);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsLinkSuccessPrintLog(GLhandleARB)’:
/usr/local/include/pangolin/gl/glsl.h:331:5: error: ‘glGetProgramiv’ was not declared in this scope
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:331:5: note: suggested alternative: ‘GlSlProgram’
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:337:9: error: ‘glGetProgramInfoLog’ was not declared in this scope
glGetProgramInfoLog(prog, PROGRAM_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/geometry/glgeometry.h:32:0,
from /home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:12:
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsCompileSuccessPrintLog(GLhandleARB, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:351:5: error: ‘glGetShaderiv’ was not declared in this scope
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:351:5: note: suggested alternative: ‘glGetMapiv’
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
glGetMapiv
/usr/local/include/pangolin/gl/glsl.h:357:9: error: ‘glGetShaderInfoLog’ was not declared in this scope
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:357:9: note: suggested alternative: ‘glGetString’
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
glGetString
/usr/local/include/pangolin/gl/glsl.h: In destructor ‘pangolin::GlSlProgram::~GlSlProgram()’:
/usr/local/include/pangolin/gl/glsl.h:388:9: error: ‘glDeleteProgram’ was not declared in this scope
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:388:9: note: suggested alternative: ‘GlSlProgram’
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::AddPreprocessedShader(pangolin::GlSlShaderType, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:408:16: error: ‘glCreateProgram’ was not declared in this scope
prog = glCreateProgram();
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:408:16: note: suggested alternative: ‘GlSlProgram’
prog = glCreateProgram();
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:411:26: error: ‘glCreateShader’ was not declared in this scope
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:411:26: note: suggested alternative: ‘ClearShaders’
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:413:5: error: ‘glShaderSource’ was not declared in this scope
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:413:5: note: suggested alternative: ‘glShadeModel’
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
glShadeModel
/usr/local/include/pangolin/gl/glsl.h:414:5: error: ‘glCompileShader’ was not declared in this scope
glCompileShader(shader);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:414:5: note: suggested alternative: ‘GlSlComputeShader’
glCompileShader(shader);
^~~~~~~~~~~~~~~
GlSlComputeShader
/usr/local/include/pangolin/gl/glsl.h:417:9: error: ‘glAttachShader’ was not declared in this scope
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:417:9: note: suggested alternative: ‘AddShader’
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
AddShader
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::ClearShaders()’:
/usr/local/include/pangolin/gl/glsl.h:511:9: error: ‘glDetachShader’ was not declared in this scope
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:511:9: note: suggested alternative: ‘ClearShaders’
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:512:9: error: ‘glDeleteShader’ was not declared in this scope
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:512:9: note: suggested alternative: ‘GlSlVertexShader’
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
GlSlVertexShader
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::Link()’:
/usr/local/include/pangolin/gl/glsl.h:645:5: error: ‘glLinkProgram’ was not declared in this scope
glLinkProgram(prog);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:645:5: note: suggested alternative: ‘GlSlProgram’
glLinkProgram(prog);
^~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Bind()’:
/usr/local/include/pangolin/gl/glsl.h:652:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:652:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SaveBind()’:
/usr/local/include/pangolin/gl/glsl.h:658:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:658:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Unbind()’:
/usr/local/include/pangolin/gl/glsl.h:663:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prev_prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:663:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prev_prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetAttributeHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:668:12: error: ‘glGetAttribLocation’ was not declared in this scope
return glGetAttribLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetUniformHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:673:12: error: ‘glGetUniformLocation’ was not declared in this scope
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:673:12: note: suggested alternative: ‘GetUniformHandle’
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
GetUniformHandle
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int)’:
/usr/local/include/pangolin/gl/glsl.h:678:5: error: ‘glUniform1i’ was not declared in this scope
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:678:5: note: suggested alternative: ‘SetUniform’
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:683:5: error: ‘glUniform2i’ was not declared in this scope
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:683:5: note: suggested alternative: ‘SetUniform’
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:688:5: error: ‘glUniform3i’ was not declared in this scope
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:688:5: note: suggested alternative: ‘SetUniform’
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:693:5: error: ‘glUniform4i’ was not declared in this scope
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:693:5: note: suggested alternative: ‘SetUniform’
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float)’:
/usr/local/include/pangolin/gl/glsl.h:698:5: error: ‘glUniform1f’ was not declared in this scope
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:698:5: note: suggested alternative: ‘SetUniform’
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:703:5: error: ‘glUniform2f’ was not declared in this scope
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:703:5: note: suggested alternative: ‘SetUniform’
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:708:5: error: ‘glUniform3f’ was not declared in this scope
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:708:5: note: suggested alternative: ‘SetUniform’
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:713:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:713:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, pangolin::Colour)’:
/usr/local/include/pangolin/gl/glsl.h:718:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:718:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, const pangolin::OpenGlMatrix&)’:
/usr/local/include/pangolin/gl/glsl.h:728:5: error: ‘glUniformMatrix4fv’ was not declared in this scope
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:728:5: note: suggested alternative: ‘glLoadMatrixf’
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
glLoadMatrixf
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::BindPangolinDefaultAttribLocationsAndLink()’:
/usr/local/include/pangolin/gl/glsl.h:756:5: error: ‘glBindAttribLocation’ was not declared in this scope
glBindAttribLocation(prog, DEFAULT_LOCATION_POSITION, DEFAULT_NAME_POSITION);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:766: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.h:766:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.h:771:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:771:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp: In function ‘void SampleFromSurfaceInside(pangolin::Geometry&, std::vector<Eigen::Matrix<float, 3, 1> >&, int, KdVertexListTree&, std::vector<Eigen::Matrix<float, 3, 1> >&, std::vector<Eigen::Matrix<float, 3, 1> >&, float)’:
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:74:53: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:75:53: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:77:21: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:77:21: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:77:49: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:86:17: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:86:17: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
Widget
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:86:42: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp: In function ‘int main(int, char**)’:
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:172:55: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:173:55: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:175:23: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:175:23: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:175:51: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:190:55: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:191:55: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:193:23: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:193:23: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:193:51: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:210:50: error: assignment of read-only location ‘"vertex_indices"[faces.std::_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element> >::operator->()->std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes]’
faces->second.attributes["vertex_indices"] = new_ibo;
^~~~~~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:210:50: error: cannot convert ‘pangolin::Image’ to ‘const char’ in assignment
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:216:52: error: ‘get’ is not a member of ‘pangolin’
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~~
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:216:52: note: suggested alternative: ‘Widget’
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~~
Widget
/home/keito/develop/3dml/DeepSDFProject/DeepSDF/src/SampleVisibleMeshSurface.cpp:216:80: error: expected primary-expression before ‘>’ token
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:75: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o] Error 1
CMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/all' failed
make[1]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

@kkarapiperis
Copy link

Also interested in your work but facing the same issue.

@janehwu
Copy link

janehwu commented Oct 15, 2021

I was also having an issue with compiling Pangolin, but was able to resolve it by using v0.6 instead of master: https://github.com/stevenlovegrove/Pangolin/tree/v0.6

@ShanPoon
Copy link

I use the command below to make it works without having error. Also when

Get Pangolin

git clone --recursive https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin

Install dependencies (as described above, or your preferred method)

./scripts/install_prerequisites.sh recommended

git checkout v0.6

Configure and build

mkdir build && cd build
cmake ..
cmake --build .

sudo make install

@wamiq-reyaz
Copy link

Is pangolin::get a valid command?

I managed to get the other parts working but when I try to compile the PreprocessMesh.cpp file, I get errors saying

/home/parawr/Projects/scenegraphs/external/DeepSDF/src/PreprocessMesh.cpp:349:23: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/home/parawr/Projects/scenegraphs/external/DeepSDF/src/PreprocessMesh.cpp:349:23: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/home/parawr/Projects/scenegraphs/external/DeepSDF/src/PreprocessMesh.cpp:349:51: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~

@around-star
Copy link

@ShanPoon I tried using the v0.6, but still got a similar error (although I did git checkout v0.6 right after cloning). I'm working on google colab.

Error :
`-- Configuring done
-- Generating done
-- Build files have been written to: /content/DeepSDF/build
[ 14%] Built target cnpy-static
[ 28%] Built target cnpy
Scanning dependencies of target PreprocessMesh
Scanning dependencies of target SampleVisibleMeshSurface
[ 42%] Built target example1
[ 57%] Building CXX object CMakeFiles/PreprocessMesh.dir/src/Utils.cpp.o
[ 57%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/ShaderProgram.cpp.o
[ 64%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/Utils.cpp.o
[ 71%] Building CXX object CMakeFiles/PreprocessMesh.dir/src/ShaderProgram.cpp.o
[ 78%] Building CXX object CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o
[ 85%] Building CXX object CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o
In file included from /content/DeepSDF/src/ShaderProgram.cpp:3:0:
/usr/local/include/pangolin/gl/glsl.h: In static member function ‘static void pangolin::GlSlUtilities::UseNone()’:
/usr/local/include/pangolin/gl/glsl.h:250:9: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:250:9: note: suggested alternative: ‘GlSlProgram’
glUseProgram(0);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsLinkSuccessPrintLog(GLhandleARB)’:
/usr/local/include/pangolin/gl/glsl.h:339:5: error: ‘glGetProgramiv’ was not declared in this scope
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:339:5: note: suggested alternative: ‘GlSlProgram’
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
GlSlProgram
In file included from /content/DeepSDF/src/ShaderProgram.cpp:3:0:
/usr/local/include/pangolin/gl/glsl.h: In static member function ‘static void pangolin::GlSlUtilities::UseNone()’:
/usr/local/include/pangolin/gl/glsl.h:250:9: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:345:9: error: ‘glGetProgramInfoLog’ was not declared in this scope
glGetProgramInfoLog(prog, PROGRAM_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:250:9: note: suggested alternative: ‘GlSlProgram’
glUseProgram(0);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsLinkSuccessPrintLog(GLhandleARB)’:
/usr/local/include/pangolin/gl/glsl.h:339:5: error: ‘glGetProgramiv’ was not declared in this scope
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:339:5: note: suggested alternative: ‘GlSlProgram’
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:345:9: error: ‘glGetProgramInfoLog’ was not declared in this scope
glGetProgramInfoLog(prog, PROGRAM_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~~
In file included from /content/DeepSDF/src/ShaderProgram.cpp:3:0:
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsCompileSuccessPrintLog(GLhandleARB, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:359:5: error: ‘glGetShaderiv’ was not declared in this scope
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:359:5: note: suggested alternative: ‘glGetMapiv’
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
glGetMapiv
/usr/local/include/pangolin/gl/glsl.h:365:9: error: ‘glGetShaderInfoLog’ was not declared in this scope
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
In file included from /content/DeepSDF/src/ShaderProgram.cpp:3:0:
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsCompileSuccessPrintLog(GLhandleARB, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:359:5: error: ‘glGetShaderiv’ was not declared in this scope
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:359:5: note: suggested alternative: ‘glGetMapiv’
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
glGetMapiv
/usr/local/include/pangolin/gl/glsl.h:365:9: note: suggested alternative: ‘glGetString’
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
glGetString
/usr/local/include/pangolin/gl/glsl.h:365:9: error: ‘glGetShaderInfoLog’ was not declared in this scope
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In destructor ‘pangolin::GlSlProgram::GlSlProgram()’:
/usr/local/include/pangolin/gl/glsl.h:396:9: error: ‘glDeleteProgram’ was not declared in this scope
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:396:9: note: suggested alternative: ‘GlSlProgram’
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::AddPreprocessedShader(pangolin::GlSlShaderType, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:416:16: error: ‘glCreateProgram’ was not declared in this scope
prog = glCreateProgram();
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:365:9: note: suggested alternative: ‘glGetString’
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
glGetString
/usr/local/include/pangolin/gl/glsl.h: In destructor ‘pangolin::GlSlProgram::~GlSlProgram()’:
/usr/local/include/pangolin/gl/glsl.h:396:9: error: ‘glDeleteProgram’ was not declared in this scope
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:416:16: note: suggested alternative: ‘GlSlProgram’
prog = glCreateProgram();
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:419:26: error: ‘glCreateShader’ was not declared in this scope
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:396:9: note: suggested alternative: ‘GlSlProgram’
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::AddPreprocessedShader(pangolin::GlSlShaderType, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:416:16: error: ‘glCreateProgram’ was not declared in this scope
prog = glCreateProgram();
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:419:26: note: suggested alternative: ‘ClearShaders’
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:421:5: error: ‘glShaderSource’ was not declared in this scope
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:416:16: note: suggested alternative: ‘GlSlProgram’
prog = glCreateProgram();
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:419:26: error: ‘glCreateShader’ was not declared in this scope
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:421:5: note: suggested alternative: ‘glShadeModel’
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
glShadeModel
/usr/local/include/pangolin/gl/glsl.h:422:5: error: ‘glCompileShader’ was not declared in this scope
glCompileShader(shader);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:419:26: note: suggested alternative: ‘ClearShaders’
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:421:5: error: ‘glShaderSource’ was not declared in this scope
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:422:5: note: suggested alternative: ‘GlSlComputeShader’
glCompileShader(shader);
^~~~~~~~~~~~~~~
GlSlComputeShader
/usr/local/include/pangolin/gl/glsl.h:425:9: error: ‘glAttachShader’ was not declared in this scope
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:421:5: note: suggested alternative: ‘glShadeModel’
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
glShadeModel
/usr/local/include/pangolin/gl/glsl.h:422:5: error: ‘glCompileShader’ was not declared in this scope
glCompileShader(shader);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:425:9: note: suggested alternative: ‘AddShader’
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
AddShader
/usr/local/include/pangolin/gl/glsl.h:422:5: note: suggested alternative: ‘GlSlComputeShader’
glCompileShader(shader);
^~~~~~~~~~~~~~~
GlSlComputeShader
/usr/local/include/pangolin/gl/glsl.h:425:9: error: ‘glAttachShader’ was not declared in this scope
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::ClearShaders()’:
/usr/local/include/pangolin/gl/glsl.h:519:9: error: ‘glDetachShader’ was not declared in this scope
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:425:9: note: suggested alternative: ‘AddShader’
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
AddShader
/usr/local/include/pangolin/gl/glsl.h:519:9: note: suggested alternative: ‘ClearShaders’
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:520:9: error: ‘glDeleteShader’ was not declared in this scope
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::ClearShaders()’:
/usr/local/include/pangolin/gl/glsl.h:519:9: error: ‘glDetachShader’ was not declared in this scope
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:520:9: note: suggested alternative: ‘GlSlVertexShader’
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
GlSlVertexShader
/usr/local/include/pangolin/gl/glsl.h:519:9: note: suggested alternative: ‘ClearShaders’
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:520:9: error: ‘glDeleteShader’ was not declared in this scope
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:520:9: note: suggested alternative: ‘GlSlVertexShader’
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
GlSlVertexShader
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::Link()’:
/usr/local/include/pangolin/gl/glsl.h:653:5: error: ‘glLinkProgram’ was not declared in this scope
glLinkProgram(prog);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:653:5: note: suggested alternative: ‘GlSlProgram’
glLinkProgram(prog);
^~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Bind()’:
/usr/local/include/pangolin/gl/glsl.h:660:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:660:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SaveBind()’:
/usr/local/include/pangolin/gl/glsl.h:666:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::Link()’:
/usr/local/include/pangolin/gl/glsl.h:653:5: error: ‘glLinkProgram’ was not declared in this scope
glLinkProgram(prog);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:666:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Unbind()’:
/usr/local/include/pangolin/gl/glsl.h:671:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prev_prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:653:5: note: suggested alternative: ‘GlSlProgram’
glLinkProgram(prog);
^~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:671:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prev_prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Bind()’:
/usr/local/include/pangolin/gl/glsl.h:660:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetAttributeHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:676:12: error: ‘glGetAttribLocation’ was not declared in this scope
return glGetAttribLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:660:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SaveBind()’:
/usr/local/include/pangolin/gl/glsl.h:666:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
In file included from /content/DeepSDF/src/Utils.h:9:0,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/geometry/geometry.h:55:32: error: ‘variant’ in namespace ‘std’ does not name a template type
using Attribute = std::variant<Image,Image<uint32_t>,Image<uint16_t>,Image<uint8_t>>;
^~~~~~~
/usr/local/include/pangolin/gl/glsl.h:666:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/geometry/geometry.h:57:31: error: ‘Attribute’ was not declared in this scope
std::map<std::string, Attribute> attributes;
^~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Unbind()’:
/usr/local/include/pangolin/gl/glsl.h:671:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prev_prog);
^~~~~~~~~~~~
In file included from /content/DeepSDF/src/Utils.h:9:0,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/geometry/geometry.h:55:32: error: ‘variant’ in namespace ‘std’ does not name a template type
using Attribute = std::variant<Image,Image<uint32_t>,Image<uint16_t>,Image<uint8_t>>;
^~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:31: error: ‘Attribute’ was not declared in this scope
std::map<std::string, Attribute> attributes;
^~~~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 2 is invalid
std::map<std::string, Attribute> attributes;
^
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 4 is invalid
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 2 is invalid
std::map<std::string, Attribute> attributes;
^
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 4 is invalid
/usr/local/include/pangolin/gl/glsl.h:671:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prev_prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetAttributeHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:676:12: error: ‘glGetAttribLocation’ was not declared in this scope
return glGetAttribLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetUniformHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:681:12: error: ‘glGetUniformLocation’ was not declared in this scope
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetUniformHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:681:12: error: ‘glGetUniformLocation’ was not declared in this scope
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:681:12: note: suggested alternative: ‘GetUniformHandle’
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
GetUniformHandle
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int)’:
/usr/local/include/pangolin/gl/glsl.h:686:5: error: ‘glUniform1i’ was not declared in this scope
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:686:5: note: suggested alternative: ‘SetUniform’
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:691:5: error: ‘glUniform2i’ was not declared in this scope
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:691:5: note: suggested alternative: ‘SetUniform’
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:696:5: error: ‘glUniform3i’ was not declared in this scope
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:696:5: note: suggested alternative: ‘SetUniform’
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:701:5: error: ‘glUniform4i’ was not declared in this scope
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:681:12: note: suggested alternative: ‘GetUniformHandle’
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
GetUniformHandle
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int)’:
/usr/local/include/pangolin/gl/glsl.h:686:5: error: ‘glUniform1i’ was not declared in this scope
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:701:5: note: suggested alternative: ‘SetUniform’
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float)’:
/usr/local/include/pangolin/gl/glsl.h:706:5: error: ‘glUniform1f’ was not declared in this scope
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:686:5: note: suggested alternative: ‘SetUniform’
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:691:5: error: ‘glUniform2i’ was not declared in this scope
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:691:5: note: suggested alternative: ‘SetUniform’
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:706:5: note: suggested alternative: ‘SetUniform’
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:711:5: error: ‘glUniform2f’ was not declared in this scope
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:696:5: error: ‘glUniform3i’ was not declared in this scope
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:711:5: note: suggested alternative: ‘SetUniform’
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:716:5: error: ‘glUniform3f’ was not declared in this scope
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:696:5: note: suggested alternative: ‘SetUniform’
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:701:5: error: ‘glUniform4i’ was not declared in this scope
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:716:5: note: suggested alternative: ‘SetUniform’
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:721:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:701:5: note: suggested alternative: ‘SetUniform’
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float)’:
/usr/local/include/pangolin/gl/glsl.h:706:5: error: ‘glUniform1f’ was not declared in this scope
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:721:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, pangolin::Colour)’:
/usr/local/include/pangolin/gl/glsl.h:726:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:706:5: note: suggested alternative: ‘SetUniform’
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:711:5: error: ‘glUniform2f’ was not declared in this scope
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:726:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, const pangolin::OpenGlMatrix&)’:
/usr/local/include/pangolin/gl/glsl.h:736:5: error: ‘glUniformMatrix4fv’ was not declared in this scope
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:711:5: note: suggested alternative: ‘SetUniform’
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:716:5: error: ‘glUniform3f’ was not declared in this scope
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:716:5: note: suggested alternative: ‘SetUniform’
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:721:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:721:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, pangolin::Colour)’:
/usr/local/include/pangolin/gl/glsl.h:726:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:736:5: note: suggested alternative: ‘glLoadMatrixf’
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
glLoadMatrixf
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::BindPangolinDefaultAttribLocationsAndLink()’:
/usr/local/include/pangolin/gl/glsl.h:793:5: error: ‘glBindAttribLocation’ was not declared in this scope
glBindAttribLocation(prog, DEFAULT_LOCATION_POSITION, DEFAULT_NAME_POSITION);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:726:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, const pangolin::OpenGlMatrix&)’:
/usr/local/include/pangolin/gl/glsl.h:736:5: error: ‘glUniformMatrix4fv’ was not declared in this scope
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:736:5: note: suggested alternative: ‘glLoadMatrixf’
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
glLoadMatrixf
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::BindPangolinDefaultAttribLocationsAndLink()’:
/usr/local/include/pangolin/gl/glsl.h:793:5: error: ‘glBindAttribLocation’ was not declared in this scope
glBindAttribLocation(prog, DEFAULT_LOCATION_POSITION, DEFAULT_NAME_POSITION);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:803: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.h:803:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.h:808:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /content/DeepSDF/src/SampleVisibleMeshSurface.cpp:11:0:
/usr/local/include/pangolin/geometry/geometry.h:55:32: error: ‘variant’ in namespace ‘std’ does not name a template type
using Attribute = std::variant<Image,Image<uint32_t>,Image<uint16_t>,Image<uint8_t>>;
^~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:31: error: ‘Attribute’ was not declared in this scope
std::map<std::string, Attribute> attributes;
^~~~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 2 is invalid
std::map<std::string, Attribute> attributes;
^
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 4 is invalid
In file included from /content/DeepSDF/src/PreprocessMesh.cpp:11:0:
/usr/local/include/pangolin/geometry/geometry.h:55:32: error: ‘variant’ in namespace ‘std’ does not name a template type
using Attribute = std::variant<Image,Image<uint32_t>,Image<uint16_t>,Image<uint8_t>>;
^~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:31: error: ‘Attribute’ was not declared in this scope
std::map<std::string, Attribute> attributes;
^~~~~~~~~
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 2 is invalid
std::map<std::string, Attribute> attributes;
^
/usr/local/include/pangolin/geometry/geometry.h:57:40: error: template argument 4 is invalid
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:803: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.h:803:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.h:808:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:808:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
/usr/local/include/pangolin/gl/glsl.h:808:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
In file included from /usr/local/include/pangolin/gl/gl.h:296:0,
from /usr/local/include/pangolin/geometry/glgeometry.h:31,
from /content/DeepSDF/src/SampleVisibleMeshSurface.cpp:12:
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlTexture::CopyFrom(const pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:335:5: error: ‘glCopyImageSubDataNV’ was not declared in this scope
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/gl/gl.h:296:0,
from /usr/local/include/pangolin/geometry/glgeometry.h:31,
from /content/DeepSDF/src/PreprocessMesh.cpp:12:
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlTexture::CopyFrom(const pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:335:5: error: ‘glCopyImageSubDataNV’ was not declared in this scope
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:335:5: note: suggested alternative: ‘glCopyColorSubTable’
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
glCopyColorSubTable
/usr/local/include/pangolin/gl/gl.hpp:335:5: note: suggested alternative: ‘glCopyColorSubTable’
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
glCopyColorSubTable
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlRenderBuffer::Reinitialise(GLint, GLint, GLint)’:
/usr/local/include/pangolin/gl/gl.hpp:509:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlRenderBuffer::Reinitialise(GLint, GLint, GLint)’:
/usr/local/include/pangolin/gl/gl.hpp:509:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:509:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:514:5: error: ‘glGenRenderbuffersEXT’ was not declared in this scope
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:509:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:514:5: error: ‘glGenRenderbuffersEXT’ was not declared in this scope
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:514:5: note: suggested alternative: ‘GlRenderBuffer’
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:515:5: error: ‘glBindRenderbufferEXT’ was not declared in this scope
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:514:5: note: suggested alternative: ‘GlRenderBuffer’
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:515:5: error: ‘glBindRenderbufferEXT’ was not declared in this scope
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:515:5: note: suggested alternative: ‘GlRenderBuffer’
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:516:5: error: ‘glRenderbufferStorageEXT’ was not declared in this scope
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:515:5: note: suggested alternative: ‘GlRenderBuffer’
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:516:5: error: ‘glRenderbufferStorageEXT’ was not declared in this scope
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/gl/gl.h:296:0,
from /usr/local/include/pangolin/handler/handler.h:31,
from /usr/local/include/pangolin/display/widgets.h:32,
from /usr/local/include/pangolin/pangolin.h:40,
from /content/DeepSDF/src/Utils.h:10,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlTexture::CopyFrom(const pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:335:5: error: ‘glCopyImageSubDataNV’ was not declared in this scope
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
CMakeFiles/PreprocessMesh.dir/build.make:75: recipe for target 'CMakeFiles/PreprocessMesh.dir/src/ShaderProgram.cpp.o' failed
make[2]: *** [CMakeFiles/PreprocessMesh.dir/src/ShaderProgram.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/include/pangolin/gl/gl.hpp:516:5: note: suggested alternative: ‘GlRenderBuffer’
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlRenderBuffer::~GlRenderBuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:523:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/gl/gl.h:296:0,
from /usr/local/include/pangolin/handler/handler.h:31,
from /usr/local/include/pangolin/display/widgets.h:32,
from /usr/local/include/pangolin/pangolin.h:40,
from /content/DeepSDF/src/Utils.h:10,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlTexture::CopyFrom(const pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:335:5: error: ‘glCopyImageSubDataNV’ was not declared in this scope
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:516:5: note: suggested alternative: ‘GlRenderBuffer’
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlRenderBuffer::~GlRenderBuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:523:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:75: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/ShaderProgram.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/ShaderProgram.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/include/pangolin/gl/gl.hpp:335:5: note: suggested alternative: ‘glCopyColorSubTable’
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
glCopyColorSubTable
/usr/local/include/pangolin/gl/gl.hpp:523:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlRenderBuffer::Reinitialise(GLint, GLint, GLint)’:
/usr/local/include/pangolin/gl/gl.hpp:509:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:335:5: note: suggested alternative: ‘glCopyColorSubTable’
glCopyImageSubDataNV(tex.tid, GL_TEXTURE_2D, 0, 0, 0, 0,
^~~~~~~~~~~~~~~~~~~~
glCopyColorSubTable
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlFramebuffer::GlFramebuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:572:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlRenderBuffer::Reinitialise(GLint, GLint, GLint)’:
/usr/local/include/pangolin/gl/gl.hpp:509:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:523:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlFramebuffer::~GlFramebuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:572:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:509:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:514:5: error: ‘glGenRenderbuffersEXT’ was not declared in this scope
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:572:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:579:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:572:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:579:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:509:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:514:5: error: ‘glGenRenderbuffersEXT’ was not declared in this scope
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:514:5: note: suggested alternative: ‘GlRenderBuffer’
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:579:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:587:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:515:5: error: ‘glBindRenderbufferEXT’ was not declared in this scope
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:579:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:587:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:514:5: note: suggested alternative: ‘GlRenderBuffer’
glGenRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:515:5: error: ‘glBindRenderbufferEXT’ was not declared in this scope
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:587:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:596:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:515:5: note: suggested alternative: ‘GlRenderBuffer’
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:516:5: error: ‘glRenderbufferStorageEXT’ was not declared in this scope
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:587:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:596:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:515:5: note: suggested alternative: ‘GlRenderBuffer’
glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, rbid);
^~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp:516:5: error: ‘glRenderbufferStorageEXT’ was not declared in this scope
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:596:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:606:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:596:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:606:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:516:5: note: suggested alternative: ‘GlRenderBuffer’
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlRenderBuffer::~GlRenderBuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:523:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:606:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:617:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:606:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:516:5: note: suggested alternative: ‘GlRenderBuffer’
glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, internal_format, width, height);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlRenderBuffer::GlRenderBuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:523:9: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:617:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:617:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:628:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:523:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlFramebuffer::~GlFramebuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:572:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:617:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:628:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:523:9: note: suggested alternative: ‘GlRenderBuffer’
glDeleteRenderbuffersEXT(1, &rbid);
^~~~~~~~~~~~~~~~~~~~~~~~
GlRenderBuffer
/usr/local/include/pangolin/gl/gl.hpp: In destructor ‘pangolin::GlFramebuffer::~GlFramebuffer()’:
/usr/local/include/pangolin/gl/gl.hpp:572:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:628:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:629:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:629:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp:628:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:629:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Reinitialise()’:
/usr/local/include/pangolin/gl/gl.hpp:635:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:629:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp:572:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:579:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Reinitialise()’:
/usr/local/include/pangolin/gl/gl.hpp:635:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:572:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:579:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:587:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:579:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:635:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:637:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:635:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:637:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:579:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:587:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:587:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:596:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:637:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:642:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:642:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp:643:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:637:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:642:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:642:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp:643:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:596:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:606:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:587:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:596:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:643:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘GLenum pangolin::GlFramebuffer::AttachColour(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:651:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:643:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘GLenum pangolin::GlFramebuffer::AttachColour(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:651:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:606:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:617:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:596:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:651:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:606:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:652:5: error: ‘glFramebufferTexture2DEXT’ was not declared in this scope
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, color_attachment, GL_TEXTURE_2D, tex.tid, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:651:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:652:5: error: ‘glFramebufferTexture2DEXT’ was not declared in this scope
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, color_attachment, GL_TEXTURE_2D, tex.tid, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:617:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:628:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:606:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In constructor ‘pangolin::GlFramebuffer::GlFramebuffer(pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlTexture&, pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:617:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:628:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::AttachDepth(pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:663:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:629:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:629:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Reinitialise()’:
/usr/local/include/pangolin/gl/gl.hpp:635:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:617:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:628:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::AttachDepth(pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:663:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:663:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:665:5: error: ‘glFramebufferRenderbufferEXT’ was not declared in this scope
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, rb.rbid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:628:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:629:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:629:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( attachments, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp:663:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Reinitialise()’:
/usr/local/include/pangolin/gl/gl.hpp:635:9: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:665:5: error: ‘glFramebufferRenderbufferEXT’ was not declared in this scope
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, rb.rbid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:635:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:637:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:637:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:642:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:642:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Free()’:
/usr/local/include/pangolin/gl/gl.hpp:721:9: error: ‘glDeleteBuffers’ was not declared in this scope
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:643:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:635:9: note: suggested alternative: ‘GlFramebuffer’
glDeleteFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:637:5: error: ‘glGenFramebuffersEXT’ was not declared in this scope
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:721:9: note: suggested alternative: ‘glSelectBuffer’
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
glSelectBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Reinitialise(pangolin::GlBufferType, GLsizeiptr, GLenum, const void*)’:
/usr/local/include/pangolin/gl/gl.hpp:738:9: error: ‘glGenBuffers’ was not declared in this scope
glGenBuffers(1, &bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:738:9: note: suggested alternative: ‘glReadBuffer’
glGenBuffers(1, &bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp:643:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:746:5: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:746:5: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘GLenum pangolin::GlFramebuffer::AttachColour(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:651:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Free()’:
/usr/local/include/pangolin/gl/gl.hpp:721:9: error: ‘glDeleteBuffers’ was not declared in this scope
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:752:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:752:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp:637:5: note: suggested alternative: ‘GlFramebuffer’
glGenFramebuffersEXT(1, &fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:721:9: note: suggested alternative: ‘glSelectBuffer’
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
glSelectBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Reinitialise(pangolin::GlBufferType, GLsizeiptr, GLenum, const void*)’:
/usr/local/include/pangolin/gl/gl.hpp:738:9: error: ‘glGenBuffers’ was not declared in this scope
glGenBuffers(1, &bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:642:5: error: ‘glDrawBuffers’ was not declared in this scope
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:757:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:642:5: note: suggested alternative: ‘glDrawBuffer’
glDrawBuffers( 1, attachment_buffers );
^~~~~~~~~~~~~
glDrawBuffer
/usr/local/include/pangolin/gl/gl.hpp:643:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:757:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Upload(const GLvoid*, GLsizeiptr, GLintptr)’:
/usr/local/include/pangolin/gl/gl.hpp:767:5: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:738:9: note: suggested alternative: ‘glReadBuffer’
glGenBuffers(1, &bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp:746:5: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:746:5: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:651:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:752:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:767:5: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:652:5: error: ‘glFramebufferTexture2DEXT’ was not declared in this scope
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, color_attachment, GL_TEXTURE_2D, tex.tid, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Download(GLvoid*, GLsizeiptr, GLintptr) const’:
/usr/local/include/pangolin/gl/gl.hpp:774:5: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:752:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:757:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:757:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp:643:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Upload(const GLvoid*, GLsizeiptr, GLintptr)’:
/usr/local/include/pangolin/gl/gl.hpp:767:5: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘GLenum pangolin::GlFramebuffer::AttachColour(pangolin::GlTexture&)’:
/usr/local/include/pangolin/gl/gl.hpp:651:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:774:5: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:767:5: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Download(GLvoid*, GLsizeiptr, GLintptr) const’:
/usr/local/include/pangolin/gl/gl.hpp:774:5: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBuffer::Resize(GLuint)’:
/usr/local/include/pangolin/gl/gl.hpp:850:9: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:651:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:850:9: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:774:5: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::AttachDepth(pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:663:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBuffer::Resize(GLuint)’:
/usr/local/include/pangolin/gl/gl.hpp:850:9: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:652:5: error: ‘glFramebufferTexture2DEXT’ was not declared in this scope
glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, color_attachment, GL_TEXTURE_2D, tex.tid, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:851:9: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, new_num_elementsGlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:851:9: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, new_num_elements
GlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:852:9: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:852:9: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:850:9: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:851:9: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, new_num_elements
GlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:663:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:851:9: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, new_num_elements
GlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:852:9: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:665:5: error: ‘glFramebufferRenderbufferEXT’ was not declared in this scope
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, rb.rbid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:852:9: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlFramebuffer::AttachDepth(pangolin::GlRenderBuffer&)’:
/usr/local/include/pangolin/gl/gl.hpp:663:5: error: ‘glBindFramebufferEXT’ was not declared in this scope
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:663:5: note: suggested alternative: ‘GlFramebuffer’
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, fbid);
^~~~~~~~~~~~~~~~~~~~
GlFramebuffer
/usr/local/include/pangolin/gl/gl.hpp:665:5: error: ‘glFramebufferRenderbufferEXT’ was not declared in this scope
glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, rb.rbid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/geometry/glgeometry.h:32:0,
from /content/DeepSDF/src/PreprocessMesh.cpp:12:
/usr/local/include/pangolin/gl/glsl.h: In static member function ‘static void pangolin::GlSlUtilities::UseNone()’:
/usr/local/include/pangolin/gl/glsl.h:250:9: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Free()’:
/usr/local/include/pangolin/gl/gl.hpp:721:9: error: ‘glDeleteBuffers’ was not declared in this scope
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:250:9: note: suggested alternative: ‘GlSlProgram’
glUseProgram(0);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsLinkSuccessPrintLog(GLhandleARB)’:
/usr/local/include/pangolin/gl/glsl.h:339:5: error: ‘glGetProgramiv’ was not declared in this scope
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/geometry/glgeometry.h:32:0,
from /content/DeepSDF/src/SampleVisibleMeshSurface.cpp:12:
/usr/local/include/pangolin/gl/glsl.h: In static member function ‘static void pangolin::GlSlUtilities::UseNone()’:
/usr/local/include/pangolin/gl/glsl.h:250:9: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:339:5: note: suggested alternative: ‘GlSlProgram’
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:345:9: error: ‘glGetProgramInfoLog’ was not declared in this scope
glGetProgramInfoLog(prog, PROGRAM_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:721:9: note: suggested alternative: ‘glSelectBuffer’
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
glSelectBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Reinitialise(pangolin::GlBufferType, GLsizeiptr, GLenum, const void
)’:
/usr/local/include/pangolin/gl/gl.hpp:738:9: error: ‘glGenBuffers’ was not declared in this scope
glGenBuffers(1, &bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:250:9: note: suggested alternative: ‘GlSlProgram’
glUseProgram(0);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsLinkSuccessPrintLog(GLhandleARB)’:
/usr/local/include/pangolin/gl/glsl.h:339:5: error: ‘glGetProgramiv’ was not declared in this scope
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:738:9: note: suggested alternative: ‘glReadBuffer’
glGenBuffers(1, &bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp:746:5: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:746:5: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/glsl.h:339:5: note: suggested alternative: ‘GlSlProgram’
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:752:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:345:9: error: ‘glGetProgramInfoLog’ was not declared in this scope
glGetProgramInfoLog(prog, PROGRAM_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:752:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
glReadBuffer
In file included from /usr/local/include/pangolin/geometry/glgeometry.h:32:0,
from /content/DeepSDF/src/PreprocessMesh.cpp:12:
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsCompileSuccessPrintLog(GLhandleARB, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:359:5: error: ‘glGetShaderiv’ was not declared in this scope
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:757:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:359:5: note: suggested alternative: ‘glGetMapiv’
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
glGetMapiv
/usr/local/include/pangolin/gl/gl.hpp:757:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Free()’:
/usr/local/include/pangolin/gl/gl.hpp:721:9: error: ‘glDeleteBuffers’ was not declared in this scope
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Upload(const GLvoid
, GLsizeiptr, GLintptr)’:
/usr/local/include/pangolin/gl/gl.hpp:767:5: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:365:9: error: ‘glGetShaderInfoLog’ was not declared in this scope
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:767:5: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
GlBufferData
In file included from /usr/local/include/pangolin/geometry/glgeometry.h:32:0,
from /content/DeepSDF/src/SampleVisibleMeshSurface.cpp:12:
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsCompileSuccessPrintLog(GLhandleARB, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:359:5: error: ‘glGetShaderiv’ was not declared in this scope
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Download(GLvoid*, GLsizeiptr, GLintptr) const’:
/usr/local/include/pangolin/gl/gl.hpp:774:5: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:721:9: note: suggested alternative: ‘glSelectBuffer’
glDeleteBuffers(1, &bo);
^~~~~~~~~~~~~~~
glSelectBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Reinitialise(pangolin::GlBufferType, GLsizeiptr, GLenum, const void*)’:
/usr/local/include/pangolin/gl/gl.hpp:738:9: error: ‘glGenBuffers’ was not declared in this scope
glGenBuffers(1, &bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:738:9: note: suggested alternative: ‘glReadBuffer’
glGenBuffers(1, &bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/glsl.h:359:5: note: suggested alternative: ‘glGetMapiv’
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
glGetMapiv
/usr/local/include/pangolin/gl/glsl.h:365:9: error: ‘glGetShaderInfoLog’ was not declared in this scope
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:365:9: note: suggested alternative: ‘glGetString’
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
glGetString
/usr/local/include/pangolin/gl/glsl.h: In destructor ‘pangolin::GlSlProgram::~GlSlProgram()’:
/usr/local/include/pangolin/gl/glsl.h:396:9: error: ‘glDeleteProgram’ was not declared in this scope
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:774:5: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:746:5: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBuffer::Resize(GLuint)’:
/usr/local/include/pangolin/gl/gl.hpp:850:9: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:746:5: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, size_bytes, data, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Bind() const’:
/usr/local/include/pangolin/gl/gl.hpp:752:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:396:9: note: suggested alternative: ‘GlSlProgram’
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/gl.hpp:752:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, bo);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::AddPreprocessedShader(pangolin::GlSlShaderType, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:416:16: error: ‘glCreateProgram’ was not declared in this scope
prog = glCreateProgram();
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Unbind() const’:
/usr/local/include/pangolin/gl/gl.hpp:757:5: error: ‘glBindBuffer’ was not declared in this scope
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:365:9: note: suggested alternative: ‘glGetString’
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
glGetString
/usr/local/include/pangolin/gl/gl.hpp:757:5: note: suggested alternative: ‘glReadBuffer’
glBindBuffer(buffer_type, 0);
^~~~~~~~~~~~
glReadBuffer
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Upload(const GLvoid*, GLsizeiptr, GLintptr)’:
/usr/local/include/pangolin/gl/gl.hpp:767:5: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In destructor ‘pangolin::GlSlProgram::GlSlProgram()’:
/usr/local/include/pangolin/gl/glsl.h:396:9: error: ‘glDeleteProgram’ was not declared in this scope
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:850:9: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:851:9: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, new_num_elementsGlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:851:9: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, new_num_elements
GlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/glsl.h:416:16: note: suggested alternative: ‘GlSlProgram’
prog = glCreateProgram();
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:419:26: error: ‘glCreateShader’ was not declared in this scope
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:767:5: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type,offset,size_bytes,data);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:852:9: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:396:9: note: suggested alternative: ‘GlSlProgram’
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBufferData::Download(GLvoid
, GLsizeiptr, GLintptr) const’:
/usr/local/include/pangolin/gl/gl.hpp:774:5: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::AddPreprocessedShader(pangolin::GlSlShaderType, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:416:16: error: ‘glCreateProgram’ was not declared in this scope
prog = glCreateProgram();
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:419:26: note: suggested alternative: ‘ClearShaders’
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/gl.hpp:852:9: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/glsl.h:421:5: error: ‘glShaderSource’ was not declared in this scope
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:421:5: note: suggested alternative: ‘glShadeModel’
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
glShadeModel
/usr/local/include/pangolin/gl/gl.hpp:774:5: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, offset, size_bytes, data);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp: In member function ‘void pangolin::GlBuffer::Resize(GLuint)’:
/usr/local/include/pangolin/gl/gl.hpp:850:9: error: ‘glGetBufferSubData’ was not declared in this scope
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:416:16: note: suggested alternative: ‘GlSlProgram’
prog = glCreateProgram();
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:419:26: error: ‘glCreateShader’ was not declared in this scope
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:422:5: error: ‘glCompileShader’ was not declared in this scope
glCompileShader(shader);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:419:26: note: suggested alternative: ‘ClearShaders’
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:422:5: note: suggested alternative: ‘GlSlComputeShader’
glCompileShader(shader);
^~~~~~~~~~~~~~~
GlSlComputeShader
/usr/local/include/pangolin/gl/glsl.h:421:5: error: ‘glShaderSource’ was not declared in this scope
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:425:9: error: ‘glAttachShader’ was not declared in this scope
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:850:9: note: suggested alternative: ‘GlBufferData’
glGetBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/glsl.h:421:5: note: suggested alternative: ‘glShadeModel’
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
glShadeModel
/usr/local/include/pangolin/gl/gl.hpp:851:9: error: ‘glBufferData’ was not declared in this scope
glBufferData(buffer_type, new_num_elements
GlDataTypeBytes(datatype)count_per_element, 0, gluse);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/gl.hpp:851:9: note: suggested alternative: ‘GlBufferData’
glBufferData(buffer_type, new_num_elements
GlDataTypeBytes(datatype)*count_per_element, 0, gluse);
^~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/gl.hpp:852:9: error: ‘glBufferSubData’ was not declared in this scope
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:422:5: error: ‘glCompileShader’ was not declared in this scope
glCompileShader(shader);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:425:9: note: suggested alternative: ‘AddShader’
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
AddShader
/usr/local/include/pangolin/gl/gl.hpp:852:9: note: suggested alternative: ‘GlBufferData’
glBufferSubData(buffer_type, 0, backup_size_bytes, backup);
^~~~~~~~~~~~~~~
GlBufferData
/usr/local/include/pangolin/gl/glsl.h:422:5: note: suggested alternative: ‘GlSlComputeShader’
glCompileShader(shader);
^~~~~~~~~~~~~~~
GlSlComputeShader
/usr/local/include/pangolin/gl/glsl.h:425:9: error: ‘glAttachShader’ was not declared in this scope
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::ClearShaders()’:
/usr/local/include/pangolin/gl/glsl.h:519:9: error: ‘glDetachShader’ was not declared in this scope
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:425:9: note: suggested alternative: ‘AddShader’
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
AddShader
/usr/local/include/pangolin/gl/glsl.h:519:9: note: suggested alternative: ‘ClearShaders’
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:520:9: error: ‘glDeleteShader’ was not declared in this scope
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::ClearShaders()’:
/usr/local/include/pangolin/gl/glsl.h:519:9: error: ‘glDetachShader’ was not declared in this scope
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:520:9: note: suggested alternative: ‘GlSlVertexShader’
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
GlSlVertexShader
/usr/local/include/pangolin/gl/glsl.h:519:9: note: suggested alternative: ‘ClearShaders’
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:520:9: error: ‘glDeleteShader’ was not declared in this scope
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::Link()’:
/usr/local/include/pangolin/gl/glsl.h:653:5: error: ‘glLinkProgram’ was not declared in this scope
glLinkProgram(prog);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:520:9: note: suggested alternative: ‘GlSlVertexShader’
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
GlSlVertexShader
/usr/local/include/pangolin/gl/glsl.h:653:5: note: suggested alternative: ‘GlSlProgram’
glLinkProgram(prog);
^~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Bind()’:
/usr/local/include/pangolin/gl/glsl.h:660:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::Link()’:
/usr/local/include/pangolin/gl/glsl.h:653:5: error: ‘glLinkProgram’ was not declared in this scope
glLinkProgram(prog);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:653:5: note: suggested alternative: ‘GlSlProgram’
glLinkProgram(prog);
^~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Bind()’:
/usr/local/include/pangolin/gl/glsl.h:660:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:660:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SaveBind()’:
/usr/local/include/pangolin/gl/glsl.h:666:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:660:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SaveBind()’:
/usr/local/include/pangolin/gl/glsl.h:666:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:666:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Unbind()’:
/usr/local/include/pangolin/gl/glsl.h:671:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prev_prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:671:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prev_prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetAttributeHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:676:12: error: ‘glGetAttribLocation’ was not declared in this scope
return glGetAttribLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:666:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Unbind()’:
/usr/local/include/pangolin/gl/glsl.h:671:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prev_prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:671:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prev_prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetAttributeHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:676:12: error: ‘glGetAttribLocation’ was not declared in this scope
return glGetAttribLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetUniformHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:681:12: error: ‘glGetUniformLocation’ was not declared in this scope
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/plot/plotter.h:37:0,
from /usr/local/include/pangolin/pangolin.h:48,
from /content/DeepSDF/src/Utils.h:10,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/gl/glsl.h: In static member function ‘static void pangolin::GlSlUtilities::UseNone()’:
/usr/local/include/pangolin/gl/glsl.h:250:9: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:250:9: note: suggested alternative: ‘GlSlProgram’
glUseProgram(0);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsLinkSuccessPrintLog(GLhandleARB)’:
/usr/local/include/pangolin/gl/glsl.h:339:5: error: ‘glGetProgramiv’ was not declared in this scope
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetUniformHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:681:12: error: ‘glGetUniformLocation’ was not declared in this scope
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:681:12: note: suggested alternative: ‘GetUniformHandle’
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
GetUniformHandle
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int)’:
/usr/local/include/pangolin/gl/glsl.h:686:5: error: ‘glUniform1i’ was not declared in this scope
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:339:5: note: suggested alternative: ‘GlSlProgram’
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:345:9: error: ‘glGetProgramInfoLog’ was not declared in this scope
glGetProgramInfoLog(prog, PROGRAM_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/pangolin/plot/plotter.h:37:0,
from /usr/local/include/pangolin/pangolin.h:48,
from /content/DeepSDF/src/Utils.h:10,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsCompileSuccessPrintLog(GLhandleARB, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:359:5: error: ‘glGetShaderiv’ was not declared in this scope
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:681:12: note: suggested alternative: ‘GetUniformHandle’
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
GetUniformHandle
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int)’:
/usr/local/include/pangolin/gl/glsl.h:686:5: error: ‘glUniform1i’ was not declared in this scope
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:686:5: note: suggested alternative: ‘SetUniform’
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:691:5: error: ‘glUniform2i’ was not declared in this scope
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:686:5: note: suggested alternative: ‘SetUniform’
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:359:5: note: suggested alternative: ‘glGetMapiv’
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
glGetMapiv
/usr/local/include/pangolin/gl/glsl.h:365:9: error: ‘glGetShaderInfoLog’ was not declared in this scope
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:691:5: note: suggested alternative: ‘SetUniform’
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:691:5: error: ‘glUniform2i’ was not declared in this scope
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:696:5: error: ‘glUniform3i’ was not declared in this scope
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:691:5: note: suggested alternative: ‘SetUniform’
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:696:5: error: ‘glUniform3i’ was not declared in this scope
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:696:5: note: suggested alternative: ‘SetUniform’
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:701:5: error: ‘glUniform4i’ was not declared in this scope
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:365:9: note: suggested alternative: ‘glGetString’
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
glGetString
In file included from /usr/local/include/pangolin/plot/plotter.h:37:0,
from /usr/local/include/pangolin/pangolin.h:48,
from /content/DeepSDF/src/Utils.h:10,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/gl/glsl.h: In static member function ‘static void pangolin::GlSlUtilities::UseNone()’:
/usr/local/include/pangolin/gl/glsl.h:250:9: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(0);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:696:5: note: suggested alternative: ‘SetUniform’
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:701:5: error: ‘glUniform4i’ was not declared in this scope
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:701:5: note: suggested alternative: ‘SetUniform’
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float)’:
/usr/local/include/pangolin/gl/glsl.h:706:5: error: ‘glUniform1f’ was not declared in this scope
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In destructor ‘pangolin::GlSlProgram::~GlSlProgram()’:
/usr/local/include/pangolin/gl/glsl.h:396:9: error: ‘glDeleteProgram’ was not declared in this scope
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:250:9: note: suggested alternative: ‘GlSlProgram’
glUseProgram(0);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:701:5: note: suggested alternative: ‘SetUniform’
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:706:5: note: suggested alternative: ‘SetUniform’
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsLinkSuccessPrintLog(GLhandleARB)’:
/usr/local/include/pangolin/gl/glsl.h:339:5: error: ‘glGetProgramiv’ was not declared in this scope
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float)’:
/usr/local/include/pangolin/gl/glsl.h:706:5: error: ‘glUniform1f’ was not declared in this scope
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:711:5: error: ‘glUniform2f’ was not declared in this scope
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:396:9: note: suggested alternative: ‘GlSlProgram’
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::AddPreprocessedShader(pangolin::GlSlShaderType, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:416:16: error: ‘glCreateProgram’ was not declared in this scope
prog = glCreateProgram();
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:706:5: note: suggested alternative: ‘SetUniform’
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:339:5: note: suggested alternative: ‘GlSlProgram’
glGetProgramiv(prog, GL_LINK_STATUS, &status);
^~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:345:9: error: ‘glGetProgramInfoLog’ was not declared in this scope
glGetProgramInfoLog(prog, PROGRAM_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:711:5: note: suggested alternative: ‘SetUniform’
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:711:5: error: ‘glUniform2f’ was not declared in this scope
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:716:5: error: ‘glUniform3f’ was not declared in this scope
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:716:5: note: suggested alternative: ‘SetUniform’
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:711:5: note: suggested alternative: ‘SetUniform’
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:716:5: error: ‘glUniform3f’ was not declared in this scope
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:721:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:716:5: note: suggested alternative: ‘SetUniform’
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:416:16: note: suggested alternative: ‘GlSlProgram’
prog = glCreateProgram();
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:419:26: error: ‘glCreateShader’ was not declared in this scope
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:721:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, pangolin::Colour)’:
/usr/local/include/pangolin/gl/glsl.h:726:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:721:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
In file included from /usr/local/include/pangolin/plot/plotter.h:37:0,
from /usr/local/include/pangolin/pangolin.h:48,
from /content/DeepSDF/src/Utils.h:10,
from /content/DeepSDF/src/Utils.cpp:3:
/usr/local/include/pangolin/gl/glsl.h: In function ‘bool pangolin::IsCompileSuccessPrintLog(GLhandleARB, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:359:5: error: ‘glGetShaderiv’ was not declared in this scope
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:419:26: note: suggested alternative: ‘ClearShaders’
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:721:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:421:5: error: ‘glShaderSource’ was not declared in this scope
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:359:5: note: suggested alternative: ‘glGetMapiv’
glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
^~~~~~~~~~~~~
glGetMapiv
/usr/local/include/pangolin/gl/glsl.h:365:9: error: ‘glGetShaderInfoLog’ was not declared in this scope
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, pangolin::Colour)’:
/usr/local/include/pangolin/gl/glsl.h:726:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:726:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, const pangolin::OpenGlMatrix&)’:
/usr/local/include/pangolin/gl/glsl.h:736:5: error: ‘glUniformMatrix4fv’ was not declared in this scope
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:726:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h:421:5: note: suggested alternative: ‘glShadeModel’
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
glShadeModel
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, const pangolin::OpenGlMatrix&)’:
/usr/local/include/pangolin/gl/glsl.h:736:5: error: ‘glUniformMatrix4fv’ was not declared in this scope
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:422:5: error: ‘glCompileShader’ was not declared in this scope
glCompileShader(shader);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:365:9: note: suggested alternative: ‘glGetString’
glGetShaderInfoLog(shader, SHADER_LOG_MAX_LEN, &len, infolog);
^~~~~~~~~~~~~~~~~~
glGetString
/usr/local/include/pangolin/gl/glsl.h:422:5: note: suggested alternative: ‘GlSlComputeShader’
glCompileShader(shader);
^~~~~~~~~~~~~~~
GlSlComputeShader
/usr/local/include/pangolin/gl/glsl.h:425:9: error: ‘glAttachShader’ was not declared in this scope
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In destructor ‘pangolin::GlSlProgram::~GlSlProgram()’:
/usr/local/include/pangolin/gl/glsl.h:396:9: error: ‘glDeleteProgram’ was not declared in this scope
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:736:5: note: suggested alternative: ‘glLoadMatrixf’
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
glLoadMatrixf
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::BindPangolinDefaultAttribLocationsAndLink()’:
/usr/local/include/pangolin/gl/glsl.h:793:5: error: ‘glBindAttribLocation’ was not declared in this scope
glBindAttribLocation(prog, DEFAULT_LOCATION_POSITION, DEFAULT_NAME_POSITION);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:736:5: note: suggested alternative: ‘glLoadMatrixf’
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
glLoadMatrixf
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::BindPangolinDefaultAttribLocationsAndLink()’:
/usr/local/include/pangolin/gl/glsl.h:793:5: error: ‘glBindAttribLocation’ was not declared in this scope
glBindAttribLocation(prog, DEFAULT_LOCATION_POSITION, DEFAULT_NAME_POSITION);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:396:9: note: suggested alternative: ‘GlSlProgram’
glDeleteProgram(prog);
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:425:9: note: suggested alternative: ‘AddShader’
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
AddShader
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::AddPreprocessedShader(pangolin::GlSlShaderType, const string&, const string&)’:
/usr/local/include/pangolin/gl/glsl.h:416:16: error: ‘glCreateProgram’ was not declared in this scope
prog = glCreateProgram();
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::ClearShaders()’:
/usr/local/include/pangolin/gl/glsl.h:519:9: error: ‘glDetachShader’ was not declared in this scope
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:416:16: note: suggested alternative: ‘GlSlProgram’
prog = glCreateProgram();
^~~~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:419:26: error: ‘glCreateShader’ was not declared in this scope
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:519:9: note: suggested alternative: ‘ClearShaders’
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:520:9: error: ‘glDeleteShader’ was not declared in this scope
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:803: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.h: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:803: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.h:803:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.h:520:9: note: suggested alternative: ‘GlSlVertexShader’
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
GlSlVertexShader
/usr/local/include/pangolin/gl/glsl.h:803:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.h:808:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:419:26: note: suggested alternative: ‘ClearShaders’
GLhandleARB shader = glCreateShader(shader_type);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:421:5: error: ‘glShaderSource’ was not declared in this scope
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.h:808:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:421:5: note: suggested alternative: ‘glShadeModel’
glShaderSource(shader, 1, &source, NULL);
^~~~~~~~~~~~~~
glShadeModel
/usr/local/include/pangolin/gl/glsl.h:422:5: error: ‘glCompileShader’ was not declared in this scope
glCompileShader(shader);
^~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:422:5: note: suggested alternative: ‘GlSlComputeShader’
glCompileShader(shader);
^~~~~~~~~~~~~~~
GlSlComputeShader
/usr/local/include/pangolin/gl/glsl.h:425:9: error: ‘glAttachShader’ was not declared in this scope
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::Link()’:
/usr/local/include/pangolin/gl/glsl.h:653:5: error: ‘glLinkProgram’ was not declared in this scope
glLinkProgram(prog);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:653:5: note: suggested alternative: ‘GlSlProgram’
glLinkProgram(prog);
^~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h:808:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Bind()’:
/usr/local/include/pangolin/gl/glsl.h:660:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:808:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
/usr/local/include/pangolin/gl/glsl.h:425:9: note: suggested alternative: ‘AddShader’
glAttachShader(prog, shader);
^~~~~~~~~~~~~~
AddShader
/usr/local/include/pangolin/gl/glsl.h:660:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SaveBind()’:
/usr/local/include/pangolin/gl/glsl.h:666:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::ClearShaders()’:
/usr/local/include/pangolin/gl/glsl.h:519:9: error: ‘glDetachShader’ was not declared in this scope
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:666:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Unbind()’:
/usr/local/include/pangolin/gl/glsl.h:671:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prev_prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:671:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prev_prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetAttributeHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:676:12: error: ‘glGetAttribLocation’ was not declared in this scope
return glGetAttribLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:519:9: note: suggested alternative: ‘ClearShaders’
glDetachShader(prog, shaders[i]);
^~~~~~~~~~~~~~
ClearShaders
/usr/local/include/pangolin/gl/glsl.h:520:9: error: ‘glDeleteShader’ was not declared in this scope
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:520:9: note: suggested alternative: ‘GlSlVertexShader’
glDeleteShader(shaders[i]);
^~~~~~~~~~~~~~
GlSlVertexShader
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetUniformHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:681:12: error: ‘glGetUniformLocation’ was not declared in this scope
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘bool pangolin::GlSlProgram::Link()’:
/usr/local/include/pangolin/gl/glsl.h:653:5: error: ‘glLinkProgram’ was not declared in this scope
glLinkProgram(prog);
^~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:653:5: note: suggested alternative: ‘GlSlProgram’
glLinkProgram(prog);
^~~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Bind()’:
/usr/local/include/pangolin/gl/glsl.h:660:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:681:12: note: suggested alternative: ‘GetUniformHandle’
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
GetUniformHandle
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int)’:
/usr/local/include/pangolin/gl/glsl.h:686:5: error: ‘glUniform1i’ was not declared in this scope
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:660:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SaveBind()’:
/usr/local/include/pangolin/gl/glsl.h:666:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:686:5: note: suggested alternative: ‘SetUniform’
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:691:5: error: ‘glUniform2i’ was not declared in this scope
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:691:5: note: suggested alternative: ‘SetUniform’
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:696:5: error: ‘glUniform3i’ was not declared in this scope
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:666:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::Unbind()’:
/usr/local/include/pangolin/gl/glsl.h:671:5: error: ‘glUseProgram’ was not declared in this scope
glUseProgram(prev_prog);
^~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:696:5: note: suggested alternative: ‘SetUniform’
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:701:5: error: ‘glUniform4i’ was not declared in this scope
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:701:5: note: suggested alternative: ‘SetUniform’
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float)’:
/usr/local/include/pangolin/gl/glsl.h:706:5: error: ‘glUniform1f’ was not declared in this scope
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:671:5: note: suggested alternative: ‘GlSlProgram’
glUseProgram(prev_prog);
^~~~~~~~~~~~
GlSlProgram
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetAttributeHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:676:12: error: ‘glGetAttribLocation’ was not declared in this scope
return glGetAttribLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:706:5: note: suggested alternative: ‘SetUniform’
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:711:5: error: ‘glUniform2f’ was not declared in this scope
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:711:5: note: suggested alternative: ‘SetUniform’
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:716:5: error: ‘glUniform3f’ was not declared in this scope
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:716:5: note: suggested alternative: ‘SetUniform’
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:721:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetUniformHandle(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:681:12: error: ‘glGetUniformLocation’ was not declared in this scope
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:721:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, pangolin::Colour)’:
/usr/local/include/pangolin/gl/glsl.h:726:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:726:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, const pangolin::OpenGlMatrix&)’:
/usr/local/include/pangolin/gl/glsl.h:736:5: error: ‘glUniformMatrix4fv’ was not declared in this scope
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:681:12: note: suggested alternative: ‘GetUniformHandle’
return glGetUniformLocation(prog, name.c_str());
^~~~~~~~~~~~~~~~~~~~
GetUniformHandle
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int)’:
/usr/local/include/pangolin/gl/glsl.h:686:5: error: ‘glUniform1i’ was not declared in this scope
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:686:5: note: suggested alternative: ‘SetUniform’
glUniform1i( GetUniformHandle(name), x);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:691:5: error: ‘glUniform2i’ was not declared in this scope
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:736:5: note: suggested alternative: ‘glLoadMatrixf’
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
glLoadMatrixf
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::BindPangolinDefaultAttribLocationsAndLink()’:
/usr/local/include/pangolin/gl/glsl.h:793:5: error: ‘glBindAttribLocation’ was not declared in this scope
glBindAttribLocation(prog, DEFAULT_LOCATION_POSITION, DEFAULT_NAME_POSITION);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:691:5: note: suggested alternative: ‘SetUniform’
glUniform2i( GetUniformHandle(name), x1, x2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:696:5: error: ‘glUniform3i’ was not declared in this scope
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:696:5: note: suggested alternative: ‘SetUniform’
glUniform3i( GetUniformHandle(name), x1, x2, x3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, int, int, int, int)’:
/usr/local/include/pangolin/gl/glsl.h:701:5: error: ‘glUniform4i’ was not declared in this scope
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:803: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.h:701:5: note: suggested alternative: ‘SetUniform’
glUniform4i( GetUniformHandle(name), x1, x2, x3, x4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float)’:
/usr/local/include/pangolin/gl/glsl.h:706:5: error: ‘glUniform1f’ was not declared in this scope
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:803:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.h:706:5: note: suggested alternative: ‘SetUniform’
glUniform1f( GetUniformHandle(name), f);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:711:5: error: ‘glUniform2f’ was not declared in this scope
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.h:808:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:711:5: note: suggested alternative: ‘SetUniform’
glUniform2f( GetUniformHandle(name), f1,f2);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:716:5: error: ‘glUniform3f’ was not declared in this scope
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:716:5: note: suggested alternative: ‘SetUniform’
glUniform3f( GetUniformHandle(name), f1,f2,f3);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, float, float, float, float)’:
/usr/local/include/pangolin/gl/glsl.h:721:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:721:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), f1,f2,f3,f4);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, pangolin::Colour)’:
/usr/local/include/pangolin/gl/glsl.h:726:5: error: ‘glUniform4f’ was not declared in this scope
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:808:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
/usr/local/include/pangolin/gl/glsl.h:726:5: note: suggested alternative: ‘SetUniform’
glUniform4f( GetUniformHandle(name), c.r, c.g, c.b, c.a);
^~~~~~~~~~~
SetUniform
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetUniform(const string&, const pangolin::OpenGlMatrix&)’:
/usr/local/include/pangolin/gl/glsl.h:736:5: error: ‘glUniformMatrix4fv’ was not declared in this scope
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:736:5: note: suggested alternative: ‘glLoadMatrixf’
glUniformMatrix4fv( GetUniformHandle(name), 1, GL_FALSE, m);
^~~~~~~~~~~~~~~~~~
glLoadMatrixf
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::BindPangolinDefaultAttribLocationsAndLink()’:
/usr/local/include/pangolin/gl/glsl.h:793:5: error: ‘glBindAttribLocation’ was not declared in this scope
glBindAttribLocation(prog, DEFAULT_LOCATION_POSITION, DEFAULT_NAME_POSITION);
^~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h: In member function ‘GLint pangolin::GlSlProgram::GetProgramResourceIndex(const string&)’:
/usr/local/include/pangolin/gl/glsl.h:803: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.h:803:12: note: suggested alternative: ‘GetProgramResourceIndex’
return glGetProgramResourceIndex(prog, GL_SHADER_STORAGE_BLOCK, name.c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~
GetProgramResourceIndex
/usr/local/include/pangolin/gl/glsl.h: In member function ‘void pangolin::GlSlProgram::SetShaderStorageBlock(const string&, const int&)’:
/usr/local/include/pangolin/gl/glsl.h:808:5: error: ‘glShaderStorageBlockBinding’ was not declared in this scope
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/pangolin/gl/glsl.h:808:5: note: suggested alternative: ‘SetShaderStorageBlock’
glShaderStorageBlockBinding(prog, GetProgramResourceIndex(name), bindingIndex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
SetShaderStorageBlock
/content/DeepSDF/src/Utils.cpp: In function ‘std::pair<Eigen::Matrix<float, 3, 1>, float> ComputeNormalizationParameters(pangolin::Geometry&, float)’:
/content/DeepSDF/src/Utils.cpp:116:17: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
/content/DeepSDF/src/Utils.cpp:116:17: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:116:42: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^

/content/DeepSDF/src/Utils.cpp:124:51: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto itVertIndices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/Utils.cpp:125:51: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (itVertIndices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/Utils.cpp:127:21: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
/content/DeepSDF/src/Utils.cpp:127:21: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:127:49: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^

/content/DeepSDF/src/Utils.cpp: In function ‘float BoundingCubeNormalization(pangolin::Geometry&, bool, float)’:
/content/DeepSDF/src/Utils.cpp:178:17: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
/content/DeepSDF/src/Utils.cpp:178:17: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:178:42: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^

/content/DeepSDF/src/Utils.cpp:186:51: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto itVertIndices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/Utils.cpp:187:51: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (itVertIndices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/Utils.cpp:189:21: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
/content/DeepSDF/src/Utils.cpp:189:21: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:189:49: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^

/content/DeepSDF/src/Utils.cpp: In function ‘std::pair<Eigen::Matrix<float, 3, 1>, float> ComputeNormalizationParameters(pangolin::Geometry&, float)’:
/content/DeepSDF/src/Utils.cpp:116:17: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
/content/DeepSDF/src/Utils.cpp:116:17: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:116:42: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~
/content/DeepSDF/src/Utils.cpp:124:51: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto itVertIndices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/Utils.cpp:125:51: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (itVertIndices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/Utils.cpp:127:21: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
/content/DeepSDF/src/Utils.cpp:127:21: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:127:49: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~
/content/DeepSDF/src/Utils.cpp: In function ‘float BoundingCubeNormalization(pangolin::Geometry&, bool, float)’:
/content/DeepSDF/src/Utils.cpp:178:17: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
/content/DeepSDF/src/Utils.cpp:178:17: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:178:42: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~
/content/DeepSDF/src/Utils.cpp:186:51: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto itVertIndices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/Utils.cpp:187:51: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (itVertIndices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/Utils.cpp:189:21: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
/content/DeepSDF/src/Utils.cpp:189:21: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~~
Widget
/content/DeepSDF/src/Utils.cpp:189:49: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(itVertIndices->second);
^~
/content/DeepSDF/src/PreprocessMesh.cpp: In function ‘void SampleFromSurface(pangolin::Geometry&, std::vector<Eigen::Matrix<float, 3, 1> >&, int)’:
/content/DeepSDF/src/PreprocessMesh.cpp:34:53: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/PreprocessMesh.cpp:35:53: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:37:21: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:37:21: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/content/DeepSDF/src/PreprocessMesh.cpp:37:49: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/content/DeepSDF/src/PreprocessMesh.cpp:46:17: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:46:17: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
Widget
/content/DeepSDF/src/PreprocessMesh.cpp:46:42: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp: In function ‘void SampleFromSurfaceInside(pangolin::Geometry&, std::vector<Eigen::Matrix<float, 3, 1> >&, int, KdVertexListTree&, std::vector<Eigen::Matrix<float, 3, 1> >&, std::vector<Eigen::Matrix<float, 3, 1> >&, float)’:
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:74:53: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:75:53: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:77:21: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:77:21: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:77:49: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:86:17: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:86:17: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~~
Widget
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:86:42: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image>(geom.buffers["geometry"].attributes["vertex"]);
^~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp: In function ‘int main(int, char**)’:
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:172:55: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:173:55: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:175:23: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:175:23: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:175:51: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:190:55: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:191:55: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:193:23: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:193:23: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:193:51: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:210:50: error: assignment of read-only location ‘"vertex_indices"[faces.std::_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element> >::operator->()->std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes]’
faces->second.attributes["vertex_indices"] = new_ibo;
^~~~~~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:210:50: error: cannot convert ‘pangolin::Image’ to ‘const char’ in assignment
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:216:52: error: ‘get’ is not a member of ‘pangolin’
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~~
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:216:52: note: suggested alternative: ‘Widget’
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~~
Widget
/content/DeepSDF/src/SampleVisibleMeshSurface.cpp:216:80: error: expected primary-expression before ‘>’ token
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~
/content/DeepSDF/src/PreprocessMesh.cpp: In function ‘int main(int, char**)’:
/content/DeepSDF/src/PreprocessMesh.cpp:337:55: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/PreprocessMesh.cpp:338:55: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:340:23: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:340:23: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/content/DeepSDF/src/PreprocessMesh.cpp:340:51: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/content/DeepSDF/src/PreprocessMesh.cpp:355:55: error: request for member ‘find’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
auto it_vert_indices = object.second.attributes.find("vertex_indices");
^~~~
/content/DeepSDF/src/PreprocessMesh.cpp:356:55: error: request for member ‘end’ in ‘object.std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes’, which is of non-class type ‘const int’
if (it_vert_indices != object.second.attributes.end()) {
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:358:23: error: ‘get’ is not a member of ‘pangolin’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:358:23: note: suggested alternative: ‘Widget’
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~~
Widget
/content/DeepSDF/src/PreprocessMesh.cpp:358:51: error: expected primary-expression before ‘>’ token
pangolin::get<pangolin::Image<uint32_t>>(it_vert_indices->second);
^~
/content/DeepSDF/src/PreprocessMesh.cpp:375:50: error: assignment of read-only location ‘"vertex_indices"[faces.std::_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element> >::operator->()->std::pair<const std::__cxx11::basic_string, pangolin::Geometry::Element>::second.pangolin::Geometry::Element::attributes]’
faces->second.attributes["vertex_indices"] = new_ibo;
^~~~~~~
/content/DeepSDF/src/PreprocessMesh.cpp:375:50: error: cannot convert ‘pangolin::Image’ to ‘const char’ in assignment
/content/DeepSDF/src/PreprocessMesh.cpp:381:52: error: ‘get’ is not a member of ‘pangolin’
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~~
/content/DeepSDF/src/PreprocessMesh.cpp:381:52: note: suggested alternative: ‘Widget’
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~~
Widget
/content/DeepSDF/src/PreprocessMesh.cpp:381:80: error: expected primary-expression before ‘>’ token
pangolin::Image<uint32_t> modelFaces = pangolin::get<pangolin::Image<uint32_t>>(
^~
CMakeFiles/PreprocessMesh.dir/build.make:88: recipe for target 'CMakeFiles/PreprocessMesh.dir/src/Utils.cpp.o' failed
make[2]: *** [CMakeFiles/PreprocessMesh.dir/src/Utils.cpp.o] Error 1
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:88: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/Utils.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/Utils.cpp.o] Error 1
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:62: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/all' failed
make[1]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/PreprocessMesh.dir/build.make:62: recipe for target 'CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o' failed
make[2]: *** [CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o] Error 1
CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/PreprocessMesh.dir/all' failed
make[1]: *** [CMakeFiles/PreprocessMesh.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2882, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
get_ipython().run_cell_magic('shell', '', 'cd /content/DeepSDF/\nmkdir build\ncd build\ncmake ..\nmake -j')
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2117, in run_cell_magic
result = fn(magic_arg_s, cell)
File "/usr/local/lib/python3.7/dist-packages/google/colab/_system_commands.py", line 113, in _shell_cell_magic
result.check_returncode()
File "/usr/local/lib/python3.7/dist-packages/google/colab/_system_commands.py", line 139, in check_returncode
returncode=self.returncode, cmd=self.args, output=self.output)
subprocess.CalledProcessError: Command 'cd /content/DeepSDF/
mkdir build
cd build
cmake ..
make -j' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 1823, in showtraceback
stb = value.render_traceback()
AttributeError: 'CalledProcessError' object has no attribute 'render_traceback'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 1132, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 313, in wrapped
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 358, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "/usr/lib/python3.7/inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "/usr/lib/python3.7/inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/usr/lib/python3.7/inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), 'loader', None) is not None:
File "/usr/lib/python3.7/inspect.py", line 725, in getmodule
file = getabsfile(object, _filename)
File "/usr/lib/python3.7/inspect.py", line 709, in getabsfile
return os.path.normcase(os.path.abspath(_filename))
File "/usr/lib/python3.7/posixpath.py", line 383, in abspath
cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory`

@DerekGrant
Copy link

https://github.com/stevenlovegrove/Pangolin/tree/v0.6

This solved a lot of problem when run the 'make -j' in DeepSDF build

git clone https://github.com/stevenlovegrove/Pangolin.git -b v0.6

@around-star
Copy link

@DerekGrant I am trying to build it on colab. Please take a look at the error. I don't seem to find any solution.
Link - notebook

@hanfeng-wu
Copy link

Any updates?

@AlexWang1900
Copy link

for the newest pangolin ,I figure it out, change you makelists.txt in deepsdf like this:
project("DeepSDF")
cmake_minimum_required(VERSION 3.0)

find_package(CLI11 CONFIG REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(nanoflann REQUIRED)
find_package(Pangolin REQUIRED)
#include_directories(${Pangolin_INCLUDE_DIRS})

add_subdirectory(third-party/cnpy)

set(SOURCES
src/ShaderProgram.cpp
src/Utils.cpp)

add_executable(PreprocessMesh src/PreprocessMesh.cpp ${SOURCES})
target_include_directories(PreprocessMesh PRIVATE third-party/cnpy )
target_link_libraries(PreprocessMesh PRIVATE CLI11::CLI11 pango_core pango_display pango_geometry pango_glgeometry GLEW cnpy Eigen3::Eigen nanoflann::nanoflann)
target_compile_features(PreprocessMesh PRIVATE cxx_std_14)
set_target_properties(PreprocessMesh PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")

add_executable(SampleVisibleMeshSurface src/SampleVisibleMeshSurface.cpp ${SOURCES})
target_include_directories(SampleVisibleMeshSurface PRIVATE third-party/cnpy)
target_link_libraries(SampleVisibleMeshSurface PRIVATE CLI11::CLI11 pango_core pango_display pango_geometry pango_glgeometry GLEW cnpy Eigen3::Eigen nanoflann::nanoflann)
target_compile_features(SampleVisibleMeshSurface PRIVATE cxx_std_14)
set_target_properties(SampleVisibleMeshSurface PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")

@miruna20
Copy link

When I make the project with the CMakeLists.txt from @AlexWang1900 I get the following error:
[ 14%] Built target cnpy-static
[ 28%] Built target cnpy
[ 42%] Built target example1
[ 50%] Linking CXX executable bin/PreprocessMesh
[ 57%] Linking CXX executable bin/SampleVisibleMeshSurface
/usr/bin/ld: cannot find -lpango_core
/usr/bin/ld: cannot find -lpango_display
/usr/bin/ld: cannot find -lpango_geometry
/usr/bin/ld: cannot find -lpango_glgeometry
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/build.make:116: bin/SampleVisibleMeshSurface] Error 1
make[1]: *** [CMakeFiles/Makefile2:102: CMakeFiles/SampleVisibleMeshSurface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o: in function pangolin::GlTexture::Download(pangolin::TypedImage&) const': PreprocessMesh.cpp:(.text._ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE[_ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE]+0x9b): undefined reference to pangolin::PixelFormatFromString(std::string const&)'
/usr/bin/ld: PreprocessMesh.cpp:(.text._ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE[_ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE]+0x146): undefined reference to pangolin::PixelFormatFromString(std::string const&)' /usr/bin/ld: PreprocessMesh.cpp:(.text._ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE[_ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE]+0x1d3): undefined reference to pangolin::PixelFormatFromString(std::string const&)'
/usr/bin/ld: PreprocessMesh.cpp:(.text._ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE[_ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE]+0x255): undefined reference to pangolin::PixelFormatFromString(std::string const&)' /usr/bin/ld: PreprocessMesh.cpp:(.text._ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE[_ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE]+0x2f6): undefined reference to pangolin::PixelFormatFromString(std::string const&)'
/usr/bin/ld: CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o:PreprocessMesh.cpp:(.text._ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE[_ZNK8pangolin9GlTexture8DownloadERNS_10TypedImageE]+0x378): more undefined references to pangolin::PixelFormatFromString(std::string const&)' follow /usr/bin/ld: CMakeFiles/PreprocessMesh.dir/src/PreprocessMesh.cpp.o: in function main':
PreprocessMesh.cpp:(.text.startup+0x6e5): undefined reference to pangolin::LoadGeometry(std::string const&)' /usr/bin/ld: PreprocessMesh.cpp:(.text.startup+0xe46): undefined reference to pangolin::CreateWindowAndBind(std::string, int, int, pangolin::Params const&)'
/usr/bin/ld: PreprocessMesh.cpp:(.text.startup+0x245b): undefined reference to pangolin::CreateWindowAndBind(std::string, int, int, pangolin::Params const&)' /usr/bin/ld: CMakeFiles/PreprocessMesh.dir/src/ShaderProgram.cpp.o: in function pangolin::GlSlProgram::PreprocessGLSL(std::istream&, std::ostream&, std::map<std::string, std::string, std::lessstd::string, std::allocator<std::pair<std::string const, std::string> > > const&, std::vector<std::string, std::allocatorstd::string > const&, std::string const&)':
ShaderProgram.cpp:(.text.ZN8pangolin11GlSlProgram14PreprocessGLSLERSiRSoRKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEERKSt6vectorISsSaISsEERS7[ZN8pangolin11GlSlProgram14PreprocessGLSLERSiRSoRKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEERKSt6vectorISsSaISsEERS7]+0x306): undefined reference to pangolin::FileExists(std::string const&)' /usr/bin/ld: ShaderProgram.cpp:(.text._ZN8pangolin11GlSlProgram14PreprocessGLSLERSiRSoRKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEERKSt6vectorISsSaISsEERS7_[_ZN8pangolin11GlSlProgram14PreprocessGLSLERSiRSoRKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEERKSt6vectorISsSaISsEERS7_]+0x364): undefined reference to pangolin::FileExists(std::string const&)'
/usr/bin/ld: ShaderProgram.cpp:(.text.ZN8pangolin11GlSlProgram14PreprocessGLSLERSiRSoRKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEERKSt6vectorISsSaISsEERS7[ZN8pangolin11GlSlProgram14PreprocessGLSLERSiRSoRKSt3mapISsSsSt4lessISsESaISt4pairIKSsSsEEERKSt6vectorISsSaISsEERS7]+0x91c): undefined reference to `pangolin::PathParent(std::string const&, int)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/PreprocessMesh.dir/build.make:142: bin/PreprocessMesh] Error 1
make[1]: *** [CMakeFiles/Makefile2:129: CMakeFiles/PreprocessMesh.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

It looks like the linker cannot find these modules. Does anyone know how to fix this?

@s-hodgson
Copy link

s-hodgson commented Nov 2, 2022

https://github.com/stevenlovegrove/Pangolin/tree/v0.6

This solved a lot of problem when run the 'make -j' in DeepSDF build

git clone https://github.com/stevenlovegrove/Pangolin.git -b v0.6

This worked for me, the current ffmpeg version doesn't seem to work with it but it can be turned off with:

cmake -DBUILD_PANGOLIN_FFMPEG=OFF ..

per stevenlovegrove/Pangolin#313 (comment)

@Eric-Gty
Copy link

Eric-Gty commented Jan 9, 2023

https://github.com/stevenlovegrove/Pangolin/tree/v0.6

This solved a lot of problem when run the 'make -j' in DeepSDF build
git clone https://github.com/stevenlovegrove/Pangolin.git -b v0.6

This worked for me, the current ffmpeg version doesn't seem to work with it but it can be turned off with:

cmake -DBUILD_PANGOLIN_FFMPEG=OFF ..

per stevenlovegrove/Pangolin#313 (comment)

Hi there, I would like to know what version of your GCC and G++ are for compiling this. Because when I tried your setting, I still meet the problem of:

[ 14%] Built target cnpy
[ 21%] Linking CXX executable ../bin/SampleVisibleMeshSurface
/usr/bin/ld: CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o: undefined reference to symbol '_ZNK8pangolin12OpenGlMatrix7InverseEv'
//usr/local/lib/libpango_opengl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:134: recipe for target '../bin/SampleVisibleMeshSurface' failed
make[2]: *** [../bin/SampleVisibleMeshSurface] Error 1
CMakeFiles/Makefile2:120: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/all' failed
make[1]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests