• vs2005sp1 build osg2.8.2


    110>------ 已启动生成: 项目: Examples osgvertexprogram, 配置: Release Win32 ------
    110>正在编译...
    110>osgvertexprogram.cpp
    109>正在执行预链接事件...
    109>正在链接...
    109>osgviewerGLUT.obj : error LNK2019: 无法解析的外部符号 __imp____glutInitWithExit@12,该符号在函数 _glutInit_ATEXIT_HACK@8 中被引用
    109>osgviewerGLUT.obj : error LNK2019: 无法解析的外部符号 __imp____glutCreateWindowWithExit@8,该符号在函数 _glutCreateWindow_ATEXIT_HACK@4 中被引用
    109>D:\AL\OpenSceneGraph-2.8.2\bin\Release\..\osgviewerGLUT.exe : fatal error LNK1120: 2 个无法解析的外部命令
    109>生成日志保存在“file://d:\AL\OpenSceneGraph-2.8.2\examples\osgviewerGLUT\example_osgviewerGLUT.dir\Release\BuildLog.htm”
    109>Examples osgviewerGLUT - 3 个错误,0 个警告

    109>------ 已启动生成: 项目: Examples osgviewerGLUT, 配置: Release Win32 ------
    109>正在编译...
    109>osgviewerGLUT.cpp
    108>d:\al\openscenegraph-2.8.2\examples\osgviewerwx\osgviewerWX.h(14) : error C2504: “wxGLCanvas”: 未定义基类
    108>.\osgviewerWX.cpp(49) : error C2065: “WX_GL_DOUBLEBUFFER”: 未声明的标识符
    108>.\osgviewerWX.cpp(50) : error C2065: “WX_GL_RGBA”: 未声明的标识符
    108>.\osgviewerWX.cpp(51) : error C2065: “WX_GL_DEPTH_SIZE”: 未声明的标识符
    108>.\osgviewerWX.cpp(53) : error C2065: “WX_GL_STENCIL_SIZE”: 未声明的标识符
    108>.\osgviewerWX.cpp(114) : error C2653: “wxGLCanvas”: 不是类或命名空间名称
    108>.\osgviewerWX.cpp(115) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxSizeEvent &)”转换为“wxSizeEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(115) : error C2466: 不能分配常量大小为 0 的数组
    108>.\osgviewerWX.cpp(115) : error C2440: “初始化”: 无法从“int”转换为“const wxEventTableEntry”
    108>        无构造函数可以接受源类型,或构造函数重载决策不明确
    108>.\osgviewerWX.cpp(116) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxPaintEvent &)”转换为“wxPaintEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(117) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxEraseEvent &)”转换为“wxEraseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(119) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxKeyEvent &)”转换为“wxCharEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(120) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxKeyEvent &)”转换为“wxCharEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(122) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(123) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(124) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(125) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(126) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(127) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(128) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(129) : error C2440: “static_cast”: 无法从“void (__thiscall OSGCanvas::* )(wxMouseEvent &)”转换为“wxMouseEventFunction”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(135) : error C2614: “OSGCanvas”: 非法的成员初始化:“wxGLCanvas”不是基或成员
    108>.\osgviewerWX.cpp(147) : error C2664: “wxPaintDC::wxPaintDC(wxWindow *)”: 不能将参数 1 从“OSGCanvas *const ”转换为“wxWindow *”
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(153) : error C2653: “wxGLCanvas”: 不是类或命名空间名称
    108>.\osgviewerWX.cpp(157) : error C3861: “GetClientSize”: 找不到标识符
    108>.\osgviewerWX.cpp(205) : error C2660: “SetFocus”: 函数不接受 0 个参数
    108>.\osgviewerWX.cpp(237) : error C2664: “SetCursor”: 不能将参数 1 从“wxCursor”转换为“HCURSOR”
    108>        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
    108>.\osgviewerWX.cpp(242) : error C2679: 二进制“=”: 没有找到接受“HCURSOR”类型的右操作数的运算符(或没有可接受的转换)
    108>        D:\AL\wxWidgets-2.8.11\include\wx/msw/cursor.h(44): 可能是“wxCursor &wxCursor::operator =(const wxCursor &)”
    108>        试图匹配参数列表“(wxCursor, HCURSOR)”时
    108>.\osgviewerWX.cpp(250) : error C2664: “SetCursor”: 不能将参数 1 从“wxCursor”转换为“HCURSOR”
    108>        没有可用于执行该转换的用户定义的转换运算符,或者无法调用该运算符
    108>.\osgviewerWX.cpp(264) : error C2039: “GetPosition”: 不是“OSGCanvas”的成员
    108>        d:\al\openscenegraph-2.8.2\examples\osgviewerwx\osgviewerWX.h(13) : 参见“OSGCanvas”的声明
    108>.\osgviewerWX.cpp(265) : error C2039: “GetSize”: 不是“OSGCanvas”的成员
    108>        d:\al\openscenegraph-2.8.2\examples\osgviewerwx\osgviewerWX.h(13) : 参见“OSGCanvas”的声明
    108>.\osgviewerWX.cpp(301) : error C2039: “SetFocus”: 不是“OSGCanvas”的成员
    108>        d:\al\openscenegraph-2.8.2\examples\osgviewerwx\osgviewerWX.h(13) : 参见“OSGCanvas”的声明
    108>.\osgviewerWX.cpp(308) : error C2446: “==”: 没有从“OSGCanvas *”到“wxWindow *”的转换
    108>        与指向的类型无关;转换要求 reinterpret_cast、C 样式转换或函数样式转换
    108>.\osgviewerWX.cpp(308) : error C2440: “==”: 无法从“OSGCanvas *”转换为“wxWindow *”
    108>.\osgviewerWX.cpp(309) : error C2039: “SetFocus”: 不是“OSGCanvas”的成员
    108>        d:\al\openscenegraph-2.8.2\examples\osgviewerwx\osgviewerWX.h(13) : 参见“OSGCanvas”的声明
    108>.\osgviewerWX.cpp(319) : error C2039: “SetCurrent”: 不是“OSGCanvas”的成员
    108>        d:\al\openscenegraph-2.8.2\examples\osgviewerwx\osgviewerWX.h(13) : 参见“OSGCanvas”的声明
    108>.\osgviewerWX.cpp(325) : error C2039: “SwapBuffers”: 不是“OSGCanvas”的成员
    108>        d:\al\openscenegraph-2.8.2\examples\osgviewerwx\osgviewerWX.h(13) : 参见“OSGCanvas”的声明
    108>生成日志保存在“file://d:\AL\OpenSceneGraph-2.8.2\examples\osgviewerWX\example_osgviewerWX.dir\Release\BuildLog.htm”
    108>Examples osgviewerWX - 37 个错误,0 个警告

  • 相关阅读:
    CF627A Xor Equation
    CF865C Gotta Go Fast
    HDU 2222 Keywords Search
    BZOJ 2038: [2009国家集训队]小Z的袜子(hose)
    BZOJ 3781: 小B的询问
    BZOJ 1086: [SCOI2005]王室联邦
    BZOJ 2120: 数颜色
    BZOJ 1503: [NOI2004]郁闷的出纳员
    BZOJ 3757: 苹果树
    BZOJ 1861: [Zjoi2006]Book 书架
  • 原文地址:https://www.cnblogs.com/mumuliang/p/1873494.html
Copyright © 2020-2023  润新知