On 18-12-2013 5:22, J M wrote:
Following this list:
http://lists.freebsd.org/pipermail/freebsd-x11/2013-December/013911.html
Rebuild xorg again on FreeBSD 10.0 rc2:
WITH_NEW_XORG=
WITH_KMS=
WITH_GALLIUM=
Build es2tri.c in mesa demos
http://cgit.freedesktop.org/mesa/demos/tree/src/egl/opengles2/es2tri.c
#################################################################################
J@build:~ % clang es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl
glesv2 gl`
J@build:~ % ./es2tri
#################################################################################
A window with a triangle is shown.
It is on an Intel video card.
But when I built nvidia driver and found this error again.
#################################################################################
root@build:~ # cd /usr/ports/x11/nvidia-driver-304
root@build:/usr/ports/x11/nvidia-driver-304 # make install clean
J@build:~ % clang es2tri.c -o es2tri `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 es2tri.c -o es2tri `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 es2tri.c -o es2tri `pkgconf --cflags --libs x11 egl gl`
J@build:~ % ./es2tri
Bus error (core dumped)
#################################################################################
I think it is because a mismatch configure, and also because gles driver is
incomplete.
I will take a look at making the libglesv2 port to work. I think I
already know what I need to do to make this work. Thank you for testing
the libEGL and libglesv2 ports.
-Koop
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"