MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0028824Open CASCADE[OCCT] OCCT:Configurationpublic2017-06-07 17:392017-09-22 12:06
Reporteroan 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusverifiedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.2.1Fixed in Version 
Summary0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
DescriptionSome oldfashioned 3rdparty software the OCCT-based plugin should be built for refuses to use builds made by VS2010 and above.
Steps To Reproducenone
Additional information
and documentation updates
Requires "Visual C++ 2008 Feature Pack Release"
TagsNo tags attached.
Test case numberNot required
Attached Files

- Relationships

-  Notes
(0067206)
git (administrator)
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 (developer)
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 (administrator)
2017-08-07 12:41

Branch CR28824 has been updated forcibly by apn.

SHA-1: 0c2354ef9bc8c448bbe8ae028a156c552ad5a88f
(0069151)
apn (administrator)
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 (developer)
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 (administrator)
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 (developer)
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 (developer)
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 (administrator)
2017-09-13 18:44

Branch CR28824 has been updated forcibly by oan.

SHA-1: ac0880c35898f1a3c465fa45ef7208d5d6f1027c
(0070515)
git (administrator)
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 (administrator)
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 (administrator)
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 (administrator)
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 (manager)
2017-09-18 12:06

Reviewed and tested, see branch CR28824_2 and Jenkins job CR28824-master-abv; please consider for integration
(0070625)
kgv (developer)
2017-09-18 12:26
edited on: 2017-09-18 12:26

Note that patch is intended to allow building OCCT itself using VS2008, NOT the OCC Products!

(0070643)
git (administrator)
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 (administrator)
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 (manager)
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

- Related Changesets
occt: master 8b6ae617
Timestamp: 2017-09-14 08:39:36
Author: oan
Committer: bugmaster
Details ] Diff ]
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

VS 2008 is restored in the list of supported platforms on Overview / System Requirements.
mod - adm/templates/env.bat Diff ] File ]
mod - adm/templates/env.bat.in Diff ] File ]
mod - adm/templates/template.vc9 Diff ] File ]
mod - dox/overview/overview.md Diff ] File ]
mod - src/BinLDrivers/BinLDrivers_DocumentRetrievalDriver.cxx Diff ] File ]
mod - src/BinLDrivers/BinLDrivers_DocumentSection.cxx Diff ] File ]
mod - src/BVH/BVH_BinaryTree.hxx Diff ] File ]
mod - src/BVH/BVH_Types.hxx Diff ] File ]
mod - src/DrawTrSurf/DrawTrSurf.hxx Diff ] File ]
mod - src/IGESData/IGESData_IGESWriter.hxx Diff ] File ]
mod - src/NCollection/NCollection_Array1.hxx Diff ] File ]
mod - src/NCollection/NCollection_DefineHSequence.hxx Diff ] File ]
mod - src/NCollection/NCollection_Shared.hxx Diff ] File ]
mod - src/NCollection/NCollection_StlIterator.hxx Diff ] File ]
mod - src/NCollection/NCollection_UBTreeFiller.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.cxx Diff ] File ]
mod - src/Poly/Poly_Connect.cxx Diff ] File ]
mod - src/QANCollection/QANCollection_Handle.cxx Diff ] File ]
mod - src/RWStl/RWStl_Reader.cxx Diff ] File ]
mod - src/Standard/Standard_ArrayStreamBuffer.hxx Diff ] File ]
mod - src/Standard/Standard_Handle.hxx Diff ] File ]
mod - src/Standard/Standard_Type.hxx Diff ] File ]
mod - src/Standard/Standard_TypeDef.hxx Diff ] File ]

- Issue History
Date Modified Username Field Change
2017-06-07 17:39 oan New Issue
2017-06-07 17:39 oan Assigned To => bugmaster
2017-06-07 18:04 git Note Added: 0067206
2017-06-07 18:04 oan Status new => resolved
2017-06-07 18:04 oan Steps to Reproduce Updated View Revisions
2017-07-04 11:11 bugmaster Assigned To bugmaster => apn
2017-07-04 11:11 bugmaster Status resolved => feedback
2017-08-02 11:59 oan Note Added: 0069047
2017-08-02 12:01 oan Note Edited: 0069047 View Revisions
2017-08-02 12:01 oan Note Edited: 0069047 View Revisions
2017-08-07 12:41 git Note Added: 0069148
2017-08-07 13:24 apn Note Added: 0069151
2017-08-07 13:24 apn Assigned To apn => oan
2017-08-08 15:05 oan Assigned To oan => abv
2017-08-08 15:06 oan Note Added: 0069207
2017-08-09 18:51 git Note Added: 0069257
2017-08-09 18:51 oan Assigned To abv => apn
2017-08-09 18:54 oan Note Added: 0069258
2017-08-09 19:11 oan Note Added: 0069259
2017-08-10 12:04 bugmaster Target Version 7.2.0 => 7.2.1
2017-09-13 18:44 git Note Added: 0070513
2017-09-13 18:54 git Note Added: 0070515
2017-09-14 10:31 oan Additional Information Updated View Revisions
2017-09-14 11:40 git Note Added: 0070524
2017-09-14 11:57 oan Assigned To apn => abv
2017-09-14 11:57 oan Status feedback => resolved
2017-09-14 20:04 git Note Added: 0070555
2017-09-15 18:58 git Note Added: 0070609
2017-09-18 12:06 abv Note Added: 0070623
2017-09-18 12:06 abv Assigned To abv => bugmaster
2017-09-18 12:06 abv Status resolved => reviewed
2017-09-18 12:26 kgv Note Added: 0070625
2017-09-18 12:26 kgv Note Edited: 0070625 View Revisions
2017-09-18 16:38 git Note Added: 0070643
2017-09-18 16:45 bugmaster Note Added: 0070647
2017-09-18 16:45 bugmaster Status reviewed => tested
2017-09-18 16:46 bugmaster Test case number => Not required
2017-09-19 14:26 abv Note Added: 0070682
2017-09-21 19:33 bugmaster Changeset attached => occt master 8b6ae617
2017-09-21 19:33 bugmaster Status tested => verified
2017-09-21 19:33 bugmaster Resolution open => fixed
2017-09-21 19:51 apn Target Version 7.2.1 => 7.2.0
2017-09-22 12:06 bugmaster Target Version 7.2.0 => 7.2.1


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker