DiscussionsIssue archiveOCCT:Visualization

Archived issue #0033416

Visualization - OCC Viewer Problem

CommunityOCCT:Visualizationfeedback1 public note

Search issues

Description

i use to bild opencascad with MS Visual studio 2019 64 bit.
i got erro at new operator in below mentioned,

myGraphicDevice = new OpenGl_GraphicDriver(aDisplayConnection);
myViewer = new V3d_Viewer(aDriver);
Handle(WNT_Window) aWNTWindow = new WNT_Window(GetSafeHwnd());
myAISContext = new AIS_InteractiveContext(myViewer);

Error show that,
no instance of overloaded matches the argument list
            argument types are: (unsigned long long, const char [50], int)
After compilation it show erro also for that plase view attached photo.
And i got same error in MS visual studion 2012 with OCC 7.7 version.

Please help to solve this error.

Public activity

1 archived note

Participants are labeled by their role within this record.

01Commenter 1
Dear @Author

For this kind of questions(occt usage and problems) please use forum - https://dev.opencascade.org/forums

But I guess that you dont include all necessary header files for the classes that used as a parameters.