环境:Ubuntu 16.04 LTS
$ cmake --version
cmake version 3.5.1
$ make --version
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-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.
编译OK。
运行最简单的一个demo: Hello_Triangle
报错信息如下:
$ ./Hello_Triangle
FATAL - EGL: X11 Generated an error:
Display: 0x17e00a0
Type: 0
Resource: 12c
Serial: 1f
Error: 8 (BadMatch)
Request: 9a
Minor: 1f
FATAL - EGL: X11 Generated an error:
Display: 0x17e00a0
Type: 0
Resource: 4000002
Serial: 34
Error: ab (UNKNOWN)
Request: 9a
Minor: 1a
说明:之前在一个Ubuntu14.04LTS的机器是遇到同样的问题。
余额不足,暂不悬赏,还请见谅!