Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032537Community[OCCT] OCCT:Codingpublic2021-08-16 14:212021-08-23 15:42
Assigned Toocc_siddhesh_nikam 
StatusfeedbackResolutionunable to reproduce 
PlatformWindowsOSWin 8OS Version8.1
Product Version[OCCT] 7.5.0 
Target VersionFixed in Version 
Summary0032537: Exception occurs after updating OCCT_7.2.0 to OCCT_7.5.0
DescriptionHello 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.


TagsNo tags attached.
Test case number
Attached Filespng file icon 1.png (11,716 bytes) 2021-08-16 14:21

- Relationships
related to 0032532closedbugmaster Multiple Views using "WNT_Window" in MFC Dialog 
related to 0032535closedbugmaster Error on debugging with OCCT_7.5.0 

-  Notes
kgv (developer)
2021-08-16 21:51

Do you experience the same issue in Release builds?
Which code / sample are you testing?
occ_siddhesh_nikam (reporter)
2021-08-17 13:33

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.

kgv (developer)
2021-08-17 22:45

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.
occ_siddhesh_nikam (reporter)
2021-08-18 18:15

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.

kgv (developer)
2021-08-18 18:20
edited on: 2021-08-18 18:20

Please pay attention to the coming within MFC sample itself - see also generated documentation online: [^]

kgv (developer)
2021-08-18 18:24

> "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.
occ_siddhesh_nikam (reporter)
2021-08-21 14:06

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?

kgv (developer)
2021-08-23 15:42

> 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.

- Issue History
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 View Revisions
2021-08-18 18:20 kgv Note Edited: 0103284 View Revisions
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

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker