View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032537 | Community | OCCT:Coding | public | 2021-08-16 14:21 | 2021-08-23 15:42 |
Reporter | occ_siddhesh_nikam | Assigned To | occ_siddhesh_nikam | ||
Priority | normal | Severity | minor | ||
Status | feedback | Resolution | unable to reproduce | ||
Platform | Windows | OS | Win 8 | ||
Product Version | 7.5.0 | ||||
Summary | 0032537: Exception occurs after updating OCCT_7.2.0 to OCCT_7.5.0 | ||||
Description | Hello kgv, I have updated OCCT from 7.2.0 to 7.5.0 as per your suggestion. My issue has resolved now. Also, everything is working nicely. But, when I close/stop debugging, the program is throwing exception. While using older version of OCCT (i.e. 7.2.0) this was not happening. I have attached the screenshot. Please guide. Thanks. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
|
1.png (11,716 bytes) |
|
Do you experience the same issue in Release builds? Which code / sample are you testing? |
|
Hello kgv, Thanks for the reply! -->Do you experience the same issue in Release builds? 1) Program is working nicely in the "Release" build. -->Which code / sample are you testing? 2) I am not clear about a question. I am using VS2019, MFC. I have followed "Viewer_3d" sample provided by OCCT. What is the reason for the error in "debug" build? Should I continue my coding in the "release" mode? Please guide. Thanks! |
|
Make sure that you are building/running MFC example with Debug version of OCCT libraries. You may need opening Visual Studio via "msvc.bat vc14 win64 Debug" / running sample via "run.bat vc14 win64 Debug" or something like that. MSVC doesn't like much a mixture of of C/C++ DLL runtimes. |
|
Dear kgv, I have defined the path of debug libraries in "Linker->Input->Additional Dependencies." Do you mean the same? I have never use the option "msvc.bat vc14 win64 Debug" before. I request you, please provide any reference for "How to use msvc.bat vc14 win64 Debug." It is really difficult for me to move ahead due to unresolved "debug" issue. Thanks. |
|
Please pay attention to the ReadMe.md coming within MFC sample itself - see also generated documentation online: https://dev.opencascade.org/doc/overview/html/samples_mfc_standard.html |
|
> "Linker->Input->Additional Dependencies." Do you mean the same? Runtime paths to DLLs can be configured by "Debugging" tab -> "Environment" within Visual Studio project settings. When using "msvc.bat" to start Visual Studio, paths will be configured into %PATH% variable. |
|
Hello kgv, My issue has been resolved. I uninstalled OCCT and re-installed it. It worked. I have defined a path at both the places, 1) In System Environment Variable and 2) In Debugging -> Environment It is giving an error of missing ".dll" if I remove a path either of this two. Is it right to define a path at both the places? Thanks. |
|
> I uninstalled OCCT and re-installed it. It worked. Note that installation package contains only Release libraries. You need building Debug libraries on your own. > 1) In System Environment Variable > 2) In Debugging -> Environment If I understand correctly, by "System Environment Variable" you are referring to environment variables in batch scripts? You may configure this in any way, just make sure that they do not conflict to each other. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-08-16 14:21 | occ_siddhesh_nikam | New Issue | |
2021-08-16 14:21 | occ_siddhesh_nikam | Assigned To | => kgv |
2021-08-16 14:21 | occ_siddhesh_nikam | File Added: 1.png | |
2021-08-16 21:51 | kgv | Note Added: 0103246 | |
2021-08-16 21:51 | kgv | Assigned To | kgv => occ_siddhesh_nikam |
2021-08-16 21:51 | kgv | Status | new => feedback |
2021-08-16 21:51 | kgv | Resolution | open => unable to reproduce |
2021-08-16 21:53 | kgv | Relationship added | related to 0032532 |
2021-08-16 21:53 | kgv | Relationship added | related to 0032535 |
2021-08-17 13:33 | occ_siddhesh_nikam | Note Added: 0103259 | |
2021-08-17 22:45 | kgv | Note Added: 0103268 | |
2021-08-18 18:15 | occ_siddhesh_nikam | Note Added: 0103283 | |
2021-08-18 18:20 | kgv | Note Added: 0103284 | |
2021-08-18 18:20 | kgv | Note Edited: 0103284 | |
2021-08-18 18:20 | kgv | Note Edited: 0103284 | |
2021-08-18 18:24 | kgv | Note Added: 0103285 | |
2021-08-21 14:06 | occ_siddhesh_nikam | Note Added: 0103322 | |
2021-08-23 15:42 | kgv | Note Added: 0103345 |