Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2013 10:08:50 +0800
From:      J M <j@glx.me>
To:        freebsd-x11@freebsd.org
Subject:   report libEGL libglesv2 problems.
Message-ID:  <CAHCP5-zy78jzkYfvwZriRY-edW4TekGppds%2Bg6MUnoYxNmfrAA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@build:~ % cat > empty.cxx
int main() {
}
J@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@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@build:~ % clang++ empty.cxx -o empty `pkgconf --cflags --libs x11 egl gl`
J@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHCP5-zy78jzkYfvwZriRY-edW4TekGppds%2Bg6MUnoYxNmfrAA>