View Issue Details

IDProjectCategoryView StatusLast Update
0032537CommunityOCCT:Codingpublic2021-08-23 15:42
Reporterocc_siddhesh_nikam Assigned Toocc_siddhesh_nikam  
PrioritynormalSeverityminor 
Status feedbackResolutionunable to reproduce 
PlatformWindowsOSWin 8 
Product Version7.5.0 
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.

Thanks.

TagsNo tags attached.
Test case number

Attached Files

  • 1.png (11,716 bytes)

Relationships

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

Activities

occ_siddhesh_nikam

2021-08-16 14:21

reporter  

1.png (11,716 bytes)

kgv

2021-08-16 21:51

developer   ~0103246

Do you experience the same issue in Release builds?
Which code / sample are you testing?

occ_siddhesh_nikam

2021-08-17 13:33

reporter   ~0103259

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!

kgv

2021-08-17 22:45

developer   ~0103268

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

2021-08-18 18:15

reporter   ~0103283

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.

kgv

2021-08-18 18:20

developer   ~0103284

Last edited: 2021-08-18 18:20

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

kgv

2021-08-18 18:24

developer   ~0103285

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

2021-08-21 14:06

reporter   ~0103322

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.

kgv

2021-08-23 15:42

developer   ~0103345

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