Home > Software engineering >  Vs2010 "create MFC single document compilation errors for great god taught directly
Vs2010 "create MFC single document compilation errors for great god taught directly

Time:11-03

1> -- -- -- -- -- - has started to generate: project: zwk67, configuration: Debug Win32 -- -- -- -- -- --
1> Generate the start time for 2016/4/19 16:08:11,
1> PrepareForBuild:
1> Is create the directory "c: \ users \ ZBL \ documents \ visual studio 2010 \ Projects \ zwk67 \ Debug ",
1> InitializeBuildStatus:
1> Is creating "Debug \ zwk67 unsuccessfulbuild", because has designated "AlwaysCreate",
1> ClCompile:
1> Stdafx. CPP
1> D: \ vs2010 \ \ vc atlmfc \ include \ afxpopupmenu h (182) : error C3861: "GetMenuBar" : can't find the identifier
1> D: \ vs2010 \ \ vc atlmfc \ include \ afxpopupmenu h (340) : error C2227: "- & gt; M_uiDefaultMenuCmdId "must point to a class/structure/joint/to the left of the generic type
1> Type is "' unknown - type '
1> D: \ vs2010 \ \ vc atlmfc \ include \ afxpopupmenu h (340) : error C3861: "GetMenuBar" : can't find the identifier
1> D: \ vs2010 \ \ vc atlmfc \ include \ afxpopupmenu h (347) : error C2039: "GetMenuBar" : not a member of the "CMFCPopupMenu"
1> D: \ vs2010 \ \ vc atlmfc \ include \ afxpopupmenu h (34) : see "CMFCPopupMenu statement
"1> D: \ vs2010 \ \ vc atlmfc \ include \ afxpopupmenu h (347) : error C2227: "- & gt; M_bAreAllCommandsShown "must point to a class/structure/joint/to the left of the generic type
1>
1> Generate failure,
1>
1> Elapsed time 00:00:03. 65
==========: zero success, failure, the latest zero, skip the 0==========

CodePudding user response:

Can't find the cause of the identifier is not contain the function module's header files

CodePudding user response:

&daisy vs2010 is to create a new single document MFC program and then directly compile error,,,,,,,

CodePudding user response:

Programmer is one of the common sense: don't put program source code, or projects or exe desktop this complex (mostly with Spaces and the characters and the firewall or antivirus software tight control on disk C) of the directory,

CodePudding user response:

But I

reference zhao4zhong1 reply: 3/f
programmer is one of the common sense: don't put program source code, or projects or exe desktop this complex (mostly with Spaces and the characters and the firewall or antivirus software tight control on disk C) of the directory,


reference zhao4zhong1 reply: 3/f
programmer is one of the common sense: don't put program source code, or projects or exe desktop this complex (mostly with Spaces and the characters and the firewall or antivirus software tight control on disk C) of the directory,



What is the problem?

CodePudding user response:

Is create the directory "c: \ users \ ZBL \ documents \ visual studio 2010 \ Projects \ zwk67 \ Debug ",
This directory have Spaces, and on disk C, may be it is for this reason, may not be,

Repair or reinstall VS2010 try,
  • Related