oglplus
oglplus copied to clipboard
Compile Errors in VS2017
1>J:\oglplus-0.74.0\include\oglplus/glfunc.hpp(34): error C2165: “左侧修饰符”: 不能修改指向数据的指针 1>program.cpp 1>J:\oglplus-0.74.0\include\oglplus/glfunc.hpp(34): error C2165: “左侧修饰符”: 不能修改指向数据的指针 1>prog_var.cpp 1>J:\oglplus-0.74.0\include\oglplus/glfunc.hpp(34): error C2165: “左侧修饰符”: 不能修改指向数据的指针 1>extension.cpp 1>J:\oglplus-0.74.0\include\oglplus/glfunc.hpp(34): error C2165: “左侧修饰符”: 不能修改指向数据的指针 1>shapes_utils.cpp 1>J:\oglplus-0.74.0\include\oglplus/glfunc.hpp(34): error C2165: “左侧修饰符”: 不能修改指向数据的指针 1>J:\oglplus-0.74.0\include\oglplus/context/numeric_queries.hpp(123): error C2065: “GL_CONTEXT_RELEASE_BEHAVIOR”: 未声明的标识符 1>shapes_blender.cpp 1>J:\oglplus-0.74.0\include\oglplus/imports/blend_file/struct_block_data.hpp(152): error C2833: “operator decltype”不是可识别的运算符或类型 1>J:\oglplus-0.74.0\include\oglplus/imports/blend_file/struct_block_data.hpp(155): note: 参见对正在编译的 类 模板 实例化 "oglplus::imports::BlendFileFlatStructTypedFieldData<T>" 的引用 1>J:\oglplus-0.74.0\include\oglplus/imports/blend_file/struct_block_data.hpp(152): error C2059: 语法错误:“newline” 1>J:\oglplus-0.74.0\include\oglplus/imports/blend_file/struct_block_data.hpp(152): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>J:\oglplus-0.74.0\implement\oglplus/shapes/blender_mesh.ipp(374): warning C4267: “+=”: 从“size_t”转换到“GLuint”,可能丢失数据
1>J:\oglplus-0.74.0\include\oglplus/shapes/blender_mesh.hpp(120): error C2679: 二进制“[”: 没有找到接受“oglplus::imports::BlendFileFlatStructTypedFieldData<void *>”类型的右操作数的运算符(或没有可接受的转换) 1>J:\oglplus-0.74.0\include\oglplus/imports/blend_file.hpp(114): note: 可能是“oglplus::imports::BlendFileFlatStructBlockData oglplus::imports::BlendFile::operator ” 1>J:\oglplus-0.74.0\include\oglplus/shapes/blender_mesh.hpp(120): note: 尝试匹配参数列表“(oglplus::imports::BlendFile, oglplus::imports::BlendFileFlatStructTypedFieldData<void *>)”时 1>J:\oglplus-0.74.0\implement\oglplus/shapes/blender_mesh.ipp(374): warning C4267: “+=”: 从“size_t”转换到“GLuint”,可能丢失数据