Workaround: CMake compile with "error in configuration process project files can invalid"

Source: Internet
Author: User

This error can occur either CMake2.84 or the current CMake2.87:

Check all over the Internet at home and abroad did not give a workable approach, the result is to solve their own

The reasons for the error and the solution are as follows:
Cause of error: Due to the English version, usually installed without looking at the instructions, according to the default installation and "Next" to the next step, the result is in the installation to choose the programming system you use, such as: vs2008,vs2010, If the default value of the current installation is not the version you are currently using and you are not aware of some details when you use it, an error occurs when the output directory of the current setting already exists
Solution: The first kind: unload and reload CMake, remember to choose the type of language, this method is a stupid way of the second: in the Source Project box, choose an appropriate directory containing CMakeLists.txt, in the output directory of the text box fill a nonexistent directory, and then click Settings ( Configuer), you will be prompted whether to create a directory, click "Yes" will pop up a language selection window, in the dropdown select the type of language you use, that is, the installation of your current use of the Vs2010;
This will correct the next step, if you open Cmake-gui.exe again, it will default to the language you selected, no more errors
Cause Analysis: The language was not selected at the beginning of the first run, the output directory is present when the language Selection window will not pop up and directly determine and output the above error message;

Suggestion: The official can publish a language selection window that pops up regardless of whether the current output directory exists

My installation is the environment is vs2013+opencv3.0+cmake3.4, but tried the online various methods or not, finally through the following solve the problem:

Download a file like this, http://sourceforge.net/projects/opencvlibrary/files/3rdparty/ippicv/, select Download ippicv_windows_20141027. Zip

Workaround: CMake compile with "error in configuration process project files can invalid"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.