Today, the downloaded opencv mixed Gaussian modeling routine encountered the following error: Fatal error c1083: cannot open source file: 'd: \ Program Files \ Microsoft Visual Studio \ vc98 \ MFC \ SRC \ appmodul. CPP'
Originally, we created an MFC project. The MFC engineer needs to call the winmain () function, which is placed in appmodul. in the CPP file, the problem here is that the appmodel cannot be found or cannot be opened. CPP file. In fact, this file is compiled in the library. The reason for this error is that our VC installation path is changed from the original author's path: use other people's projects, however, the installation location of the VC on your computer is different from that of the original author.
We can modify the file suffixed with DSP and change the Source Path to the path on our computer:
C: \ ProgramFiles \ MicrosoftVisualStudio \ vc98 \ MFC \ SRC \ appmodul. cpp