INSTALL failed on Windows 7, VS 2010 (Bug #1532)
Description
I use newest OpenCV svn revision 7111 version.
After used CMake 2.8.6 to configure and generate solution file for VS 2010, I opened "OpenCV.sln" in VS 2010 in debug mode, then builded the "ALL_BUILD" project. After building, I builded the "INSTALL" project, there was two errors:
1. error LNK1104: can not open file "python27_d.lib". (I know in Debug mode there was no this file, so this should be fine).
2. error MSB3073: command "setlocal
D:\Program\CMake_2.8\bin\cmake.exe -DBUILD_TYPE=Debug -P cmake_install.cmake
if errorlevel neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel errorlevel & goto :cmDone
:cmErrorLevel
exit /b 1
:cmDone
if %errorlevel neq 0 goto :VCEnd
:VCEnd" has existed.
Then the "INSTALL" project was failed to be builded.
Associated revisions
#1532 Debug version of python bindings is excluded from install
Merge pull request #1532 from alalek:stereo_csbp
History
Updated by Alexander Shishkov about 13 years ago
- Description changed from I use newest [[OpenCV]] svn revision 7111 version. After used CMake 2.8.6 ... to I use newest OpenCV svn revision 7111 version. After used CMake 2.8.6 to c... More
Updated by Alexander Shishkov almost 13 years ago
- Target version deleted ()
Updated by Alexander Shishkov almost 13 years ago
- Assignee deleted (
Vadim Pisarevsky)
Updated by Alexander Shishkov almost 13 years ago
- Assignee set to Alexander Shishkov
Updated by Andrey Kamaev almost 13 years ago
Thanks for reporting.
I've excluded debug version of python bindings from install rules and now INSTALL project build OK:
1>------ Build started: Project: opencv_python, Configuration: Debug Win32 ------ 1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'python27_d.lib' 1>Build log was saved at "file://c:\Work\opencv\win\modules\python\opencv_python.dir\Debug\BuildLog.htm" 1>opencv_python - 1 error(s), 0 warning(s) 2>------ Build started: Project: INSTALL, Configuration: Debug Win32 ------ 2> 2>Performing Post-Build Event... 2>-- Install configuration: "Debug" 2>-- Up-to-date: C:/Work/opencv/win/install/include/opencv2/opencv_modules.hpp /** skipped **/ 2>-- Installing: C:/Work/opencv/win/install/bin/opencv_traincascaded.exe 2>Build log was saved at "file://c:\Work\opencv\win\INSTALL.dir\Debug\BuildLog.htm" 2>INSTALL - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 1 failed, 52 up-to-date, 0 skipped ==========
- Status changed from Open to Done
- Assignee changed from Alexander Shishkov to Andrey Kamaev
Updated by Alexander Shishkov almost 13 years ago
- Target version set to 2.4.0