report libEGL libglesv2 problems.

J M j at glx.me
Mon Dec 16 02:08:53 UTC 2013


I made libEGL and libglesv2 work before yesterday.
http://glx.me/docs/3d-egg/opengl/index.php?page=x11-egl-gles2-code-freebsd

I was too happy to ignore that it is experimetal. When I rebuilt xorg again
on FreeBSD 11 and found the problem:
#########################################################
J at build:~ % cat > empty.cxx
int main() {
}
J at build:~ % clang++ empty.cxx -o empty `pkgconf --cflags --libs x11 egl
glesv2`
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch'
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch'
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
J at build:~ % clang++ empty.cxx -o empty `pkgconf --cflags --libs x11 egl
glesv2 gl`
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch'
/usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch'
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
J at build:~ % clang++ empty.cxx -o empty `pkgconf --cflags --libs x11 egl gl`
J at build:~ % ./empty
Bus error (core dumped)
#########################################################

I realy want to help to test libEGL on FreeBSD, but would someone give me
some advises and tricks?


More information about the freebsd-x11 mailing list