Wed, 07/01/2020 - 20:14
Forums:
While building Sample projects from the path opencascade-7.3.0\samples\mfc\occtdemo, compilation error shows the following message:
'Cannot open include file: 'Graphic3d_WNTGraphicDevice.hxx': No such file or directory OCCDemo_Presentation.cpp'
This header file
Could you guide me in fixing this issue?
Wed, 07/01/2020 - 21:18
This is an old outdated sample, which has been removed.
If you are new to OCCT - take a look onto other samples like mfc/standard.
If you are interested in particular sample - you have to upgrade it on your own. For that, an Upgrade Guide might be helpful:
https://dev.opencascade.org/doc/overview/html/occt_dev_guides__upgrade.html
Although for that you might need to understand on which last version of OCCT this sample was compilable...
Wed, 07/01/2020 - 21:21
For your information, particular class Graphic3d_WNTGraphicDevice has been removed in OCCT 6.6.0.
Thu, 07/02/2020 - 11:37
Thank you for the response!
Yes, I am new to OpenCasade.
I could build sample/mfc/standard. It shows an output window and then throws the following error from the method inline void glClear(GLbitfield theMask) in OpenGl_GlCore11Fwd.hxx.
вЂException thrown at 0x00007FF8B09BDB5F (igc64.dll) in Geometry.exe: 0xC0000090: Floating-point invalid operation (parameters: 0x0000000000000000, 0x0000000000001921).
Unhandled exception at 0x00007FF8B09BDB5F (igc64.dll) in Geometry.exe: 0xC000041D: An unhandled exception was encountered during a user callback.’
Thu, 07/02/2020 - 12:07
You can try disabling floating point exceptions coming from Intel driver in file samples\mfc\standard\Common\OCC_App.cpp:
Thu, 07/02/2020 - 15:00
Awesome!! It worked.
Thu, 07/02/2020 - 11:40
Thanks you for the response!
Yes, I am new to Opencascade.
I could build sample/mfc/standard.
However, there seems to be some minor issue while executing it. It shows an output window and then throws the following error from the method inline void glClear(GLbitfield theMask) in OpenGl_GlCore11Fwd.hxx.
вЂException thrown at 0x00007FF8B09BDB5F (igc64.dll) in Geometry.exe: 0xC0000090: Floating-point invalid operation (parameters: 0x0000000000000000, 0x0000000000001921).
Unhandled exception at 0x00007FF8B09BDB5F (igc64.dll) in Geometry.exe: 0xC000041D: An unhandled exception was encountered during a user callback.’