I get the following error when trying to compile the QtVtk examples from the GUI\Qt directory. Except for the init function (which I dont see in the .ui.h file) , all the otehr errors should not be present. The variables are declared in the gui.h file. Nevertheless I get the following error.<br><br>Any clue as to what I should do ? Or what may be the problem ?<br><br>Thanks in advance,<br>Emma<br><br><br><br>:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(39) : error C2039: 'init' : is not a member of 'Form1'<br> C:/netprograms/VTK/Examples/GUI/Qt/Events/GUI.h(30) : see declaration of 'Form1'<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(44) : error C2065: 'qVTK1' : undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(44) : error C2227: left of '->SetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(48) : error C2065: 'ren1' :
undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(48) : error C2440: '=' : cannot convert from 'class vtkRenderer *' to 'int'<br> This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(49) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(49) : error C2227: left of '->AddRenderer' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(56) : error C2065: 'connect' : undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(56) : error C2673: 'init' : global functions do not have 'this' pointers<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(64) : error C2227: left of '->AddViewProp' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(72) : error
C2065: 'qVTK2' : undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(72) : error C2227: left of '->SetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(76) : error C2065: 'ren2' : undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(76) : error C2440: '=' : cannot convert from 'class vtkRenderer *' to 'int'<br> This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(77) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(77) : error C2227: left of '->AddRenderer' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(84) : error C2673: 'init' : global functions do not have 'this'
pointers<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(92) : error C2227: left of '->AddViewProp' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(98) : error C2065: 'connections' : undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(98) : error C2440: '=' : cannot convert from 'class vtkEventQtSlotConnect *' to 'int'<br> This conversion requires a reinterpret_cast, a C-style cast or function-style cast<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(101) : error C2227: left of '->Connect' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(101) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(101) : error C2227: left of '->GetInteractor' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(103) :
error C2673: 'init' : global functions do not have 'this' pointers<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(108) : error C2227: left of '->Connect' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(108) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(108) : error C2227: left of '->GetInteractor' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(110) : error C2673: 'init' : global functions do not have 'this' pointers<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(115) : error C2227: left of '->Connect' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(115) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(115) : error C2227: left of '->GetInteractor' must point to
class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(117) : error C2065: 'radio1' : undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(121) : error C2227: left of '->Connect' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(121) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(121) : error C2227: left of '->GetInteractor' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(123) : error C2065: 'radio2' : undeclared identifier<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(127) : error C2227: left of '->Connect' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(127) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(127) : error C2227: left of
'->GetInteractor' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(129) : error C2673: 'init' : global functions do not have 'this' pointers<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(133) : error C2227: left of '->Connect' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(133) : error C2227: left of '->GetRenderWindow' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(133) : error C2227: left of '->GetInteractor' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(135) : error C2673: 'init' : global functions do not have 'this' pointers<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(138) : error C2227: left of '->PrintSelf' must point to class/struct/union<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.ui.h(143) : error C2509: 'destroy' : member function not declared in
'Form1'<br> C:/netprograms/VTK/Examples/GUI/Qt/Events/GUI.h(30) : see declaration of 'Form1'<br>C:\netprograms\VTK\Examples\GUI\Qt\Events\GUI.cxx(31) : warning C4114: same type qualifier used more than once<br>moc_GUI.cxx<br>Generating Code...<br>Error executing cl.exe.<br><br>ALL_BUILD - 46 error(s), 1 warning(s)<br><br><br><p> 
                <hr size=1>How low will we go? Check out Yahoo! Messenger’s low <a href="http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com"> PC-to-Phone call rates.