-
Notifications
You must be signed in to change notification settings - Fork 298
Open
Description
./waf configure -T release --use-togl=0 --togles
I am trying to build for armv7a, without OpenGL as not supported. But GLES is.
Still seems to fail at:
../togles/linuxwin/glentrypoints.cpp:47:10: fatal error: GL/glx.h: No such file or directory
47 | #include <GL/glx.h>
Build failed
Build failed
-> task in 'togl' failed with exit status 1:
{task 136932057378032: cxx glentrypoints.cpp -> glentrypoints.cpp.46.o}
['arm-webos-linux-gnueabi-g++', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-MMD', '-U_FORTIFY_SOURCE', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/cscd98/Developer/source-engine/lib/linux/arm/', '-pthread', '-fsigned-char', '-march=armv7-a', '-mfpu=neon-vfpv4', '-std=c++11', '-fpermissive', '-Wall', '-fdiagnostics-color=always', '-Wcast-align', '-Wuninitialized', '-Winit-self', '-Wstrict-aliasing', '-Wno-reorder', '-Wno-unknown-pragmas', '-Wno-unused-function', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unused-variable', '-faligned-new', '-fPIC', '-Itogles', '-I../togles', '-Ipublic', '-I../public', '-Ipublic/tier0', '-I../public/tier0', '-Ipublic/tier1', '-I../public/tier1', '-I../../../Toolchains/buildroot-nc4-craig/output/host/arm-webos-linux-gnueabi/sysroot/usr/include/SDL2', '-I../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DTOGLES', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNO_MEMOVERRIDE_NEW_DELETE=1', '-DNDEBUG', '-DGIT_COMMIT_HASH="2998568-dirty"', '-DCOMPILER_GCC=1', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '-DHAVE_FC=1', '-DHAVE_OPENAL=1', '-DHAVE_JPEG=1', '-DHAVE_PNG=1', '-DHAVE_CURL=1', '-DHAVE_ZLIB=1', '-DTOGL_DLL_EXPORT=1', '-Dstrncpy=use_Q_strncpy_instead', '-D_snprintf=use_Q_snprintf_instead', '../togles/linuxwin/glentrypoints.cpp', '-c', '-o/home/cscd98/Developer/source-engine/build/togles/linuxwin/glentrypoints.cpp.46.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64']
Also should wscript be edited so that the dx to gl abstraction files are included for a GLES build with GL disabled?:
if conf.env.GL or conf.options.TOGLES:
conf.env.append_unique('DEFINES', [
'DX_TO_GL_ABSTRACTION',
'GL_GLEXT_PROTOTYPES',
'BINK_VIDEO'
])
Otherwise you get:
Build failed
-> task in 'appframework' failed with exit status 1 (run with -v to display more information)
Metadata
Metadata
Assignees
Labels
No labels