1. Problem description:
CMAKE: OpenCV source code:
error configuration process, project files may be invalid
2. One of the solutions
One reason: you did not use CMake to select the VS version on your machine.
For example, VS2010 is installed on my machine. When I configure it, I select the solution of VS2015, which will prompt the above problem.
Solution:
When using the Cmake configuration to generate the corresponding VS solution, I have VS2010 installed on my machine. Here I select the VS2010 solution:
CMAKE: OpenCV source code:
error configuration process, project files may be invalid
2. One of the solutions
One reason: you did not use CMake to select the VS version on your machine.
For example, VS2010 is installed on my machine. When I configure it, I select the solution of VS2015, which will prompt the above problem.
Solution:
When using the Cmake configuration to generate the corresponding VS solution, I have VS2010 installed on my machine. Here I select the VS2010 solution:

Read More:
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- windows CMake error: error in configuration process, project files may be invalid
- To solve problems in cmake VTK: error configuration process, project files may be invalid
- CMake error: error in configuration process, project files may be invalid
- Solution: when cmake is compiled, “error in configuration process project files may be invalid” appears
- Comparison of ITK and VTK
- Error configuration process, project files may be invalid
- Cmake error on qt5core
- [VTK] cmake compiling VTK
- Configuration, compilation and installation of vtk8.1 in qt5.9
- Vs2017 compiles pcl1.8.1 with vtk8.0 and uses qt5.9.5
- OpenGL Programming Guide 8th Edition 9th Edition vs2015 vs2017 configuration method
- [VTK] vtk8.2.0 + vs2015 + win10 compilation and configuration
- Solution: vs2017 cannot open header files such as stdio. H main. H
- Vtk8.2.0 (32bit + 64bit) compilation and installation test (win10 + vs2017 + Qt5)
- Qt5 when compiling VTK_ The solution of dir-notfound
- Two methods of cmake in VTK program
- QGIS uses qt4.6.3 to upgrade to the version compiled by qt4.8.3
- VTK installation
- Cmake compile opencv report error qtcore_ DIR QtOpenglDIR QtGui_ Dir ffmpeg loading failed