Open marcandrebenoit opened 4 years ago
I'm seeing this on debian testing as well.
Building on GalliumOS is throwing the same error ya'll hit here but at least I could work around it with the packages from here: https://github.com/scottdraves/electricsheep/issues/85#issuecomment-546137295
Same problem here with a fresh install of Ubuntu 20.04, however the packages referred to by @johndotpub are not working for some reason
Building on Ubuntu 18.04.4 LTS
the dependencies are okay/installed properly
Reading package lists... Done Building dependency tree Reading state information... Done autoconf is already the newest version (2.69-11). libboost-dev is already the newest version (1.65.1.0ubuntu1). libboost-filesystem-dev is already the newest version (1.65.1.0ubuntu1). libboost-thread-dev is already the newest version (1.65.1.0ubuntu1). libgtk2.0-dev is already the newest version (2.24.32-1ubuntu1). libjpeg8-dev is already the newest version (8c-2ubuntu8). libtool is already the newest version (2.4.6-2). freeglut3-dev is already the newest version (2.8.1-3). glee-dev is already the newest version (5.4.0-2). liblua5.1-0-dev is already the newest version (5.1.5-8.1build2). libtinyxml-dev is already the newest version (2.6.2-4). libwxgtk3.0-dev is already the newest version (3.0.4+dfsg-3). subversion is already the newest version (1.9.7-4ubuntu1). libcurl4-openssl-dev is already the newest version (7.58.0-2ubuntu3.8). libgl1-mesa-dev is already the newest version (19.2.8-0ubuntu0~18.04.3). libgtop2-dev is already the newest version (2.38.0-2ubuntu0.18.04.1). libxml2-dev is already the newest version (2.9.4+dfsg1-6.1ubuntu1.3). libavcodec-dev is already the newest version (7:3.4.6-0ubuntu0.18.04.1). libavformat-dev is already the newest version (7:3.4.6-0ubuntu0.18.04.1). libswscale-dev is already the newest version (7:3.4.6-0ubuntu0.18.04.1).
Configure looks good
checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for ANSI C header files... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking dependency style of gcc... gcc3 checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc O/S is GNU/Linux checking for pkg-config... /usr/bin/pkg-config checking for wx-config-2.9... no checking for wx-config... /usr/bin/wx-config WX_CXXFLAGS is -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread WX_LIBS is -static -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_xrc-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_qa-3.0 -lwx_gtk2u_adv-3.0 -lwx_gtk2u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 -L/usr/lib/x86_64-linux-gnu -pthread -lwx_gtk2u_richtext-3.0 -lwx_baseu-3.0 checking pkg-config is at least version 0.9.0... yes checking for AVCODEC... yes checking for avcodec_decode_video2 in -lavcodec... yes checking for AVFORMAT... yes checking for av_open_input_file in -lavformat... no checking for SWSCALE... yes checking for AVUTIL... yes checking for LUA... yes checking for GLEE... yes checking for CURL... yes checking for PNG... yes checking for XRENDER... yes checking for flam3-animate... /usr/local/bin/flam3-animate checking for LIBGTOP... yes checking for libboost >= 1.39... yes checking boost/thread.hpp usability... yes checking boost/thread.hpp presence... yes checking for boost/thread.hpp... yes checking for main in -lboost_thread... yes checking boost/filesystem.hpp usability... yes checking boost/filesystem.hpp presence... yes checking for boost/filesystem.hpp... yes checking for main in -lboost_filesystem... yes checking boost/system/config.hpp usability... yes checking boost/system/config.hpp presence... yes checking for boost/system/config.hpp... yes checking for main in -lboost_system... yes checking for main in -ltinyxml... yes checking for glutMainLoop in -lglut... yes checking for glXCreateNewContext in -lGL... yes checking for clock_gettime in -lrt... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Client/Makefile config.status: creating MSVC/SettingsGUI/Makefile config.status: executing depfiles commands config.status: executing libtool commands
then makes just returns error 1 for target 'ShaderGL.o'
Making all in Client make[1]: Entering directory '/home/user/bin/electricsheep/client_generic/Client' g++ -DPACKAGE_NAME=\"electricsheep\" -DPACKAGE_TARNAME=\"electricsheep\" -DPACKAGE_VERSION=\"2.7b33-svn\" -DPACKAGE_STRING=\"electricsheep\ 2.7b33-svn\" -DPACKAGE_BUGREPORT=\"http://code.google.com/p/electricsheep/issues/list\" -DPACKAGE_URL=\"\" -DPACKAGE=\"electricsheep\" -DVERSION=\"2.7b33-svn\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DUSE_NEW_FFMPEG_API=1 -DHAVE_LIBBOOST_THREAD=1 -DHAVE_LIBBOOST_FILESYSTEM=1 -DHAVE_LIBBOOST_SYSTEM=1 -DHAVE_LIBTINYXML=1 -DHAVE_LIBGLUT=1 -DHAVE_LIBGL=1 -DHAVE_LIBRT=1 -I. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I .. -iquote ../DisplayOutput/OpenGL -I ../Common -I ../DisplayOutput -I ../DisplayOutput/Renderer -I ../Common/Math -I ../ContentDecoder -I ../TupleStorage -I ../ContentDownloader -I ../lua5.1/src -I ../Client -I ../Networking -I ../tinyXml -DLINUX_GNU=1 -DSHAREDIR=\"/usr/local/share/electricsheep/\" -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.1 -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/lua5.1 -lrt -lz -lGL -D__STDC_CONSTANT_MACROS -Wno-write-strings -DHAVE_AVC_VID2=1 -g -O2 -MT ShaderGL.o -MD -MP -MF .deps/ShaderGL.Tpo -c -o ShaderGL.o
test -f '../DisplayOutput/OpenGL/ShaderGL.cpp' || echo './'../DisplayOutput/OpenGL/ShaderGL.cpp ../DisplayOutput/OpenGL/ShaderGL.cpp: In destructor ‘virtual DisplayOutput::CShaderGL::~CShaderGL()’:
../DisplayOutput/OpenGL/ShaderGL.cpp:41:3: error: ‘glDeleteObjectARB’ was not declared in this scopeglDeleteObjectARB( m_VertexShader ); ^~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:41:3: note: suggested alternative: ‘glDeleteTextures’ glDeleteObjectARB( m_VertexShader ); ^~~~~~~~~~~~~~~~~ glDeleteTextures ../DisplayOutput/OpenGL/ShaderGL.cpp:44:3: error: ‘glDeleteObjectARB’ was not declared in this scope glDeleteObjectARB( m_FragmentShader ); ^~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:44:3: note: suggested alternative: ‘glDeleteTextures’ glDeleteObjectARB( m_FragmentShader ); ^~~~~~~~~~~~~~~~~ glDeleteTextures ../DisplayOutput/OpenGL/ShaderGL.cpp:47:3: error: ‘glDeleteObjectARB’ was not declared in this scope glDeleteObjectARB( m_Program ); ^~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:47:3: note: suggested alternative: ‘glDeleteTextures’ glDeleteObjectARB( m_Program ); ^~~~~~~~~~~~~~~~~ glDeleteTextures ../DisplayOutput/OpenGL/ShaderGL.cpp: In member function ‘virtual bool DisplayOutput::CShaderGL::Bind()’: ../DisplayOutput/OpenGL/ShaderGL.cpp:55:2: error: ‘glUseProgramObjectARB’ was not declared in this scope glUseProgramObjectARB( m_Program ); ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp: In member function ‘virtual bool DisplayOutput::CShaderGL::Unbind()’: ../DisplayOutput/OpenGL/ShaderGL.cpp:82:2: error: ‘glUseProgramObjectARB’ was not declared in this scope glUseProgramObjectARB( 0 ); ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp: In member function ‘virtual bool DisplayOutput::CShaderGL::Build(const char*, const char*)’: ../DisplayOutput/OpenGL/ShaderGL.cpp:128:14: error: ‘glCreateProgramObjectARB’ was not declared in this scope m_Program = glCreateProgramObjectARB(); ^~~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:133:20: error: ‘glCreateShaderObjectARB’ was not declared in this scope m_VertexShader = glCreateShaderObjectARB( GL_VERTEX_SHADER_ARB ); ^~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:136:3: error: ‘glShaderSourceARB’ was not declared in this scope glShaderSourceARB( m_VertexShader, strIndex + 1, shaderStrings, NULL ); ^~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:136:3: note: suggested alternative: ‘glShadeModel’ glShaderSourceARB( m_VertexShader, strIndex + 1, shaderStrings, NULL ); ^~~~~~~~~~~~~~~~~ glShadeModel ../DisplayOutput/OpenGL/ShaderGL.cpp:137:3: error: ‘glCompileShaderARB’ was not declared in this scope glCompileShaderARB( m_VertexShader ); ^~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:138:3: error: ‘glGetObjectParameterivARB’ was not declared in this scope glGetObjectParameterivARB( m_VertexShader, GL_OBJECT_COMPILE_STATUS_ARB, &vsResult ); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:138:3: note: suggested alternative: ‘glGetTexParameteriv’ glGetObjectParameterivARB( m_VertexShader, GL_OBJECT_COMPILE_STATUS_ARB, &vsResult ); ^~~~~~~~~~~~~~~~~~~~~~~~~ glGetTexParameteriv ../DisplayOutput/OpenGL/ShaderGL.cpp:140:4: error: ‘glAttachObjectARB’ was not declared in this scope glAttachObjectARB( m_Program, m_VertexShader ); ^~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:144:3: error: ‘glGetInfoLogARB’ was not declared in this scope glGetInfoLogARB( m_VertexShader, sizeof(infoLog) - static_cast<size_t>(infoLogPos), &len, infoLog + infoLogPos ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:144:3: note: suggested alternative: ‘glGetIntegerv’ glGetInfoLogARB( m_VertexShader, sizeof(infoLog) - static_cast<size_t>(infoLogPos), &len, infoLog + infoLogPos ); ^~~~~~~~~~~~~~~ glGetIntegerv ../DisplayOutput/OpenGL/ShaderGL.cpp:154:22: error: ‘glCreateShaderObjectARB’ was not declared in this scope m_FragmentShader = glCreateShaderObjectARB( GL_FRAGMENT_SHADER_ARB ); ^~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:157:3: error: ‘glShaderSourceARB’ was not declared in this scope glShaderSourceARB( m_FragmentShader, strIndex + 1, shaderStrings, NULL ); ^~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:157:3: note: suggested alternative: ‘glShadeModel’ glShaderSourceARB( m_FragmentShader, strIndex + 1, shaderStrings, NULL ); ^~~~~~~~~~~~~~~~~ glShadeModel ../DisplayOutput/OpenGL/ShaderGL.cpp:158:3: error: ‘glCompileShaderARB’ was not declared in this scope glCompileShaderARB( m_FragmentShader ); ^~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:159:3: error: ‘glGetObjectParameterivARB’ was not declared in this scope glGetObjectParameterivARB( m_FragmentShader, GL_OBJECT_COMPILE_STATUS_ARB, &fsResult ); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:159:3: note: suggested alternative: ‘glGetTexParameteriv’ glGetObjectParameterivARB( m_FragmentShader, GL_OBJECT_COMPILE_STATUS_ARB, &fsResult ); ^~~~~~~~~~~~~~~~~~~~~~~~~ glGetTexParameteriv ../DisplayOutput/OpenGL/ShaderGL.cpp:161:4: error: ‘glAttachObjectARB’ was not declared in this scope glAttachObjectARB( m_Program, m_FragmentShader ); ^~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:165:3: error: ‘glGetInfoLogARB’ was not declared in this scope glGetInfoLogARB( m_FragmentShader, sizeof(infoLog) - static_cast<size_t>(infoLogPos), &len, infoLog + infoLogPos ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:165:3: note: suggested alternative: ‘glGetIntegerv’ glGetInfoLogARB( m_FragmentShader, sizeof(infoLog) - static_cast<size_t>(infoLogPos), &len, infoLog + infoLogPos ); ^~~~~~~~~~~~~~~ glGetIntegerv ../DisplayOutput/OpenGL/ShaderGL.cpp:174:3: error: ‘glLinkProgramARB’ was not declared in this scope glLinkProgramARB( m_Program ); ^~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:174:3: note: suggested alternative: ‘glHistogram’ glLinkProgramARB( m_Program ); ^~~~~~~~~~~~~~~~ glHistogram ../DisplayOutput/OpenGL/ShaderGL.cpp:175:3: error: ‘glGetObjectParameterivARB’ was not declared in this scope glGetObjectParameterivARB( m_Program, GL_OBJECT_LINK_STATUS_ARB, &linkResult ); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:175:3: note: suggested alternative: ‘glGetTexParameteriv’ glGetObjectParameterivARB( m_Program, GL_OBJECT_LINK_STATUS_ARB, &linkResult ); ^~~~~~~~~~~~~~~~~~~~~~~~~ glGetTexParameteriv ../DisplayOutput/OpenGL/ShaderGL.cpp:176:3: error: ‘glGetInfoLogARB’ was not declared in this scope glGetInfoLogARB( m_Program, sizeof(infoLog) - static_cast<size_t>(infoLogPos), &len, infoLog + infoLogPos ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:176:3: note: suggested alternative: ‘glGetIntegerv’ glGetInfoLogARB( m_Program, sizeof(infoLog) - static_cast<size_t>(infoLogPos), &len, infoLog + infoLogPos ); ^~~~~~~~~~~~~~~ glGetIntegerv ../DisplayOutput/OpenGL/ShaderGL.cpp:184:4: error: ‘glUseProgramObjectARB’ was not declared in this scope glUseProgramObjectARB( m_Program ); ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:198:5: error: ‘glGetActiveUniformARB’ was not declared in this scope glGetActiveUniformARB( m_Program, i, maxLength, &length, &size, &type, name ); ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:198:5: note: suggested alternative: ‘glActiveTextureARB’ glGetActiveUniformARB( m_Program, i, maxLength, &length, &size, &type, name ); ^~~~~~~~~~~~~~~~~~~~~ glActiveTextureARB ../DisplayOutput/OpenGL/ShaderGL.cpp:203:23: error: ‘glGetUniformLocationARB’ was not declared in this scope GLint location = glGetUniformLocationARB( m_Program, name ); ^~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:209:6: error: ‘glUniform1i’ was not declared in this scope glUniform1i( location, pos/*nSamplers*/ ); ^~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:209:6: note: suggested alternative: ‘Uniform’ glUniform1i( location, pos/*nSamplers*/ ); ^~~~~~~~~~~ Uniform ../DisplayOutput/OpenGL/ShaderGL.cpp:255:64: error: ‘glGetUniformLocationARB’ was not declared in this scope m_Uniforms[ name ] = new CShaderUniformGL( name, eType, glGetUniformLocationARB( m_Program, name ), size ); ^~~~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:291:4: error: ‘glUseProgram’ was not declared in this scope glUseProgram( GL_NONE ); ^~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:291:4: note: suggested alternative: ‘m_Program’ glUseProgram( GL_NONE ); ^~~~~~~~~~~~ m_Program ../DisplayOutput/OpenGL/ShaderGL.cpp: In member function ‘virtual bool DisplayOutput::CShaderUniformGL::SetData(void*, uint32)’: ../DisplayOutput/OpenGL/ShaderGL.cpp:314:53: error: ‘glUniform1fvARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Float ] = (void *)glUniform1fvARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:315:54: error: ‘glUniform2fvARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Float2 ] = (void *)glUniform2fvARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:316:54: error: ‘glUniform3fvARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Float3 ] = (void *)glUniform3fvARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:317:54: error: ‘glUniform4fvARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Float4 ] = (void *)glUniform4fvARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:318:51: error: ‘glUniform1ivARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Int ] = (void *)glUniform1ivARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:319:52: error: ‘glUniform2ivARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Int2 ] = (void *)glUniform2ivARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:320:52: error: ‘glUniform3ivARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Int3 ] = (void *)glUniform3ivARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:321:52: error: ‘glUniform4ivARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Int4 ] = (void *)glUniform4ivARB; ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:326:55: error: ‘glUniformMatrix2fvARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Matrix2 ] = (void *)glUniformMatrix2fvARB; ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:326:55: note: suggested alternative: ‘eUniform_Matrix2’ g_UniformFunctionList[ eUniform_Matrix2 ] = (void *)glUniformMatrix2fvARB; ^~~~~~~~~~~~~~~~~~~~~ eUniform_Matrix2 ../DisplayOutput/OpenGL/ShaderGL.cpp:327:55: error: ‘glUniformMatrix3fvARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Matrix3 ] = (void *)glUniformMatrix3fvARB; ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:327:55: note: suggested alternative: ‘eUniform_Matrix3’ g_UniformFunctionList[ eUniform_Matrix3 ] = (void *)glUniformMatrix3fvARB; ^~~~~~~~~~~~~~~~~~~~~ eUniform_Matrix3 ../DisplayOutput/OpenGL/ShaderGL.cpp:328:55: error: ‘glUniformMatrix4fvARB’ was not declared in this scope g_UniformFunctionList[ eUniform_Matrix4 ] = (void *)glUniformMatrix4fvARB; ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:328:55: note: suggested alternative: ‘eUniform_Matrix4’ g_UniformFunctionList[ eUniform_Matrix4 ] = (void *)glUniformMatrix4fvARB; ^~~~~~~~~~~~~~~~~~~~~ eUniform_Matrix4 ../DisplayOutput/OpenGL/ShaderGL.cpp: In member function ‘virtual void DisplayOutput::CShaderUniformGL::Apply()’: ../DisplayOutput/OpenGL/ShaderGL.cpp:385:4: error: ‘glUniform1fvARB’ was not declared in this scope glUniform1fvARB( m_Index, m_Size, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:388:4: error: ‘glUniform2fvARB’ was not declared in this scope glUniform2fvARB( m_Index, m_Size, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:391:4: error: ‘glUniform3fvARB’ was not declared in this scope glUniform3fvARB( m_Index, m_Size, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:394:4: error: ‘glUniform4fvARB’ was not declared in this scope glUniform4fvARB( m_Index, m_Size, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:399:4: error: ‘glUniform1ivARB’ was not declared in this scope glUniform1ivARB( m_Index, m_Size, (const GLint *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:403:4: error: ‘glUniform2ivARB’ was not declared in this scope glUniform2ivARB( m_Index, m_Size, (const GLint *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:407:4: error: ‘glUniform3ivARB’ was not declared in this scope glUniform3ivARB( m_Index, m_Size, (const GLint *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:411:4: error: ‘glUniform4ivARB’ was not declared in this scope glUniform4ivARB( m_Index, m_Size, (const GLint *)m_pData ); ^~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:414:4: error: ‘glUniformMatrix2fvARB’ was not declared in this scope glUniformMatrix2fvARB( m_Index, m_Size, GL_TRUE, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:414:4: note: suggested alternative: ‘eUniform_Matrix2’ glUniformMatrix2fvARB( m_Index, m_Size, GL_TRUE, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~~~~~~~ eUniform_Matrix2 ../DisplayOutput/OpenGL/ShaderGL.cpp:417:4: error: ‘glUniformMatrix3fvARB’ was not declared in this scope glUniformMatrix3fvARB( m_Index, m_Size, GL_TRUE, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:417:4: note: suggested alternative: ‘eUniform_Matrix3’ glUniformMatrix3fvARB( m_Index, m_Size, GL_TRUE, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~~~~~~~ eUniform_Matrix3 ../DisplayOutput/OpenGL/ShaderGL.cpp:420:4: error: ‘glUniformMatrix4fvARB’ was not declared in this scope glUniformMatrix4fvARB( m_Index, m_Size, GL_TRUE, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~~~~~~~ ../DisplayOutput/OpenGL/ShaderGL.cpp:420:4: note: suggested alternative: ‘eUniform_Matrix4’ glUniformMatrix4fvARB( m_Index, m_Size, GL_TRUE, (const GLfloat *)m_pData ); ^~~~~~~~~~~~~~~~~~~~~ eUniform_Matrix4 **Makefile:748: recipe for target 'ShaderGL.o' failed make[1]: *** [ShaderGL.o] Error 1** make[1]: Leaving directory '/home/user/bin/electricsheep/client_generic/Client' **Makefile:510: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1**