Visual Studio 2008 -- continuation of checkin ( 2610 ) -- "/D _BIND_TO_CURRENT_CRT_VERSION=1 /D _BIND_TO_CURRENT_VCLIBS_VERSION=1" MSVC flags (Bug #126)


Added by Scott Callaway about 15 years ago. Updated about 15 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:- % Done:

0%

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

Description

In the checkin revision 2610, the _BIND_TO_CURRENT_CRT_VERSION and _BIND_TO_CURRENT_VCLIBS_VERSION flags were removed from the CMakeLists.txt file.

These settings still exist in the cxtypes.h file.
The proposed fix would remove these lines form the cxtypes.h file.


Related issues

duplicated by Bug #133: Do not use _BIND_TO_CURRENT_CRT_VERSION in cxtypes.h Cancelled

Associated revisions

Revision 57fc5e00
Added by Marina Kolpakova over 12 years ago

Merge pull request #126 from vpisarev:bug_fixes3

Revision 5cd0cac1
Added by Andrey Pavlenko about 11 years ago

Merge pull request #126 from ilya-lavrenov:createHanningWindow

History

Updated by Scott Callaway about 15 years ago

I agree that this was a very good idea to remove these "_BIND_TO_.." settings as it avoids problems related to the OpenCV dll's not loading on computers with older service packs than the computer the code was compiled on.

IMHO --> The following lines should be removed from the cxtypes.h file:

#if _MSC_VER >= 1500
#ifndef _BIND_TO_CURRENT_CRT_VERSION
#define _BIND_TO_CURRENT_CRT_VERSION 1
#endif
#ifndef _BIND_TO_CURRENT_VCLIBS_VERSION
#define _BIND_TO_CURRENT_VCLIBS_VERSION 1
#endif
#endif

Updated by Scott Callaway about 15 years ago

Someone else opened a new related ticket discussing the same issue was opened ( Ticket #133 ).

Updated by anonymous - about 15 years ago

This issue is resolved by the check-in revision r2700.
For related issue -- See previous check-in r2610 which relates to ticket #88

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Updated by Scott Callaway about 15 years ago

Closed

Also available in: Atom PDF