Skip to content

出现错误__imp_DefWindowProcW #1

Description

@ldepn

你好我在win7 64位系统用Qt5.7.1编译的时候出现这个错误,你有遇到这种情况吗?

OpenGLContext.Win.obj:-1: error: LNK2019: 无法解析的外部符号 __imp_DefWindowProcW,该符号在函数 "long cdecl MainWndProc(struct HWND *,unsigned int,unsigned __int64,int64)" (?MainWndProc@@YAJPEAUHWND@@I_K_J@Z) 中被引用assW,该符号在函数 "public: __cdecl OpenGLContext::OpenGLContext(unsigned int)" (??0OpenGLContext@@qeaa@I@Z) 中被引用

OpenGLContext.Win.obj:-1: error: LNK2019: 无法解析的外部符号 __imp_DefWindowProcW,该符号在函数 "long cdecl MainWndProc(struct HWND *,unsigned int,unsigned __int64,int64)" (?MainWndProc@@YAJPEAUHWND@@I_K_J@Z) 中被引用

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions