I have a Odroid XU3 with Ubuntu 15.10 installed and I’m trying to compile the source for it and I’m getting errors.
I can make it about halfway through the build before I get the following errors:
In file included from built/include/glTextureContext_src.h:94:0,
from built/include/glstuff_src.h:32,
from panda/src/gles2gsg/gles2gsg.h:249,
from panda/src/gles2gsg/config_gles2gsg.cxx:15:
built/include/glTextureContext_src.I: In constructor ‘GLES2TextureContext::GLES2TextureContext(GLES2GraphicsStateGuardian*, PreparedGraphicsObjects*, Texture*, int)’:
built/include/glTextureContext_src.I:24:27: error: ‘glGenTextures’ was not declared in this scope
glGenTextures(1, &_index);
^
In file included from built/include/glGraphicsStateGuardian_src.h:1120:0,
from built/include/glstuff_src.h:46,
from panda/src/gles2gsg/gles2gsg.h:249,
from panda/src/gles2gsg/config_gles2gsg.cxx:15:
built/include/glGraphicsStateGuardian_src.I: In member function ‘bool GLES2GraphicsStateGuardian::report_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:26:34: error: ‘glGetError’ was not declared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::report_my_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:44:36: error: ‘glGetError’ was not d
eclared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘bool GLES2GraphicsStateGuardian::clear_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:65:34: error: ‘glGetError’ was not declared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::clear_my_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:85:36: error: ‘glGetError’ was not declared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::maybe_gl_finish() const’:
built/include/glGraphicsStateGuardian_src.I:167:14: error: ‘glFinish’ was not declared in this scope
glFinish();
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::set_active_texture_stage(int)’:
built/include/glGraphicsStateGuardian_src.I:283:36: error: ‘glActiveTexture’ was not declared in this scope
glActiveTexture(GL_TEXTURE0 + i);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_stencil_test(bool)’:
built/include/glGraphicsStateGuardian_src.I:496:31: error: ‘glEnable’ was not declared in this scope
glEnable(GL_STENCIL_TEST);
^
built/include/glGraphicsStateGuardian_src.I:502:32: error: ‘glDisable’ was not declared in this scope
glDisable(GL_STENCIL_TEST);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_blend(bool)’:
built/include/glGraphicsStateGuardian_src.I:519:24: error: ‘glEnable’ was not de
clared in this scope
glEnable(GL_BLEND);
^
built/include/glGraphicsStateGuardian_src.I:525:25: error: ‘glDisable’ was not declared in this scope
glDisable(GL_BLEND);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_depth_test(bool)’:
built/include/glGraphicsStateGuardian_src.I:542:29: error: ‘glEnable’ was not declared in this scope
glEnable(GL_DEPTH_TEST);
^
built/include/glGraphicsStateGuardian_src.I:548:30: error: ‘glDisable’ was not declared in this scope
glDisable(GL_DEPTH_TEST);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_polygon_offset(bool)’:
built/include/glGraphicsStateGuardian_src.I:615:38: error: ‘glEnable’ was not declared in this scope
glEnable(GL_POLYGON_OFFSET_FILL);
^
built/include/glGraphicsStateGuardian_src.I:623:39: error: ‘glDisable’ was not declared in this scope
glDisable(GL_POLYGON_OFFSET_FILL);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::set_color_write_mask(int)’:
built/include/glGraphicsStateGuardian_src.I:640:56: error: ‘glColorMask’ was not
declared in this scope
(mask & ColorWriteAttrib::C_alpha) != 0);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::clear_color_write_mask()’:
built/include/glGraphicsStateGuardian_src.I:651:51: error: ‘glColorMask’ was not declared in this scope
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::call_glTexParameterfv(GLenum, GLenum, const LVecBase4&)’:
built/include/glGraphicsStateGuardian_src.I:768:51: error: ‘glTexParameterfv’ was not declared in this scope
glTexParameterfv(target, pname, value.get_data());
^
Storing dependency cache.
Elapsed Time: 1 hours 34 min
The following command returned a non-zero value: g++ -std=gnu++0x -ftemplate-depth-70 -fPIC -c -o built/tmp/p3gles2gsg_config_gles2gsg.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/eigen3 -DOPENGLES_2= -Ipanda/src/gles2gsg -Ipanda/src/glstuf
f -fvisibility=hidden -pthread -fno-exceptions -fno-strict-aliasing -ffast-math -fno-stack-protector -fno-finite-math-only -O2 -DBUILDING_PANDAGLES2 panda/src/gles2gsg/config_gles2gsg.cxx
For reference this is the build command I used:
sudo makepanda/makepanda.py --everything --installer --no-sse2 --use-neon --no-gl
I used no-gl because I feared it would try to use OpenGL to render and there is only a Mesa software rasterizer on the system for opengl. Only OpenGL ES 1 & 2 is hardware accelerated. I don’t think that has anything to due with this scope issue though. For reference the full build log is here:
sudo makepanda/makepanda.py --everything --installer --no-sse2 --use-neon --no-gl
Version: 1.10.0
Using Python 2.7
Target arch: armv7l
WARNING: Could not locate thirdparty package artoolkit, excluding from build
WARNING: Could not locate thirdparty package fcollada, excluding from build
WARNING: Could not locate thirdparty package assimp, excluding from build
WARNING: Could not locate thirdparty package ffmpeg, excluding from build
WARNING: Could not locate thirdparty package swscale, excluding from build
WARNING: Could not locate thirdparty package swresample, excluding from build
WARNING: Could not locate thirdparty package fftw, excluding from build
WARNING: Could not locate thirdparty package fmodex, excluding from build
WARNING: Could not locate thirdparty package nvidiacg, excluding from build
WARNING: Could not locate thirdparty package squish, excluding from build
WARNING: Could not locate thirdparty package openexr, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
WARNING: Could not locate thirdparty package opencv, excluding from build
WARNING: Could not locate thirdparty package rocket, excluding from build
Generating dependencies...
[ 0%] Building C++ object built/tmp/p3dtoolbase_composite1.o
[ 0%] Building C++ object built/tmp/p3dtoolbase_composite2.o
[ 0%] Building C object built/tmp/p3dtoolbase_lookup3.o
[ 0%] Building C++ object built/tmp/p3dtoolbase_indent.o
[ 0%] Building C++ object built/tmp/p3dtoolutil_composite1.o
[ 0%] Building C++ object built/tmp/p3dtoolutil_composite2.o
[ 1%] Linking dynamic library built/lib/libp3dtool.so
built/tmp/p3dtoolutil_composite1.o: In function `Filename::temporary(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Filename::Type)':
p3dtoolutil_composite1.cxx:(.text+0x2d0a): warning: the use of `tempnam' is dangerous, better use `mkstemp'
[ 1%] Building Bison object built/tmp/p3cppParser_cppBison.o
[ 1%] Building C++ object built/tmp/p3cppParser_composite1.o
[ 2%] Building C++ object built/tmp/p3cppParser_composite2.o
[ 2%] Linking static library built/tmp/libp3cppParser.a
[ 2%] Building C++ object built/tmp/p3prc_composite1.o
[ 2%] Building C++ object built/tmp/p3prc_composite2.o
[ 2%] Building C++ object built/tmp/p3dconfig_composite1.o
[ 3%] Linking dynamic library built/lib/libp3dtoolconfig.so
[ 3%] Building C++ object built/tmp/p3interrogatedb_composite1.o
[ 3%] Building C++ object built/tmp/p3interrogatedb_composite2.o
[ 3%] Linking dynamic library built/lib/libp3interrogatedb.so
[ 4%] Building C++ object built/tmp/interrogatedb_pydtool.o
[ 4%] Linking dynamic library built/panda3d/interrogatedb.so
[ 4%] Building C++ object built/tmp/p3pystub_pystub.o
[ 4%] Linking static library built/lib/libp3pystub.a
ar: `u' modifier ignored since `D' is the default (see `U')
[ 4%] Building C++ object built/tmp/interrogate_composite1.o
[ 5%] Building C++ object built/tmp/interrogate_composite2.o
[ 5%] Linking executable built/bin/interrogate
[ 5%] Building C++ object built/tmp/interrogate_module_interrogate_module.o
[ 5%] Linking executable built/bin/interrogate_module
[ 5%] Building C++ object built/tmp/parse_file_parse_file.o
[ 5%] Linking executable built/bin/parse_file
[ 6%] Building C++ object built/tmp/make-prc-key_makePrcKey.o
[ 6%] Linking executable built/bin/make-prc-key
[ 6%] Building C++ object built/tmp/test_interrogate_test_interrogate.o
[ 6%] Linking executable built/bin/test_interrogate
[ 6%] Building C++ object built/tmp/p3pandabase_pandabase.o
[ 7%] Building C++ object built/tmp/p3express_composite1.o
[ 7%] Building C++ object built/tmp/p3express_composite2.o
[ 7%] Building Interrogate database built/pandac/input/libp3express.in
[ 7%] Building C++ object built/tmp/libp3express_igate.o
[ 7%] Building C++ object built/tmp/p3express_ext_composite.o
[ 8%] Building C++ object built/tmp/p3downloader_composite1.o
[ 8%] Building C++ object built/tmp/p3downloader_composite2.o
[ 8%] Building Interrogate database built/pandac/input/libp3downloader.in
[ 8%] Building C++ object built/tmp/libp3downloader_igate.o
[ 8%] Building C++ object built/tmp/p3downloader_stringStream_ext.o
[ 9%] Building C++ object built/tmp/pandaexpress_pandaexpress.o
[ 9%] Linking dynamic library built/lib/libpandaexpress.so
[ 9%] Building C++ object built/tmp/p3pipeline_composite1.o
[ 9%] Building C++ object built/tmp/p3pipeline_composite2.o
[ 9%] Building C object built/tmp/p3pipeline_contextSwitch.o
[ 10%] Building Interrogate database built/pandac/input/libp3pipeline.i
[ 10%] Building C++ object built/tmp/libp3pipeline_igate.o
[ 10%] Building C++ object built/tmp/p3pipeline_pythonThread.o
[ 10%] Building C++ object built/tmp/p3linmath_composite1.o
[ 10%] Building C++ object built/tmp/p3linmath_composite2.o
[ 10%] Building Interrogate database built/pandac/input/libp3linmath.in
[ 10%] Building C++ object built/tmp/libp3linmath_igate.o
[ 11%] Building C++ object built/tmp/p3putil_composite1.o
[ 11%] Building C++ object built/tmp/p3putil_composite2.o
[ 11%] Building Interrogate database built/pandac/input/libp3putil.in
Attempt to define invalid type Type (subtype 18)
[ 11%] Building C++ object built/tmp/libp3putil_igate.o
[ 12%] Building C++ object built/tmp/p3putil_ext_composite.o
[ 12%] Building C++ object built/tmp/p3audio_composite1.o
[ 12%] Building Interrogate database built/pandac/input/libp3audio.in
[ 12%] Building C++ object built/tmp/libp3audio_igate.o
[ 12%] Building C++ object built/tmp/p3event_composite1.o
[ 13%] Building C++ object built/tmp/p3event_composite2.o
[ 13%] Building C++ object built/tmp/p3event_pythonTask.o
[ 13%] Building Interrogate database built/pandac/input/libp3event.in
[ 13%] Building C++ object built/tmp/libp3event_igate.o
[ 13%] Building C++ object built/tmp/p3mathutil_composite1.o
[ 14%] Building C++ object built/tmp/p3mathutil_composite2.o
[ 14%] Building Interrogate database built/pandac/input/libp3mathutil.in
[ 14%] Building C++ object built/tmp/libp3mathutil_igate.o
[ 14%] Building C++ object built/tmp/p3gsgbase_composite1.o
[ 14%] Building Interrogate database built/pandac/input/libp3gsgbase.in
[ 14%] Building C++ object built/tmp/libp3gsgbase_igate.o
[ 15%] Building C++ object built/tmp/p3pnmimage_composite1.o
[ 15%] Building C++ object built/tmp/p3pnmimage_composite2.o
[ 15%] Building C++ object built/tmp/p3pnmimage_convert_srgb_sse2.o
[ 15%] Building Interrogate database built/pandac/input/libp3pnmimage.in
[ 15%] Building C++ object built/tmp/libp3pnmimage_igate.o
[ 16%] Building C++ object built/tmp/p3pnmimage_pfmFile_ext.o
[ 16%] Building C++ object built/tmp/p3nativenet_composite1.o
[ 16%] Building Interrogate database built/pandac/input/libp3nativenet.in
[ 16%] Building C++ object built/tmp/libp3nativenet_igate.o
[ 16%] Building C++ object built/tmp/p3net_composite1.o
[ 17%] Building C++ object built/tmp/p3net_composite2.o
[ 17%] Building Interrogate database built/pandac/input/libp3net.in
[ 17%] Building C++ object built/tmp/libp3net_igate.o
[ 17%] Building C++ object built/tmp/p3pstatclient_composite1.o
[ 17%] Building C++ object built/tmp/p3pstatclient_composite2.o
[ 18%] Building Interrogate database built/pandac/input/libp3pstatclient.in
[ 18%] Building C++ object built/tmp/libp3pstatclient_igate.o
[ 18%] Building C++ object built/tmp/p3gobj_composite1.o
[ 18%] Building C++ object built/tmp/p3gobj_composite2.o
[ 18%] Building Interrogate database built/pandac/input/libp3gobj.in
[ 18%] Building C++ object built/tmp/libp3gobj_igate.o
[ 19%] Building C++ object built/tmp/p3gobj_ext_composite.o
[ 19%] Building C++ object built/tmp/p3pgraphnodes_composite1.o
[ 19%] Building C++ object built/tmp/p3pgraphnodes_composite2.o
[ 19%] Building Interrogate database built/pandac/input/libp3pgraphnodes.in
[ 19%] Building C++ object built/tmp/libp3pgraphnodes_igate.o
[ 20%] Building C++ object built/tmp/p3pgraph_nodePath.o
[ 20%] Building C++ object built/tmp/p3pgraph_composite1.o
[ 20%] Building C++ object built/tmp/p3pgraph_composite2.o
[ 20%] Building C++ object built/tmp/p3pgraph_composite3.o
[ 21%] Building C++ object built/tmp/p3pgraph_composite4.o
[ 21%] Building Interrogate database built/pandac/input/libp3pgraph.in
Invalid scope: ::Extension< PandaNode >::PythonTagDataImpl::~PythonTagDataImpl
[ 21%] Building C++ object built/tmp/libp3pgraph_igate.o
[ 21%] Building C++ object built/tmp/p3pgraph_ext_composite.o
[ 21%] Building C++ object built/tmp/p3cull_composite1.o
[ 21%] Building C++ object built/tmp/p3cull_composite2.o
[ 22%] Building Interrogate database built/pandac/input/libp3cull.in
[ 22%] Building C++ object built/tmp/libp3cull_igate.o
[ 22%] Building C++ object built/tmp/p3chan_composite1.o
[ 22%] Building C++ object built/tmp/p3chan_composite2.o
[ 22%] Building Interrogate database built/pandac/input/libp3chan.in
[ 22%] Building C++ object built/tmp/libp3chan_igate.o
[ 23%] Building C++ object built/tmp/p3char_composite1.o
[ 23%] Building C++ object built/tmp/p3char_composite2.o
[ 23%] Building Interrogate database built/pandac/input/libp3char.in
[ 23%] Building C++ object built/tmp/libp3char_igate.o
[ 24%] Building C++ object built/tmp/p3dgraph_composite1.o
[ 24%] Building C++ object built/tmp/p3dgraph_composite2.o
[ 24%] Building Interrogate database built/pandac/input/libp3dgraph.in
[ 24%] Building C++ object built/tmp/libp3dgraph_igate.o
[ 24%] Building C++ object built/tmp/p3display_composite1.o
[ 25%] Building C++ object built/tmp/p3display_composite2.o
[ 25%] Building Interrogate database built/pandac/input/libp3display.in
[ 25%] Building C++ object built/tmp/libp3display_igate.o
[ 25%] Building C++ object built/tmp/p3display_graphicsStateGuardian_ext.o
[ 25%] Building C++ object built/tmp/p3display_graphicsWindow_ext.o
[ 26%] Building C++ object built/tmp/p3display_pythonGraphicsWindowProc.o
[ 26%] Building C++ object built/tmp/p3device_composite1.o
[ 26%] Building C++ object built/tmp/p3device_composite2.o
[ 26%] Building Interrogate database built/pandac/input/libp3device.in
[ 26%] Building C++ object built/tmp/libp3device_igate.o
[ 26%] Building C++ object built/tmp/p3pnmtext_composite1.o
[ 27%] Building Interrogate database built/pandac/input/libp3pnmtext.in
[ 27%] Building C++ object built/tmp/libp3pnmtext_igate.o
[ 27%] Building C++ object built/tmp/p3text_composite1.o
[ 27%] Building C++ object built/tmp/p3text_composite2.o
[ 27%] Building Interrogate database built/pandac/input/libp3text.in
[ 27%] Building C++ object built/tmp/libp3text_igate.o
[ 28%] Building C++ object built/tmp/p3movies_composite1.o
[ 28%] Building Interrogate database built/pandac/input/libp3movies.in
[ 28%] Building C++ object built/tmp/libp3movies_igate.o
[ 28%] Building C++ object built/tmp/p3grutil_multitexReducer.o
[ 29%] Building C++ object built/tmp/p3grutil_composite1.o
[ 29%] Building C++ object built/tmp/p3grutil_composite2.o
[ 29%] Building Interrogate database built/pandac/input/libp3grutil.in
[ 29%] Building C++ object built/tmp/libp3grutil_igate.o
[ 29%] Building C++ object built/tmp/p3tform_composite1.o
[ 30%] Building C++ object built/tmp/p3tform_composite2.o
[ 30%] Building Interrogate database built/pandac/input/libp3tform.in
[ 30%] Building C++ object built/tmp/libp3tform_igate.o
[ 30%] Building C++ object built/tmp/p3collide_composite1.o
[ 30%] Building C++ object built/tmp/p3collide_composite2.o
[ 31%] Building Interrogate database built/pandac/input/libp3collide.in
[ 31%] Building C++ object built/tmp/libp3collide_igate.o
[ 31%] Building C++ object built/tmp/p3parametrics_composite1.o
[ 31%] Building C++ object built/tmp/p3parametrics_composite2.o
[ 31%] Building Interrogate database built/pandac/input/libp3parametrics.in
[ 31%] Building C++ object built/tmp/libp3parametrics_igate.o
[ 32%] Building C++ object built/tmp/p3pgui_composite1.o
[ 32%] Building C++ object built/tmp/p3pgui_composite2.o
[ 32%] Building Interrogate database built/pandac/input/libp3pgui.in
[ 32%] Building C++ object built/tmp/libp3pgui_igate.o
[ 32%] Building C++ object built/tmp/p3pnmimagetypes_composite1.o
[ 33%] Building C++ object built/tmp/p3pnmimagetypes_composite2.o
[ 33%] Building C++ object built/tmp/p3recorder_composite1.o
[ 33%] Building C++ object built/tmp/p3recorder_composite2.o
[ 33%] Building Interrogate database built/pandac/input/libp3recorder.in
[ 33%] Building C++ object built/tmp/libp3recorder_igate.o
[ 34%] Building C++ object built/tmp/p3dxml_composite1.o
[ 34%] Building Interrogate database built/pandac/input/libp3dxml.in
[ 34%] Building C++ object built/tmp/libp3dxml_igate.o
[ 35%] Building C++ object built/tmp/panda_panda.o
[ 35%] Linking dynamic library built/lib/libpanda.so
[ 35%] Building Interrogate object built/tmp/core_module.o
Referencing Library libp3downloader
Referencing Library libp3express
Referencing Library libp3recorder
Referencing Library libp3pgraphnodes
Referencing Library libp3pgraph
Referencing Library libp3grutil
Referencing Library libp3chan
Referencing Library libp3pstatclient
Referencing Library libp3char
Referencing Library libp3collide
Referencing Library libp3device
Referencing Library libp3dgraph
Referencing Library libp3display
Referencing Library libp3pipeline
Referencing Library libp3event
Referencing Library libp3gobj
Referencing Library libp3gsgbase
Referencing Library libp3linmath
Referencing Library libp3mathutil
Referencing Library libp3parametrics
Referencing Library libp3pnmimage
Referencing Library libp3text
Referencing Library libp3tform
Referencing Library libp3putil
Referencing Library libp3audio
Referencing Library libp3nativenet
Referencing Library libp3net
Referencing Library libp3pgui
Referencing Library libp3movies
Referencing Library libp3dxml
Referencing Library libp3pnmtext
[ 35%] Linking dynamic library built/panda3d/core.so
[ 35%] Building C++ object built/tmp/p3vision_composite1.o
[ 36%] Linking dynamic library built/lib/libp3vision.so
[ 36%] Building Interrogate database built/pandac/input/libp3vision.in
[ 36%] Building C++ object built/tmp/libp3vision_igate.o
[ 36%] Building Interrogate object built/tmp/vision_module.o
Referencing Library libp3vision
[ 36%] Linking dynamic library built/panda3d/vision.so
[ 36%] Building C++ object built/tmp/p3skel_composite1.o
[ 37%] Building Interrogate database built/pandac/input/libp3skel.in
[ 37%] Building C++ object built/tmp/libp3skel_igate.o
[ 37%] Linking dynamic library built/lib/libpandaskel.so
[ 37%] Building Interrogate object built/tmp/skel_module.o
Referencing Library libp3skel
[ 37%] Linking dynamic library built/panda3d/skel.so
[ 38%] Building C++ object built/tmp/p3distort_composite1.o
[ 38%] Building Interrogate database built/pandac/input/libp3distort.in
[ 38%] Building C++ object built/tmp/libp3distort_igate.o
[ 38%] Building C++ object built/tmp/pandafx_pandafx.o
[ 38%] Linking dynamic library built/lib/libpandafx.so
[ 39%] Building Interrogate object built/tmp/fx_module.o
Referencing Library libp3distort
[ 39%] Linking dynamic library built/panda3d/fx.so
[ 39%] Building C++ object built/tmp/openal_audio_openal_audio_composite1.o
[ 39%] Linking dynamic library built/lib/libp3openal_audio.so
[ 39%] Building C++ object built/tmp/apply_patch_apply_patch.o
[ 40%] Linking executable built/bin/apply_patch
[ 40%] Building C++ object built/tmp/build_patch_build_patch.o
[ 40%] Linking executable built/bin/build_patch
[ 40%] Building C++ object built/tmp/check_adler_check_adler.o
[ 40%] Linking executable built/bin/check_adler
[ 41%] Building C++ object built/tmp/check_crc_check_crc.o
[ 41%] Linking executable built/bin/check_crc
[ 41%] Building C++ object built/tmp/check_md5_check_md5.o
[ 41%] Linking executable built/bin/check_md5
[ 41%] Building C++ object built/tmp/pdecrypt_pdecrypt.o
[ 42%] Linking executable built/bin/pdecrypt
[ 42%] Building C++ object built/tmp/pencrypt_pencrypt.o
[ 42%] Linking executable built/bin/pencrypt
[ 42%] Building C++ object built/tmp/show_ddb_show_ddb.o
[ 42%] Linking executable built/bin/show_ddb
[ 42%] Building C++ object built/tmp/multify_multify.o
[ 43%] Linking executable built/bin/multify
[ 43%] Building C++ object built/tmp/pzip_pzip.o
[ 43%] Linking executable built/bin/pzip
[ 43%] Building C++ object built/tmp/punzip_punzip.o
[ 43%] Linking executable built/bin/punzip
[ 44%] Building Bison object built/tmp/p3egg_parser.o
[ 44%] Building Flex object built/tmp/p3egg_lexer.o
[ 44%] Building C++ object built/tmp/p3egg_composite1.o
[ 44%] Building C++ object built/tmp/p3egg_composite2.o
[ 45%] Building Interrogate database built/pandac/input/libp3egg.in
[ 45%] Building C++ object built/tmp/libp3egg_igate.o
[ 45%] Building C++ object built/tmp/p3egg_eggGroupNode_ext.o
[ 45%] Building C++ object built/tmp/p3egg2pg_composite1.o
[ 45%] Building C++ object built/tmp/p3egg2pg_composite2.o
[ 46%] Building Interrogate database built/pandac/input/libp3egg2pg.in
[ 46%] Building C++ object built/tmp/libp3egg2pg_igate.o
[ 46%] Building C++ object built/tmp/p3framework_composite1.o
[ 46%] Linking dynamic library built/lib/libp3framework.so
[ 46%] Building C++ object built/tmp/p3glesgsg_config_glesgsg.o
[ 47%] Building C++ object built/tmp/p3glesgsg_glesgsg.o
[ 47%] Building C++ object built/tmp/p3gles2gsg_config_gles2gsg.o
In file included from built/include/glTextureContext_src.h:94:0,
from built/include/glstuff_src.h:32,
from panda/src/gles2gsg/gles2gsg.h:249,
from panda/src/gles2gsg/config_gles2gsg.cxx:15:
built/include/glTextureContext_src.I: In constructor ‘GLES2TextureContext::GLES2TextureContext(GLES2GraphicsStateGuardian*, PreparedGraphicsObjects*, Texture*, int)’:
built/include/glTextureContext_src.I:24:27: error: ‘glGenTextures’ was not declared in this scope
glGenTextures(1, &_index);
^
In file included from built/include/glGraphicsStateGuardian_src.h:1120:0,
from built/include/glstuff_src.h:46,
from panda/src/gles2gsg/gles2gsg.h:249,
from panda/src/gles2gsg/config_gles2gsg.cxx:15:
built/include/glGraphicsStateGuardian_src.I: In member function ‘bool GLES2GraphicsStateGuardian::report_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:26:34: error: ‘glGetError’ was not declared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::report_my_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:44:36: error: ‘glGetError’ was not d
eclared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘bool GLES2GraphicsStateGuardian::clear_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:65:34: error: ‘glGetError’ was not declared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::clear_my_errors(int, const char*)’:
built/include/glGraphicsStateGuardian_src.I:85:36: error: ‘glGetError’ was not declared in this scope
GLenum error_code = glGetError();
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::maybe_gl_finish() const’:
built/include/glGraphicsStateGuardian_src.I:167:14: error: ‘glFinish’ was not declared in this scope
glFinish();
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::set_active_texture_stage(int)’:
built/include/glGraphicsStateGuardian_src.I:283:36: error: ‘glActiveTexture’ was not declared in this scope
glActiveTexture(GL_TEXTURE0 + i);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_stencil_test(bool)’:
built/include/glGraphicsStateGuardian_src.I:496:31: error: ‘glEnable’ was not declared in this scope
glEnable(GL_STENCIL_TEST);
^
built/include/glGraphicsStateGuardian_src.I:502:32: error: ‘glDisable’ was not declared in this scope
glDisable(GL_STENCIL_TEST);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_blend(bool)’:
built/include/glGraphicsStateGuardian_src.I:519:24: error: ‘glEnable’ was not de
clared in this scope
glEnable(GL_BLEND);
^
built/include/glGraphicsStateGuardian_src.I:525:25: error: ‘glDisable’ was not declared in this scope
glDisable(GL_BLEND);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_depth_test(bool)’:
built/include/glGraphicsStateGuardian_src.I:542:29: error: ‘glEnable’ was not declared in this scope
glEnable(GL_DEPTH_TEST);
^
built/include/glGraphicsStateGuardian_src.I:548:30: error: ‘glDisable’ was not declared in this scope
glDisable(GL_DEPTH_TEST);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::enable_polygon_offset(bool)’:
built/include/glGraphicsStateGuardian_src.I:615:38: error: ‘glEnable’ was not declared in this scope
glEnable(GL_POLYGON_OFFSET_FILL);
^
built/include/glGraphicsStateGuardian_src.I:623:39: error: ‘glDisable’ was not declared in this scope
glDisable(GL_POLYGON_OFFSET_FILL);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::set_color_write_mask(int)’:
built/include/glGraphicsStateGuardian_src.I:640:56: error: ‘glColorMask’ was not
declared in this scope
(mask & ColorWriteAttrib::C_alpha) != 0);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::clear_color_write_mask()’:
built/include/glGraphicsStateGuardian_src.I:651:51: error: ‘glColorMask’ was not declared in this scope
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
^
built/include/glGraphicsStateGuardian_src.I: In member function ‘void GLES2GraphicsStateGuardian::call_glTexParameterfv(GLenum, GLenum, const LVecBase4&)’:
built/include/glGraphicsStateGuardian_src.I:768:51: error: ‘glTexParameterfv’ was not declared in this scope
glTexParameterfv(target, pname, value.get_data());
^
Storing dependency cache.
Elapsed Time: 1 hours 34 min
The following command returned a non-zero value: g++ -std=gnu++0x -ftemplate-depth-70 -fPIC -c -o built/tmp/p3gles2gsg_config_gles2gsg.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/eigen3 -DOPENGLES_2= -Ipanda/src/gles2gsg -Ipanda/src/glstuf
f -fvisibility=hidden -pthread -fno-exceptions -fno-strict-aliasing -ffast-math -fno-stack-protector -fno-finite-math-only -O2 -DBUILDING_PANDAGLES2 panda/src/gles2gsg/config_gles2gsg.cxx
Any help I could get with this would be greatly appreciated. Thank you.