Closed KenDickey closed 8 years ago
It should just work, try:
$ genie --gcc=linux-gcc gmake
$ make -C .build/projects/gmake-linux-gcc config=release
On Fri, 06 May 2016 16:47:44 -0700 Branimir Karadžić notifications@github.com wrote:
genie --gcc=linux-gcc gmake
And genie is available via ... ?
Thanks much, -KenD
On Fri, 06 May 2016 16:47:44 -0700 Branimir Karadžić notifications@github.com wrote:
It should just work, try:
$ genie --gcc=linux-gcc gmake
Ah! Found a binary under bx.
bx$ make ../bx/tools/bin/linux/genie vs2008 ../bx/tools/bin/linux/genie: 1: ../bx/tools/bin/linux/genie: ELF: not found ../bx/tools/bin/linux/genie: 3: ../bx/tools/bin/linux/genie: Syntax error: ")" unexpected make: *\ [all] Error 2
Is an arm binary available? I'm not running Intel.
Thanks much, -KenD
On Fri, 06 May 2016 16:47:44 -0700 Branimir Karadžić notifications@github.com wrote:
It should just work, try:
$ genie --gcc=linux-gcc gmake $ make -C .build/projects/gmake-linux-gcc config=release
Ah! Found genie. Got a bit further.
(trusty)kend@localhost:~/bgfx$ make -C .build/projects/gmake-linux config=release
make: Entering directory /home/kend/bgfx/.build/projects/gmake-linux' ==== Building example-common (release) ==== Creating obj/Release/example-common Creating obj/Release/example-common/examples/common/entry Creating obj/Release/example-common/examples/common/font Creating obj/Release/example-common/3rdparty/ib-compress Creating obj/Release/example-common/examples/common/nanovg Creating obj/Release/example-common/examples/common/debugdraw Creating obj/Release/example-common/examples/common/imgui Creating obj/Release/example-common/3rdparty/ocornut-imgui indexbufferdecompression.cpp g++: error: unrecognized command line option '-mfpmath=sse' g++: error: unrecognized command line option '-msse2' make[1]: *** [obj/Release/example-common/3rdparty/ib-compress/indexbufferdecompression.o] Error 1 make: *** [example-common] Error 2 make: Leaving directory
/home/kend/bgfx/.build/projects/gmake-linux'
(trusty)kend@localhost:~/bgfx$
Looks like some compiler flags, perhaps for linux arm7-a or ..hard-float or ??
Baby steps.. -KenD
Actually try linux-arm-gcc:
$ genie --gcc=linux-arm-gcc gmake
$ make -C .build/projects/gmake-linux-arm-gcc config=release
On Sat, 07 May 2016 08:39:58 -0700 Branimir Karadžić notifications@github.com wrote:
Actually try linux-arm-gcc:
$ genie --gcc=linux-arm-gcc gmake $ make -C .build/projects/gmake-linux-arm-gcc config=release
Ahhh! Much better!
Quick check shows about half the examples run.
Thank you!!! -KenD
Which Chromebook you have? Do you know what's GPU inside?
glxinfo | grep OpenGL
I haven't tried but it should be possible to build it with EGL/GLES2 instead of GLX/OpenGL, in case their drivers work better with GLES? But that's up to you if you want to thinker with it... :)
On Sat, 07 May 2016 14:38:31 -0700 Branimir Karadžić notifications@github.com wrote:
Which Chromebook you have? Do you know what's GPU inside?
glxinfo | grep OpenGL
The all but one examples work on a SAMSUNG Chromebook XE303c12 (Mali/Exynos).
Most examples die on an ACER Chromebook 13 (nVidea/Tegra K1).
Both machines under Crouton/Ubuntu.
Neither machine has glxinfo installed.
I haven't tried but it should be possible to build it with EGL/GLES2 instead of GLX/OpenGL, in case their drivers work better with GLES? But that's up to you if you want to thinker with it... :)
Now that the basics build I will star digging into the drivers. The SAMSUNG folks are more open than the ACER/nVidea w.r.t. drivers.
Thanks much for taking the time. Hard for a NOOB like me to experiment.
-KenD
On Sat, 7 May 2016 16:44:32 -0700 KenD Ken.Dickey@Whidbey.com wrote:
Both machines under Crouton/Ubuntu.
Oops. Sorry, the SAMSUNG is running Arch Linux Arm.
-KenD
This is probably just Linux driver issue, most of examples actually work on Tegra K1 Android tablet with GLES3.
Anyhow, it build on ARM Linux... so closing this issue.
On Sat, 07 May 2016 18:23:23 -0700 Branimir Karadžić notifications@github.com wrote:
This is probably just Linux driver issue, most of examples actually work on Tegra K1 Android tablet with GLES3.
Looks like it.
ACER/Tegra K1 under Ubuntu run w nanovg shows failure w texture(s) [attached].
How would I build w GLES?
Thanks, -KenD
(trusty)kend@localhost:~/Downloads/bgfx/examples/runtime$ gdb ../../.build/linux32_arm_gcc/bin/example-20-nanovgDebug
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../../.build/linux32_arm_gcc/bin/example-20-nanovgDebug...done.
(gdb) run
Starting program: /home/kend/Downloads/bgfx/.build/linux32_arm_gcc/bin/example-20-nanovgDebug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb6b43440 (LWP 8687)]
../../../src/bgfx.cpp (2436): BGFX Init...
../../../src/bgfx.cpp (1236): BGFX Creating rendering thread.
[New Thread 0xb3b2c440 (LWP 8688)]
../../../src/bgfx.cpp (1245): BGFX Running in multi-threaded mode
../../../src/bgfx_p.h (2113): BGFX render thread start
../../../src/glcontext_glx.cpp (78): BGFX GLX extensions:
../../../src/renderer_gl.cpp (1051): BGFX GLX_ARB_get_proc_address
../../../src/renderer_gl.cpp (1051): BGFX GLX_ARB_multisample
../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_import_context
../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_visual_info
../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_visual_rating
../../../src/renderer_gl.cpp (1051): BGFX GLX_MESA_copy_sub_buffer
../../../src/renderer_gl.cpp (1051): BGFX GLX_MESA_multithread_makecurrent
../../../src/renderer_gl.cpp (1051): BGFX GLX_OML_swap_method
../../../src/renderer_gl.cpp (1051): BGFX GLX_SGI_make_current_read
../../../src/renderer_gl.cpp (1051): BGFX GLX_SGIS_multisample
../../../src/renderer_gl.cpp (1051): BGFX GLX_SGIX_fbconfig
../../../src/renderer_gl.cpp (1051): BGFX GLX_SGIX_pbuffer
../../../src/renderer_gl.cpp (1051): BGFX GLX_EXT_texture_from_pixmap
../../../src/glcontext_glx.cpp (101): BGFX glX num configs 8
../../../src/glcontext_glx.cpp (108): BGFX ---
../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 3: 8, 8 ( 8)
../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 4: a, 8 ( 8)
../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 5: 9, 8 ( 8)
../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 6: c, 18 ( 18)
../../../src/glcontext_glx.cpp (122): BGFX glX 0/8 7: d, 8 ( 8)
../../../src/glcontext_glx.cpp (136): BGFX Best config 0.
../../../src/glcontext_glx.cpp (148): BGFX Create GL 2.1 context.
../../../src/glimports.h (226): BGFX 0xb6c0d079 glActiveTexture (glActiveTexture)
../../../src/glimports.h (227): BGFX 0xb6c0dc89 glAttachShader (glAttachShader)
../../../src/glimports.h (228): BGFX 0xb6c0da75 glBeginQuery (glBeginQuery)
../../../src/glimports.h (229): BGFX 0xb6c0da91 glBindBuffer (glBindBuffer)
../../../src/glimports.h (230): BGFX 0xb6c0e6f9 glBindBufferBase (glBindBufferBase)
../../../src/glimports.h (231): BGFX 0xb6c0e715 glBindBufferRange (glBindBufferRange)
../../../src/glimports.h (232): BGFX 0xb6c0e739 glBindFragDataLocation (glBindFragDataLocation)
../../../src/glimports.h (233): BGFX 0xb6c0f0d1 glBindFramebuffer (glBindFramebuffer)
../../../src/glimports.h (234): BGFX 0xb6c10575 glBindImageTexture (glBindImageTexture)
../../../src/glimports.h (235): BGFX 0xb6c0f0ed glBindRenderbuffer (glBindRenderbuffer)
../../../src/glimports.h (236): BGFX 0xb6c0f7dd glBindSampler (glBindSampler)
../../../src/glimports.h (237): BGFX 0xb6c0c7d1 glBindTexture (glBindTexture)
../../../src/glimports.h (238): BGFX 0xb6c0f3a5 glBindVertexArray (glBindVertexArray)
../../../src/glimports.h (239): BGFX 0xb6c0cb69 glBlendColor (glBlendColor)
../../../src/glimports.h (240): BGFX 0xb6c0cb85 glBlendEquation (glBlendEquation)
../../../src/glimports.h (241): BGFX (nil) glBlendEquationi (glBlendEquationi)
../../../src/glimports.h (242): BGFX 0xb6c0dcc1 glBlendEquationSeparate (glBlendEquationSeparate)
../../../src/glimports.h (243): BGFX (nil) glBlendEquationSeparatei (glBlendEquationSeparatei)
../../../src/glimports.h (244): BGFX 0xb6c0c071 glBlendFunc (glBlendFunc)
../../../src/glimports.h (245): BGFX (nil) glBlendFunci (glBlendFunci)
../../../src/glimports.h (246): BGFX 0xb6c0d615 glBlendFuncSeparate (glBlendFuncSeparate)
../../../src/glimports.h (247): BGFX (nil) glBlendFuncSeparatei (glBlendFuncSeparatei)
../../../src/glimports.h (248): BGFX 0xb6c0f109 glBlitFramebuffer (glBlitFramebuffer)
../../../src/glimports.h (249): BGFX 0xb6c0daad glBufferData (glBufferData)
../../../src/glimports.h (250): BGFX 0xb6c0dac9 glBufferSubData (glBufferSubData)
../../../src/glimports.h (251): BGFX 0xb6c0f141 glCheckFramebufferStatus (glCheckFramebufferStatus)
../../../src/glimports.h (252): BGFX 0xb6c0bc29 glClear (glClear)
../../../src/glimports.h (253): BGFX 0xb6c0e78d glClearBufferfv (glClearBufferfv)
../../../src/glimports.h (254): BGFX 0xb6c0bc7d glClearColor (glClearColor)
../../../src/glimports.h (255): BGFX 0xb6c0bc99 glClearStencil (glClearStencil)
../../../src/glimports.h (256): BGFX (nil) glClipControl (glClipControl)
../../../src/glimports.h (257): BGFX 0xb6c0bced glColorMask (glColorMask)
../../../src/glimports.h (258): BGFX 0xb6c0dcdd glCompileShader (glCompileShader)
../../../src/glimports.h (259): BGFX 0xb6c0d46d glCompressedTexImage2D (glCompressedTexImage2D)
../../../src/glimports.h (260): BGFX 0xb6c0d4fd glCompressedTexSubImage2D (glCompressedTexSubImage2D)
../../../src/glimports.h (261): BGFX 0xb6c0d49d glCompressedTexImage3D (glCompressedTexImage3D)
../../../src/glimports.h (262): BGFX 0xb6c0d531 glCompressedTexSubImage3D (glCompressedTexSubImage3D)
../../../src/glimports.h (263): BGFX (nil) glCopyImageSubData (glCopyImageSubData)
../../../src/glimports.h (264): BGFX 0xb6c0dcf9 glCreateProgram (glCreateProgram)
../../../src/glimports.h (265): BGFX 0xb6c0dd15 glCreateShader (glCreateShader)
../../../src/glimports.h (266): BGFX 0xb6c0b669 glCullFace (glCullFace)
../../../src/glimports.h (267): BGFX 0xb6c10c09 glDebugMessageControl (glDebugMessageControl)
../../../src/glimports.h (268): BGFX 0xb6c10c31 glDebugMessageInsert (glDebugMessageInsert)
../../../src/glimports.h (269): BGFX 0xb6c10bed glDebugMessageCallback (glDebugMessageCallback)
../../../src/glimports.h (270): BGFX 0xb6c0dae5 glDeleteBuffers (glDeleteBuffers)
../../../src/glimports.h (271): BGFX 0xb6c0f15d glDeleteFramebuffers (glDeleteFramebuffers)
../../../src/glimports.h (272): BGFX 0xb6c0dd31 glDeleteProgram (glDeleteProgram)
../../../src/glimports.h (273): BGFX 0xb6c0db01 glDeleteQueries (glDeleteQueries)
../../../src/glimports.h (274): BGFX 0xb6c0f179 glDeleteRenderbuffers (glDeleteRenderbuffers)
../../../src/glimports.h (275): BGFX 0xb6c0f7f9 glDeleteSamplers (glDeleteSamplers)
../../../src/glimports.h (276): BGFX 0xb6c0dd4d glDeleteShader (glDeleteShader)
../../../src/glimports.h (277): BGFX 0xb6c0ca45 glDeleteTextures (glDeleteTextures)
../../../src/glimports.h (278): BGFX 0xb6c0f3c1 glDeleteVertexArrays (glDeleteVertexArrays)
../../../src/glimports.h (279): BGFX 0xb6c0c0e1 glDepthFunc (glDepthFunc)
../../../src/glimports.h (280): BGFX 0xb6c0bd09 glDepthMask (glDepthMask)
../../../src/glimports.h (281): BGFX 0xb6c0dd69 glDetachShader (glDetachShader)
../../../src/glimports.h (282): BGFX 0xb6c0bd5d glDisable (glDisable)
../../../src/glimports.h (283): BGFX 0xb6c0e805 glDisablei (glDisablei)
../../../src/glimports.h (284): BGFX 0xb6c0dd85 glDisableVertexAttribArray (glDisableVertexAttribArray)
../../../src/glimports.h (285): BGFX (nil) glDispatchCompute (glDispatchCompute)
../../../src/glimports.h (286): BGFX (nil) glDispatchComputeIndirect (glDispatchComputeIndirect)
../../../src/glimports.h (287): BGFX 0xb6c0c825 glDrawArrays (glDrawArrays)
../../../src/glimports.h (288): BGFX 0xb6c0fde1 glDrawArraysIndirect (glDrawArraysIndirect)
../../../src/glimports.h (289): BGFX 0xb6c0f091 glDrawArraysInstanced (glDrawArraysInstanced)
../../../src/glimports.h (290): BGFX 0xb6c0bc0d glDrawBuffer (glDrawBuffer)
../../../src/glimports.h (291): BGFX 0xb6c0dda1 glDrawBuffers (glDrawBuffers)
../../../src/glimports.h (292): BGFX 0xb6c0c841 glDrawElements (glDrawElements)
../../../src/glimports.h (293): BGFX 0xb6c0fdfd glDrawElementsIndirect (glDrawElementsIndirect)
../../../src/glimports.h (294): BGFX 0xb6c0f0ad glDrawElementsInstanced (glDrawElementsInstanced)
../../../src/glimports.h (295): BGFX 0xb6c0bd79 glEnable (glEnable)
../../../src/glimports.h (296): BGFX 0xb6c0e821 glEnablei (glEnablei)
../../../src/glimports.h (297): BGFX 0xb6c0ddbd glEnableVertexAttribArray (glEnableVertexAttribArray)
../../../src/glimports.h (298): BGFX 0xb6c0db1d glEndQuery (glEndQuery)
../../../src/glimports.h (299): BGFX 0xb6c0bd95 glFinish (glFinish)
../../../src/glimports.h (300): BGFX 0xb6c0bdb1 glFlush (glFlush)
../../../src/glimports.h (301): BGFX 0xb6c0f195 glFramebufferRenderbuffer (glFramebufferRenderbuffer)
../../../src/glimports.h (302): BGFX 0xb6c0f1d5 glFramebufferTexture2D (glFramebufferTexture2D)
../../../src/glimports.h (303): BGFX 0xb6c0db39 glGenBuffers (glGenBuffers)
../../../src/glimports.h (304): BGFX 0xb6c0f245 glGenFramebuffers (glGenFramebuffers)
../../../src/glimports.h (305): BGFX 0xb6c0f261 glGenRenderbuffers (glGenRenderbuffers)
../../../src/glimports.h (306): BGFX 0xb6c0db55 glGenQueries (glGenQueries)
../../../src/glimports.h (307): BGFX 0xb6c0f815 glGenSamplers (glGenSamplers)
../../../src/glimports.h (308): BGFX 0xb6c0ca61 glGenTextures (glGenTextures)
../../../src/glimports.h (309): BGFX 0xb6c0f3dd glGenVertexArrays (glGenVertexArrays)
../../../src/glimports.h (310): BGFX 0xb6c0ddd9 glGetActiveAttrib (glGetActiveAttrib)
../../../src/glimports.h (311): BGFX 0xb6c0de4d glGetAttribLocation (glGetAttribLocation)
../../../src/glimports.h (312): BGFX 0xb6c0de05 glGetActiveUniform (glGetActiveUniform)
../../../src/glimports.h (313): BGFX 0xb6c0d56d glGetCompressedTexImage (glGetCompressedTexImage)
../../../src/glimports.h (314): BGFX 0xb6c10c59 glGetDebugMessageLog (glGetDebugMessageLog)
../../../src/glimports.h (315): BGFX 0xb6c0c2c1 glGetError (glGetError)
../../../src/glimports.h (316): BGFX 0xb6c0c2dd glGetFloatv (glGetFloatv)
../../../src/glimports.h (317): BGFX 0xb6c0c2f9 glGetIntegerv (glGetIntegerv)
../../../src/glimports.h (318): BGFX 0xb6c10535 glGetInternalformativ (glGetInternalformativ)
../../../src/glimports.h (319): BGFX (nil) glGetInternalformati64v (glGetInternalformati64v)
../../../src/glimports.h (320): BGFX 0xb6c10c89 glGetObjectLabel (glGetObjectLabel)
../../../src/glimports.h (321): BGFX 0xb6c10cad glGetObjectPtrLabel (glGetObjectPtrLabel)
../../../src/glimports.h (322): BGFX 0xb6c0ca7d glGetPointerv (glGetPointerv)
../../../src/glimports.h (323): BGFX 0xb6c0ffe1 glGetProgramBinary (glGetProgramBinary)
../../../src/glimports.h (324): BGFX 0xb6c0de85 glGetProgramiv (glGetProgramiv)
../../../src/glimports.h (325): BGFX 0xb6c0de69 glGetProgramInfoLog (glGetProgramInfoLog)
../../../src/glimports.h (326): BGFX (nil) glGetProgramInterfaceiv (glGetProgramInterfaceiv)
../../../src/glimports.h (327): BGFX (nil) glGetProgramResourceIndex (glGetProgramResourceIndex)
../../../src/glimports.h (328): BGFX (nil) glGetProgramResourceiv (glGetProgramResourceiv)
../../../src/glimports.h (329): BGFX (nil) glGetProgramResourceName (glGetProgramResourceName)
../../../src/glimports.h (330): BGFX (nil) glGetProgramResourceLocation (glGetProgramResourceLocation)
../../../src/glimports.h (331): BGFX (nil) glGetProgramResourceLocationIndex (glGetProgramResourceLocationIndex)
../../../src/glimports.h (332): BGFX 0xb6c0c4f1 glGetTexImage (glGetTexImage)
../../../src/glimports.h (333): BGFX 0xb6c0dbfd glGetQueryiv (glGetQueryiv)
../../../src/glimports.h (334): BGFX 0xb6c0dbc5 glGetQueryObjectiv (glGetQueryObjectiv)
../../../src/glimports.h (335): BGFX 0xb6c0f965 glGetQueryObjecti64v (glGetQueryObjecti64v)
../../../src/glimports.h (336): BGFX 0xb6c0dbe1 glGetQueryObjectuiv (glGetQueryObjectuiv)
../../../src/glimports.h (337): BGFX 0xb6c0f981 glGetQueryObjectui64v (glGetQueryObjectui64v)
../../../src/glimports.h (338): BGFX 0xb6c0ded9 glGetShaderiv (glGetShaderiv)
../../../src/glimports.h (339): BGFX 0xb6c0dea1 glGetShaderInfoLog (glGetShaderInfoLog)
../../../src/glimports.h (340): BGFX 0xb6c0c449 glGetString (glGetString)
../../../src/glimports.h (341): BGFX 0xb6c0def5 glGetUniformLocation (glGetUniformLocation)
../../../src/glimports.h (343): BGFX 0xb6c0e8c9 glGetStringi (glGetStringi)
../../../src/glimports.h (344): BGFX 0xb6c108c1 glInvalidateFramebuffer (glInvalidateFramebuffer)
../../../src/glimports.h (346): BGFX 0xb6c0dff1 glLinkProgram (glLinkProgram)
../../../src/glimports.h (347): BGFX 0xb6c105a1 glMemoryBarrier (glMemoryBarrier)
../../../src/glimports.h (348): BGFX 0xb6c107cd glMultiDrawArraysIndirect (glMultiDrawArraysIndirect)
../../../src/glimports.h (349): BGFX 0xb6c107e9 glMultiDrawElementsIndirect (glMultiDrawElementsIndirect)
../../../src/glimports.h (350): BGFX 0xb6c10cc9 glObjectLabel (glObjectLabel)
../../../src/glimports.h (351): BGFX 0xb6c10ce5 glObjectPtrLabel (glObjectPtrLabel)
../../../src/glimports.h (352): BGFX 0xb6c0c16d glPixelStorei (glPixelStorei)
../../../src/glimports.h (353): BGFX 0xb6c10d01 glPopDebugGroup (glPopDebugGroup)
../../../src/glimports.h (354): BGFX 0xb6c10005 glProgramBinary (glProgramBinary)
../../../src/glimports.h (355): BGFX 0xb6c10021 glProgramParameteri (glProgramParameteri)
../../../src/glimports.h (356): BGFX 0xb6c10d1d glPushDebugGroup (glPushDebugGroup)
../../../src/glimports.h (357): BGFX 0xb6c0f99d glQueryCounter (glQueryCounter)
../../../src/glimports.h (358): BGFX 0xb6c0c1dd glReadBuffer (glReadBuffer)
../../../src/glimports.h (359): BGFX 0xb6c0c21d glReadPixels (glReadPixels)
../../../src/glimports.h (360): BGFX 0xb6c0f309 glRenderbufferStorage (glRenderbufferStorage)
../../../src/glimports.h (361): BGFX 0xb6c0f325 glRenderbufferStorageMultisample (glRenderbufferStorageMultisample)
../../../src/glimports.h (362): BGFX 0xb6c0f6b9 glSampleMaski (glSampleMaski)
../../../src/glimports.h (363): BGFX 0xb6c0f92d glSamplerParameteri (glSamplerParameteri)
../../../src/glimports.h (364): BGFX 0xb6c0f8f5 glSamplerParameterf (glSamplerParameterf)
../../../src/glimports.h (365): BGFX 0xb6c0f911 glSamplerParameterfv (glSamplerParameterfv)
../../../src/glimports.h (366): BGFX 0xb6c0b909 glScissor (glScissor)
../../../src/glimports.h (367): BGFX 0xb6c0e00d glShaderSource (glShaderSource)
../../../src/glimports.h (368): BGFX 0xb6c0c0a9 glStencilFunc (glStencilFunc)
../../../src/glimports.h (369): BGFX 0xb6c0e029 glStencilFuncSeparate (glStencilFuncSeparate)
../../../src/glimports.h (370): BGFX 0xb6c0bcd1 glStencilMask (glStencilMask)
../../../src/glimports.h (371): BGFX 0xb6c0e045 glStencilMaskSeparate (glStencilMaskSeparate)
../../../src/glimports.h (372): BGFX 0xb6c0c0c5 glStencilOp (glStencilOp)
../../../src/glimports.h (373): BGFX 0xb6c0e061 glStencilOpSeparate (glStencilOpSeparate)
../../../src/glimports.h (374): BGFX 0xb6c0b9e1 glTexImage2D (glTexImage2D)
../../../src/glimports.h (375): BGFX 0xb6c0f6d5 glTexImage2DMultisample (glTexImage2DMultisample)
../../../src/glimports.h (376): BGFX 0xb6c0cfd1 glTexImage3D (glTexImage3D)
../../../src/glimports.h (377): BGFX 0xb6c0f6fd glTexImage3DMultisample (glTexImage3DMultisample)
../../../src/glimports.h (378): BGFX 0xb6c0b979 glTexParameteri (glTexParameteri)
../../../src/glimports.h (379): BGFX 0xb6c0b995 glTexParameteriv (glTexParameteriv)
../../../src/glimports.h (380): BGFX 0xb6c0b941 glTexParameterf (glTexParameterf)
../../../src/glimports.h (381): BGFX 0xb6c0b95d glTexParameterfv (glTexParameterfv)
../../../src/glimports.h (382): BGFX 0xb6c105d9 glTexStorage2D (glTexStorage2D)
../../../src/glimports.h (383): BGFX 0xb6c105fd glTexStorage3D (glTexStorage3D)
../../../src/glimports.h (384): BGFX 0xb6c0cafd glTexSubImage2D (glTexSubImage2D)
../../../src/glimports.h (385): BGFX 0xb6c0d009 glTexSubImage3D (glTexSubImage3D)
../../../src/glimports.h (386): BGFX 0xb6c0e0b5 glUniform1i (glUniform1i)
../../../src/glimports.h (387): BGFX 0xb6c0e0d1 glUniform1iv (glUniform1iv)
../../../src/glimports.h (388): BGFX 0xb6c0e07d glUniform1f (glUniform1f)
../../../src/glimports.h (389): BGFX 0xb6c0e099 glUniform1fv (glUniform1fv)
../../../src/glimports.h (390): BGFX 0xb6c0e109 glUniform2fv (glUniform2fv)
../../../src/glimports.h (391): BGFX 0xb6c0e179 glUniform3fv (glUniform3fv)
../../../src/glimports.h (392): BGFX 0xb6c0e1e9 glUniform4fv (glUniform4fv)
../../../src/glimports.h (393): BGFX 0xb6c0e261 glUniformMatrix3fv (glUniformMatrix3fv)
../../../src/glimports.h (394): BGFX 0xb6c0e27d glUniformMatrix4fv (glUniformMatrix4fv)
../../../src/glimports.h (395): BGFX 0xb6c0e299 glUseProgram (glUseProgram)
../../../src/glimports.h (396): BGFX 0xb6c0ec4d glVertexAttribDivisor (glVertexAttribDivisor)
../../../src/glimports.h (397): BGFX 0xb6c0e5f1 glVertexAttribPointer (glVertexAttribPointer)
../../../src/glimports.h (398): BGFX 0xb6c0eb9d glVertexAttribIPointer (glVertexAttribIPointer)
../../../src/glimports.h (399): BGFX 0xb6c0ee99 glVertexAttrib1f (glVertexAttrib1f)
../../../src/glimports.h (400): BGFX 0xb6c0eed1 glVertexAttrib2f (glVertexAttrib2f)
../../../src/glimports.h (401): BGFX 0xb6c0ef09 glVertexAttrib3f (glVertexAttrib3f)
../../../src/glimports.h (402): BGFX 0xb6c0ef41 glVertexAttrib4f (glVertexAttrib4f)
../../../src/glimports.h (403): BGFX 0xb6c0c799 glViewport (glViewport)
../../../src/glimports.h (406): BGFX 0xb6c0bcb5 glClearDepth (glClearDepth)
../../../src/glimports.h (407): BGFX 0xb6c0b8b5 glPointSize (glPointSize)
../../../src/glimports.h (421): BGFX 0xb6c0f749 glBlendEquationi (glBlendEquationiARB)
../../../src/glimports.h (422): BGFX 0xb6c0f72d glBlendEquationSeparatei (glBlendEquationSeparateiARB)
../../../src/glimports.h (423): BGFX 0xb6c0f789 glBlendFunci (glBlendFunciARB)
../../../src/glimports.h (424): BGFX 0xb6c0f765 glBlendFuncSeparatei (glBlendFuncSeparateiARB)
../../../src/glimports.h (453): BGFX (nil) glInsertEventMarker (glInsertEventMarker)
../../../src/glimports.h (454): BGFX (nil) glPushGroupMarker (glPushGroupMarker)
../../../src/glimports.h (455): BGFX (nil) glPopGroupMarker (glPopGroupMarker)
../../../src/glimports.h (462): BGFX (nil) glStringMarkerGREMEDY (glStringMarkerGREMEDY)
../../../src/glimports.h (463): BGFX (nil) glFrameTerminatorGREMEDY (glFrameTerminatorGREMEDY)
../../../src/glimports.h (464): BGFX (nil) glGetTranslatedShaderSourceANGLE (glGetTranslatedShaderSourceANGLE)
../../../src/glcontext_glx.cpp (197): BGFX Using glXSwapIntervalMESA.
../../../src/renderer_gl.cpp (1352): BGFX GL_NUM_COMPRESSED_TEXTURE_FORMATS 5
../../../src/renderer_gl.cpp (1375): BGFX 0: 86b0
varying highp vec3 v_normal; uniform highp vec4 u_imageLodEnabled; uniform lowp samplerCube s_texColor; void main () { lowp vec4 tmpvar_1; tmpvar_1.xyz = textureCubeLod (s_texColor, v_normal, u_imageLodEnabled.x).xyz; tmpvar_1.w = (0.2 + (0.8 * u_imageLodEnabled.y)); gl_FragColor = tmpvar_1; }
../../../src/renderer_gl.cpp (5297): BGFX Failed to compile shader. 0: 0:14(74): error: no matching function for call to `textureCubeLod(samplerCube, vec3, float)'; candidates are: 0:14(79): error: type mismatch
../../../src/bgfx.cpp (91): BGFX 0x00000002: Failed to compile shader.
Program received signal SIGABRT, Aborted. [Switching to Thread 0xb3b2c440 (LWP 8688)] __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44 44 ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory. (gdb) bt
at ../../../src/bgfx.cpp:93
You're out of luck:
../../../src/renderer_gl.cpp (1403): BGFX Vendor: Mesa Project ../../../src/renderer_gl.cpp (1404): BGFX Renderer: Software Rasterizer ../../../src/renderer_gl.cpp (1405): BGFX Version: 2.1 Mesa 10.1.3
Greetings,
I happened upon bgfx, which looks interesting, and tried to build it on my ARM Chromebook (Ubuntu) but need a linux-arm build target.
Can you help me out?
Thanks much, -KenD