Home > Software engineering >  Vs2005 compiler opencv has the error, refer to the great god
Vs2005 compiler opencv has the error, refer to the great god

Time:10-19

D: \ \ Microsoft Visual Studio 8 VC \ atlmfc \ include \ afxv_w32 h (33) : fatal error C1189: # error: MFC requires WINVER # to be defined to 0 x0400 or greater

CodePudding user response:

The front stdafx. H add
# define WINVER 0 x500//Win2000 system

CodePudding user response:

Opencv does not need to dependence on MFC, get rid of it
  • Related