View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024281 | Community | OCCT:Coding | public | 2013-10-23 16:09 | 2013-11-27 10:22 |
Reporter | Pawel | Assigned To | Pawel | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | no change required | ||
Platform | Windows | OS | VC++ 2012 | ||
Product Version | 6.6.0 | ||||
Target Version | 6.7.0 | ||||
Summary | 0024281: CMake does not correctly generate 32bit solutions | ||||
Description | I'm on VS2012 / Win7 64bit and was able to successfully generate 64bit OCCT solutions for VS2012 with CMake. Unfortunately, generating 32bit solution for VS2012 does not work. Although I set BUILD_BITNESS = 32 using CMake, 64bit projects are generated though (e.g. options like /machine:x64 still defined). | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Pawel, thanks for this issue. I agree with you that BUILD_BITNESS variable doesn't work properly. It has been fixed already and will be integrate in OCCT 6.7.0 CMake of OCCT 6.7.0 doesn't have BUILD_BITNESS variable and bitness is chosen by taking into account a bitness of cmake meta-project generator. in OCCT 6.6.0 case, if you would like to generate OCCT VS 2012 32bit solution - choose 32 bit version of generator (visual studio 11 option) and set BUILD_BITNESS=32. for 64 bit version of OCCT VS solution - choose 64 bit version of generator (visual studio 11 win64 option) and set BUILD_BITNESS=64. changing just BUILD_BITNESS variable without changing version of generator doesn't work |
|
Dear ibs, thanks for your comment. However I have some questions: can you please clarify if it would be possible to generate 32bit projects on 64bit Win7 and vice versa with OCCT 6.7.0? How to influence/set the "bitness of cmake meta-project generator"? |
|
Sure, you can do it. CMake check bitness of the generator and set BUILD_BITNESS variable implicitly. System bitness doesn't matter to CMake in contrast to generator bitness. Try to generate and then write here about your results :) |
|
Dear ibs, yes, I must have been blind ;) Of course changing the generator solves the problem. For some reason I have overseen this option... |
|
Pawel, i think, we confused you by our not obvious cmake building interface (confusing BUILD_BITNESS) :) I'm glad we have removed BUILD_BITNESS variable. |
|
dear bugmaster, please close current issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-10-23 16:09 | Pawel | New Issue | |
2013-10-23 16:09 | Pawel | Assigned To | => bugmaster |
2013-10-23 16:09 | Pawel | Relationship added | related to 0024217 |
2013-11-06 14:30 | kgv | Assigned To | bugmaster => ibs |
2013-11-06 14:30 | kgv | Status | new => assigned |
2013-11-06 15:28 |
|
Note Added: 0026480 | |
2013-11-06 15:28 |
|
Assigned To | ibs => Pawel |
2013-11-06 15:28 |
|
Status | assigned => feedback |
2013-11-06 15:28 |
|
Note Edited: 0026480 | |
2013-11-06 15:58 | Pawel | Note Added: 0026484 | |
2013-11-06 15:59 | Pawel | Status | feedback => acknowledged |
2013-11-06 15:59 | Pawel | Assigned To | Pawel => ibs |
2013-11-06 15:59 | Pawel | Status | acknowledged => feedback |
2013-11-06 16:16 |
|
Note Added: 0026491 | |
2013-11-06 16:17 |
|
Assigned To | ibs => Pawel |
2013-11-06 17:12 | Pawel | Note Added: 0026494 | |
2013-11-06 17:12 | Pawel | Assigned To | Pawel => ibs |
2013-11-06 17:12 | Pawel | Status | feedback => resolved |
2013-11-06 17:27 |
|
Note Added: 0026495 | |
2013-11-18 10:44 |
|
Note Added: 0026685 | |
2013-11-18 10:44 |
|
Assigned To | ibs => bugmaster |
2013-11-18 10:44 |
|
Status | resolved => reviewed |
2013-11-20 08:32 |
|
Status | reviewed => feedback |
2013-11-27 10:22 | bugmaster | Status | feedback => closed |
2013-11-27 10:22 | bugmaster | Assigned To | bugmaster => Pawel |
2013-11-27 10:22 | bugmaster | Resolution | open => no change required |
2014-01-11 11:58 |
|
Category | OCCT Release:BUILD => OCCT:Coding |