Comments (6)
Have a look at #5.
from examples.
Have a look at #5.
Ok, good. Now i can compile.
In my computer all example programs look black. But at least it compiles fine.
from examples.
What is the output of glxinfo -B
on your machine?
from examples.
The command:
$ glxinfo -B Unknown option
-B'`
Without -B option and greping OpenGL:
$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
from examples.
That makes sense, thank you. Most or all of the examples for this book use OpenGL 4.x features, while your system only supports 3.3.
Mesa 11 is really old. It might help to update your operating system.
from examples.
So in summary i tried with two different computers using Ubuntu 14.04.5 and #5 help solve the issue of compiling.
However it won't execute properly because of old OpenGL version.
Thanks for your help. Closing the issue.
from examples.
Related Issues (20)
- How to build in ubuntu system? HOT 2
- Code in the book now the same as code in GitHub repo HOT 2
- Is there any documents that describes the correspondence between the source and textbook?
- How to study this lib with clion in window(cygwin)
- The OpenGL® Programming Guide 6th Edition source code HOT 1
- Figure 9.1 does not match with example 9.3
- Codes do not match the 9th edition.
- Many compilation errors on Ubuntu 18.04 compiling with GCC 7.5.0 HOT 1
- Could you provide the source code for the 8th edition?
- Errors when building examples on ubuntu 18.04 with gcc 7.5.0 HOT 2
- Whats the license status of this source code
- `03-pointsprites` does not correctly render the point sprite texture
- glfwWindowShouldClose: Assertion `window != NULL' failed.
- 写的就是一坨屎山
- fur.cpp max_vertices is too large for most gpu, fails to link
- regex.h namespace compiling error
- Exception thrown: read access violation. this->mFrame
- OpenGL programmieren
- Git doesn't retrieve the build/media folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from examples.