precompiled header dependencies (Bug #1102)


Added by Pieter-Jan Busschaert almost 14 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:
Priority:Normal Due date:
Assignee:Andrey Kamaev % Done:

0%

Category:build/install
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

When updating OpenCV, then doing an incremental build, sometimes I get failures related to precompiled headers. One recent example is revision 5253. I have a fully built OpenCV at rev 5252, then do svn update to 5253 (which changes include/opencv2/core/core.hpp), then do an incremental build.

There is no problem to build the core library (there precomp.cpp is recompiled), but there is a problem in the imgproc library. Here precomp.cpp is not recompiled, although it should have been, due to the include chain: imgproc/precomp.cpp <= imgproc/precomp.hpp <= imgproc/imgproc.hpp <= core/core.hpp

For some reason this dependency does not seem to be recognized by the build system.

WinXP, VS2005, CMake 2.8


Associated revisions

Revision 07c2ae50
Added by Andrey Pavlenko over 11 years ago

Merge pull request #1102 from SpecLad:xls-updates

History

Updated by Alexander Shishkov about 13 years ago

  • Description changed from When updating [[OpenCV]], then doing an incremental build, sometimes I get fa... to When updating OpenCV, then doing an incremental build, sometimes I get failur... 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 Andrey Kamaev almost 13 years ago

Could not reproduce the issue. Precompiled headers was rebuilt as expected after touching the core.hpp.

Tried this with trunk r7673, Release configuration.
- Windows 7 x64
- MSVS 2005 SP2
- cmake 2.8.3 (run without any extra options)

Please, reopen the ticket if you have a reproducible scenario.

  • Status changed from Open to Cancelled
  • Assignee set to Andrey Kamaev

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF