MantisBT - Open CASCADE
View Issue Details
0028824Open CASCADE[OCCT] OCCT:Configurationpublic2017-06-07 17:392018-06-29 21:19
oan 
bugmaster 
normalminor 
closedfixed 
 
[OCCT] 7.3.0[OCCT] 7.3.0 
Not required
0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
Some oldfashioned 3rdparty software the OCCT-based plugin should be built for refuses to use builds made by VS2010 and above.
none
Requires "Visual C++ 2008 Feature Pack Release"
No tags attached.
Issue History
2017-06-07 17:39oanNew Issue
2017-06-07 17:39oanAssigned To => bugmaster
2017-06-07 18:04gitNote Added: 0067206
2017-06-07 18:04oanStatusnew => resolved
2017-06-07 18:04oanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16869#r16869
2017-07-04 11:11bugmasterAssigned Tobugmaster => apn
2017-07-04 11:11bugmasterStatusresolved => feedback
2017-08-02 11:59oanNote Added: 0069047
2017-08-02 12:01oanNote Edited: 0069047bug_revision_view_page.php?bugnote_id=69047#r17248
2017-08-02 12:01oanNote Edited: 0069047bug_revision_view_page.php?bugnote_id=69047#r17249
2017-08-07 12:41gitNote Added: 0069148
2017-08-07 13:24apnNote Added: 0069151
2017-08-07 13:24apnAssigned Toapn => oan
2017-08-08 15:05oanAssigned Tooan => abv
2017-08-08 15:06oanNote Added: 0069207
2017-08-09 18:51gitNote Added: 0069257
2017-08-09 18:51oanAssigned Toabv => apn
2017-08-09 18:54oanNote Added: 0069258
2017-08-09 19:11oanNote Added: 0069259
2017-08-10 12:04bugmasterTarget Version7.2.0 => 7.3.0
2017-09-13 18:44gitNote Added: 0070513
2017-09-13 18:54gitNote Added: 0070515
2017-09-14 10:31oanAdditional Information Updatedbug_revision_view_page.php?rev_id=17569#r17569
2017-09-14 11:40gitNote Added: 0070524
2017-09-14 11:57oanAssigned Toapn => abv
2017-09-14 11:57oanStatusfeedback => resolved
2017-09-14 20:04gitNote Added: 0070555
2017-09-15 18:58gitNote Added: 0070609
2017-09-18 12:06abvNote Added: 0070623
2017-09-18 12:06abvAssigned Toabv => bugmaster
2017-09-18 12:06abvStatusresolved => reviewed
2017-09-18 12:26kgvNote Added: 0070625
2017-09-18 12:26kgvNote Edited: 0070625bug_revision_view_page.php?bugnote_id=70625#r17619
2017-09-18 16:38gitNote Added: 0070643
2017-09-18 16:45bugmasterNote Added: 0070647
2017-09-18 16:45bugmasterStatusreviewed => tested
2017-09-18 16:46bugmasterTest case number => Not required
2017-09-19 14:26abvNote Added: 0070682
2017-09-21 19:33bugmasterChangeset attached => occt master 8b6ae617
2017-09-21 19:33bugmasterStatustested => verified
2017-09-21 19:33bugmasterResolutionopen => fixed
2017-09-21 19:51apnTarget Version7.3.0 => 7.2.0
2017-09-22 12:06bugmasterTarget Version7.2.0 => 7.3.0
2017-09-29 13:26bugmasterChangeset attached => occt master 71c810df
2017-09-29 17:11gitNote Added: 0071006
2017-09-29 17:11gitNote Added: 0071007
2017-09-29 17:11gitNote Added: 0071008
2018-06-29 21:15aivFixed in Version => 7.3.0
2018-06-29 21:19aivStatusverified => closed

Notes
(0067206)
git   
2017-06-07 18:04   
Branch CR28824 has been created by oan.

SHA-1: 6e7fe2921b3ce1d320ece959a2bc776cd2e19591


Detailed log of new commits:

Author: oan
Date: Wed Jun 7 17:42:04 2017 +0300

    0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
(0069047)
oan   
2017-08-02 11:59   
(edited on: 2017-08-02 12:01)
Please note that current patch requires "Visual C++ 2008 Feature Pack Release" update for Visual Studio 2008 which includes an implementation of TR1 providing smart pointers, type traits, etc.

(0069148)
git   
2017-08-07 12:41   
Branch CR28824 has been updated forcibly by apn.

SHA-1: 0c2354ef9bc8c448bbe8ae028a156c552ad5a88f
(0069151)
apn   
2017-08-07 13:24   
There are compilation errors on all platforms:
http://jenkins-test-10.nnov.opencascade.com/view/CR28824-master-APN/view/OCCT%20compile/job/CR28824-master-APN-OCCT-Debian70-64-opt-compile/1/parsed_console/ [^]
http://jenkins-test-10.nnov.opencascade.com/view/CR28824-master-APN/view/OCCT%20compile/job/CR28824-master-APN-OCCT-MacOS-opt-compile/1/parsed_console/ [^]
http://jenkins-test-10.nnov.opencascade.com/view/CR28824-master-APN/view/OCCT%20compile/job/CR28824-master-APN-OCCT-Windows-64-VC10-opt-compile/3/parsed_console/ [^]
(0069207)
oan   
2017-08-08 15:06   
DC,

unfortunately, I am unable to finalize issue before September.
Could you please reassign it to another person?

TIA,
Oleg.
(0069257)
git   
2017-08-09 18:51   
Branch CR28824 has been updated by oan.

SHA-1: c7cded4cd91788560b3a9c7d10d4bb23c0e19aae


Detailed log of new commits:

Author: oan
Date: Wed Aug 9 18:43:44 2017 +0300

    Fix compilation errors on current master

(0069258)
oan   
2017-08-09 18:54   
DC,

Suddenly, I had to fix it due to necessity of latest changes from master branch.

Could you please check it again? I also suggest to add new Jenkins job that runs compilation for VS2008 in certification process in further.

BR,
Oleg.
(0069259)
oan   
2017-08-09 19:11   
Please also note that modification of env.bat template is required due to changed approach of DevEnvDir variable specification (there is no support of vc9 anymore).
(0070513)
git   
2017-09-13 18:44   
Branch CR28824 has been updated forcibly by oan.

SHA-1: ac0880c35898f1a3c465fa45ef7208d5d6f1027c
(0070515)
git   
2017-09-13 18:54   
Branch CR28824 has been updated by oan.

SHA-1: 15d9bf5411b1ae08b481fddcdb4bd8ac44e6be31


Detailed log of new commits:

Author: oan
Date: Wed Sep 13 18:54:26 2017 +0300

    Modified env.bat.in template file

(0070524)
git   
2017-09-14 11:40   
Branch CR28824_1 has been created by oan.

SHA-1: 4b5ee1ef7f9ecc4b659c86ac419a5d74745065cd


Detailed log of new commits:

Author: oan
Date: Thu Sep 14 11:39:36 2017 +0300

    0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
(0070555)
git   
2017-09-14 20:04   
Branch CR28824_2 has been created by abv.

SHA-1: eabf555359c0ec5c22179d7755be5dd615a157ec


Detailed log of new commits:

Author: oan
Date: Thu Sep 14 11:39:36 2017 +0300

    0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
    
    Possibility to build OCCT using Visual Studio 2008 (VC9) is restored.
    For that:
    
    - template functions and classes from namespace std or tr1 (for VC9) are imported to namespace opencascade which is then used instead of std in relevant places
    - templates not provided by compiler (VC9) but required for OCCT are defined in this namespace (in Standard_Handle.hxx)
    - methods implementing move semantics are excluded for VC9 compiler (which does not support && syntax)
    - support of vc9 compiler is restored in build procedures and environment scripts
    - check of type of the current class in macros DEFINE_STANDARD_RTTI* is refactored
(0070609)
git   
2017-09-15 18:58   
Branch CR28824_2 has been updated by abv.

SHA-1: 95d434cca718650a35921c05312b9cd96214dd87


Detailed log of new commits:

Author: abv
Date: Fri Sep 15 18:57:57 2017 +0300

    VS 2008 is restored in the list of supported platforms on Overview / System Requirements.

(0070623)
abv   
2017-09-18 12:06   
Reviewed and tested, see branch CR28824_2 and Jenkins job CR28824-master-abv; please consider for integration
(0070625)
kgv   
2017-09-18 12:26   
Note that patch is intended to allow building OCCT itself using VS2008, NOT the OCC Products!

(0070643)
git   
2017-09-18 16:38   
Branch CR28824_2 has been updated by abv.

SHA-1: 4965660d2f67f91f19ed409f886b3897036045a8


Detailed log of new commits:

Author: abv
Date: Mon Sep 18 16:37:51 2017 +0300

    // move standard definitions to namespace opencascade::std

(0070647)
bugmaster   
2017-09-18 16:45   
Combination -
OCCT : CR28824_2 SHA-1: 4965660d2f67f91f19ed409f886b3897036045a8
Products branch : master
was compiled on Linux, MacOS and Windows platforms and tested on optimize mode.

http://jenkins-test-10.nnov.opencascade.com/view/CR28824-master-abv/ [^]

Number of compiler warnings:

OCCT :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

Products :
Linux: 4 (4 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
No differences that require special attention

Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0070682)
abv   
2017-09-19 14:26   
For the record, here are results of testing of binaries produced by VS 2008 (except problems due to remote desktop reported in 29124):

Failed
boolean bfuse_complex C4 C5

Improvements
bugs modalg_7 bug25104 bug25879
bugs moddata_3 bug25693_1 bug25693_2
(0071006)
git   
2017-09-29 17:11   
Branch CR28824 has been deleted by kgv.

SHA-1: 15d9bf5411b1ae08b481fddcdb4bd8ac44e6be31
(0071007)
git   
2017-09-29 17:11   
Branch CR28824_1 has been deleted by kgv.

SHA-1: 4b5ee1ef7f9ecc4b659c86ac419a5d74745065cd
(0071008)
git   
2017-09-29 17:11   
Branch CR28824_2 has been deleted by kgv.

SHA-1: 4965660d2f67f91f19ed409f886b3897036045a8