View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0029390 | Community | OCCT:Configuration | public | 2017-12-18 12:25 | 2020-11-13 13:13 |
Reporter | conic_chris | Assigned To | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | reopened | ||
Platform | Windows | OS | VC++ 2012 | ||
Product Version | 7.1.0 | ||||
Summary | 0029390: Compilation problem | ||||
Description | I managed to compile occt on windows (see profile) as a static library using /MT compile flags. (license for doing so is acquired). However I needed to insert a HashCode-function in my own code before including the static occt-libraries to make them work. int HashCode( unsigned short const * const,int ) { return -1; } Is this the correct approach? This seems strange to me, as I could not detect HashCode being called in OCCT directly nor in TCL/TK and freetype. I am unsure about if that is correct and if HashCode is really needed I would definitely need to change the body of the code. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
Please define preprocessor macro HAVE_NO_DLL when compiling your code; this should (hopefully) resolve the issue with HashCode() function. I also advise you to take recent change from Git branch CR29377 (or wait till next Monday and then use master branch) -- this change enables this macro for OCCT itself. See issue 0029377 for details. |
|
Is it planed to release the version (7.2.1) including the fix on the public website? (https://www.opencascade.com/content/latest-release) If so, when? |
|
We are going to issue the next release (to become 7.3.0, not 7.2.1, due to many changes already integrated since 7.2.0) in April. Can I consider this issue closed? |
|
Since I do not have access to the git (never filled out the developer agreement) I cannot check the changes you made within 7.2.1. However, I have now added the HAVE_NO_DLL flag manually to the compile flags in the 7.2.0 sources and there it worked. => You can close the issue |
|
Thank you, I am closing the issue. Note that you do not need to sign CLA to be able to get particular version of sources from Git; you can use GitWeb (http://git.dev.opencascade.org/gitweb/?p=occt.git) to browse the history, and download snapshot of sources corresponding to particular commit (e.g. current master branch) directly from there. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-18 12:25 | conic_chris | New Issue | |
2017-12-18 12:25 | conic_chris | Assigned To | => bugmaster |
2017-12-18 12:47 | bugmaster | Assigned To | bugmaster => abv |
2017-12-18 12:47 | bugmaster | Status | new => assigned |
2017-12-18 14:16 |
|
Relationship added | duplicate of 0029377 |
2017-12-18 14:26 |
|
Note Added: 0073023 | |
2017-12-18 14:26 |
|
Assigned To | abv => conic_chris |
2017-12-18 14:26 |
|
Status | assigned => feedback |
2017-12-18 15:18 | bugmaster | Status | feedback => closed |
2017-12-18 15:18 | bugmaster | Resolution | open => duplicate |
2017-12-18 16:14 | bugmaster | Status | closed => feedback |
2017-12-18 16:14 | bugmaster | Resolution | duplicate => reopened |
2018-01-16 12:17 | conic_chris | Note Added: 0073431 | |
2018-02-26 00:21 |
|
Note Added: 0074131 | |
2018-02-28 00:04 | conic_chris | Note Added: 0074156 | |
2018-02-28 09:00 |
|
Note Added: 0074157 | |
2018-02-28 09:23 |
|
Assigned To | conic_chris => abv |
2018-03-19 08:45 |
|
Status | feedback => closed |
2020-11-13 13:13 |
|
Category | PRODUCTS:Release BUILD => OCCT:Configuration |