
Fri, 03/28/2025 - 14:22
Forums:
If #include<V3d_Viewer.hxx>, an error will occur
OpenCASCADE79\OCCT-7_9_0\src\V3d\V3d_Light.hxx(26,9): error C4996: 'Handle_Graphic3d_CLight': This class will be removed right after 7.9 release. Use Handle(T) directly instead.
Fri, 03/28/2025 - 14:30
Hello. It is must be a warning. I assume in your project you specify Warning to be marked as Errors.
In that case, you need to supress them.
Please before calling header, define the next:
#define OCCT_NO_DEPRECATED
Best regards, Dmitrii.
Fri, 03/28/2025 - 14:49
Thanks