View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029129 | Open CASCADE | OCCT:Configuration | public | 2017-09-20 19:48 | 2018-06-29 21:21 |
Reporter | Assigned To | bugmaster | |||
Priority | high | Severity | minor | ||
Status | closed | Resolution | reopened | ||
Product Version | 7.2.0 | ||||
Target Version | 7.3.0 | Fixed in Version | 7.3.0 | ||
Summary | 0029129: Incomplete support of MSVS2017 | ||||
Description | I have faced with couple of problems related to the MSVS2017 support. I use MSVS2017.3 community. 1) occt_macro file: "macro (OCCT_MAKE_COMPILER_SHORT_NAME)" method ... elseif (MSVC12) set (COMPILER vc12) elseif (MSVC14) set (COMPILER vc14) elseif (MSVC15) # Since Visual Studio 15 (2017), its version diverged from version of # compiler which is 14.1; as that compiler uses the same run-time as 14.0, # we keep its id as "vc14" to be compatibille set (COMPILER vc14) endif() ... there is no "MSVC15" variable. MSVS2017 utilizes the same variable "MSVC14". I have found the following message in CMake tracker: " There is no MSVC15 variable because VS 2017 uses the v141 toolset which is compatible with the VS 2015 v140 toolset. We may not add any more MSVC## variables now that VS versions and toolset versions have been decoupled. MSVC_VERSION is a more general value that places like InstallRequiredSystemLibraries.cmake could use instead. " | ||||
Steps To Reproduce | N/A | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Andrey, please consider this issue -- it is highly desirable to fix this kind of problems before 7.3.0 beta |
|
Branch CR29129 has been created by apn. SHA-1: d8027c6283abb3e8c4ad287d172ca4f5ee1d967e Detailed log of new commits: Author: apn Date: Mon Mar 12 16:19:21 2018 +0300 0029129: Incomplete support of MSVS2017 MSVC_VERSION is used instead of MSVC10, MSVC11, MSVC12, etc. |
|
Dear ski, could you please review occt and products branches CR29129. |
|
I propose improving the checks for MSVC version as follows: - instead of (MSVC_VERSION > 1900), use (MSVC_VERSION > 1900) AND (MSVC_VERSION < 2000) - add else statement to handle the case of unrecognized MSVC_VERSION and issue an error message in that case |
|
Branch CR29129 has been updated by apn. SHA-1: 4423a5233b90be7b98a7fe9be8a377e6f21a2c98 Detailed log of new commits: Author: apn Date: Tue Mar 13 14:16:58 2018 +0300 // Use (MSVC_VERSION > 1900) AND (MSVC_VERSION < 2000) instead of (MSVC_VERSION > 1900) // Add else statement to handle the case of unrecognized MSVC_VERSION and issue an error message in that case |
|
Dear abv, remarks were applied. |
|
In adm/cmake/occt_defs_flags.cmake, will not the following line cause error if MSVC_VERSION is not defined (e.g. when building with GCC on Linux)? > if ((MSVC_VERSION EQUAL 1400) OR (MSVC_VERSION EQUAL 1500) OR (MSVC_VERSION EQUAL 1600)) Should not we have it as "if (MSVC AND (...))"? |
|
Branch CR29129 has been updated forcibly by apn. SHA-1: e64756b256da0ef2f29d4ba5c6a3ab7e7bad9f60 |
|
There're no errors during cmake configure on Linux (checked on Debian without ONLY for 32-bit definition) but "if (MSVC AND (...))" was added in adm/cmake/occt_defs_flags.cmake for code consistency (the same conditions in all cases). |
|
Branch CR29129 has been updated by abv. SHA-1: d522b1c4391e48632e1ed5c52c704cda48cdbdda Detailed log of new commits: Author: abv Date: Wed Mar 14 14:04:03 2018 +0300 // minor correction of comment |
|
Reviewed with minor amendment (comment only), please integrate |
|
Branch CR29129 has been deleted by kgv. SHA-1: d522b1c4391e48632e1ed5c52c704cda48cdbdda |
occt: master 1167d6cc 2018-03-12 13:19:21 Committer: bugmaster Details Diff |
0029129: Incomplete support of MSVS2017 MSVC_VERSION is used instead of MSVC10, MSVC11, MSVC12, etc. |
Affected Issues 0029129 |
|
mod - adm/cmake/occt_defs_flags.cmake | Diff File | ||
mod - adm/cmake/occt_macros.cmake | Diff File | ||
mod - samples/mfc/occtdemo/adm/cmake/CMakeLists.txt | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-20 19:48 |
|
New Issue | |
2017-09-20 19:48 |
|
Assigned To | => bugmaster |
2017-09-20 19:48 |
|
File Added: IMG_20092017_193514_0.png | |
2017-09-20 21:01 |
|
File Deleted: IMG_20092017_193514_0.png | |
2017-09-20 21:01 |
|
Description Updated | |
2018-01-09 16:28 | bugmaster | Status | new => closed |
2018-01-09 16:28 | bugmaster | Assigned To | bugmaster => apn |
2018-01-09 16:28 | bugmaster | Resolution | open => fixed |
2018-01-09 16:28 | bugmaster | Status | closed => feedback |
2018-01-09 16:28 | bugmaster | Resolution | fixed => reopened |
2018-03-08 09:11 |
|
Note Added: 0074364 | |
2018-03-08 09:11 |
|
Priority | normal => high |
2018-03-12 16:19 | git | Note Added: 0074391 | |
2018-03-12 16:24 | apn | Test case number | => Not needed |
2018-03-12 16:24 | apn | Note Added: 0074394 | |
2018-03-12 16:24 | apn | Assigned To | apn => ski |
2018-03-12 16:24 | apn | Status | feedback => resolved |
2018-03-12 16:31 |
|
Assigned To | ski => bugmaster |
2018-03-12 16:31 |
|
Status | resolved => reviewed |
2018-03-13 13:02 |
|
Note Added: 0074426 | |
2018-03-13 14:17 | git | Note Added: 0074427 | |
2018-03-13 14:28 | apn | Note Added: 0074431 | |
2018-03-13 14:28 | apn | Assigned To | bugmaster => abv |
2018-03-13 14:28 | apn | Status | reviewed => feedback |
2018-03-13 14:28 | apn | Status | feedback => resolved |
2018-03-14 10:00 |
|
Note Added: 0074459 | |
2018-03-14 10:05 |
|
Assigned To | abv => apn |
2018-03-14 10:05 |
|
Status | resolved => feedback |
2018-03-14 11:35 | git | Note Added: 0074462 | |
2018-03-14 11:47 | apn | Note Added: 0074464 | |
2018-03-14 11:47 | apn | Assigned To | apn => abv |
2018-03-14 11:47 | apn | Status | feedback => resolved |
2018-03-14 14:04 | git | Note Added: 0074470 | |
2018-03-14 14:04 |
|
Note Added: 0074471 | |
2018-03-14 14:04 |
|
Assigned To | abv => bugmaster |
2018-03-14 14:04 |
|
Status | resolved => reviewed |
2018-03-14 16:11 | bugmaster | Status | reviewed => tested |
2018-03-18 13:21 | bugmaster | Changeset attached | => occt master 1167d6cc |
2018-03-18 13:21 | bugmaster | Status | tested => verified |
2018-03-19 10:05 | git | Note Added: 0074593 | |
2018-06-29 21:16 |
|
Fixed in Version | => 7.3.0 |
2018-06-29 21:21 |
|
Status | verified => closed |