Hi,
When i try to run the attached code, i get the following error:
[code]Error: can not call private or protected function C:\Users\nvashkev\My_Projects\CAA_Model_Project\neuro\run\test.cpp(122)
C:\root\bin\libRGL.dll -1 void TGLViewer::SetViewport(Int_t,Int_t,Int_t,Int_t);
Calling : TGLViewer::SetViewport(int,int,int,int);
Match rank: file line signature
ffffffff C:\root\bin\libRGL.dll -1 void TGLViewer::SetViewport(const TGLRect&);
-
4 C:\root\bin\libRGL.dll -1 void TGLViewer::SetViewport(Int_t,Int_t,Int_t,Int_t);
*** Interpreter error recovered ***
[/code]
The problem is with the line 123, actually/ (view->SetViewport(0,0,0,0) because when i comment out that line, there is no error.
I appreciate your help.
Ana
test.cpp (4.65 KB)