作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我从github上摘了红皮书的例子。
在debian jessie下,我运行cmake,一切正常。
当我运行make时,出现此错误:
In file included from /usr/include/c++/4.9/cstdint:35:0,
from /home/antonio/Documenti/CG/OGLPG-9th- Edition/lib/vdds.cpp:16:
/usr/include/c++/4.9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
最佳答案
在CmakeLists.txt文件中添加以下行:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++0x")
关于opengl - 编译opengl红皮书9示例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44086259/
我正在尝试构建“OpenGL 红皮书”的第一个示例。好吧,是我的问题,还是他们的第 3 方负载着色器坏了? 错误 LNK2001:无法解析的外部符号 _LoadShaders 不知道要做什么... 最
我想通读 OpenGL 红皮书,The OpenGL Programming Guide, 8th edition , 在 Mac OS X 上使用 Xcode。 我无法运行第一个代码示例 trian
我与 Vaughn Vernon 的红皮书有关。 在协作有界上下文中,他将作者、成员、参与者、创建者等设置为值对象,其中字段与它们绑定(bind)的实体内联存储。 比方说,如果您创建一个有一个创建者的
我是一名优秀的程序员,十分优秀!