Home > Mobile >  QT calls vs. compile errors in library Building MFC application with/MD [d] the requires (CRT DLL ve
QT calls vs. compile errors in library Building MFC application with/MD [d] the requires (CRT DLL ve

Time:09-25

C: \ Program Files \ Microsoft Visual Studio 10.0 (x86) \ \ VC atlmfc \ include \ afx h: 24: error: C1189: # error: Building MFC application with/MD [d] (CRT DLL version) requires the MFC Shared DLL version. Both Please # define _AFXDLL or do not use/MD [d]
Compiled at the above mistake,
I in transplantation of vc program, others call it provided by the library function, compile the mistakes, ask the great spirit guide

CodePudding user response:

@ foruok

CodePudding user response:

The QT is also used as what configuration, you will not appear this error

CodePudding user response:

Search on the net this error, is MFC configuration, but I use the qt development, how to solve, I confused about now

CodePudding user response:

With q, I now want to transplant in WP c + + programs, is also a heap of MFC, then WP does not support

CodePudding user response:

How to solve it, have a great spirit guide

CodePudding user response:

Project, properties, conventional inside, use the MFC option instead of "in the DLL using MFC"

CodePudding user response:

LZ hello, please you solve this problem? I also encountered this problem, I according to the 6th floor panda20184 said method test greatly, still won't do,
Is this change vs inside? Because qt I didn't see where there is a change in the DLL using MFC options?? Seek to reassure ah ~ ~

CodePudding user response:

In the header file statement below and # define _AFXDLL, _AFXDLL macro effect, https://zhidao.baidu.com/question/183835429.html

CodePudding user response:

The building Lord solved? I shall, in accordance with the above plus # define _AFXDLL useless ah,

CodePudding user response:

I met solution is , if caused by contains "ArcFaceEngine. H" problem, so in front of the join "# define _AFXDLL" to sample the following
 # define _AFXDLL//new solution 
# include "ArcFaceEngine. H"//the problem code
  •  Tags:  
  • Qt
  • Related