<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">Hi !<br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div><br>have you installed the openGL and others "devel" package before to compile geant4 and gate ?<br><br>eg for ubuntu :<br>apt-get -y update<br>apt-get -y upgrade<br>apt-get -y --force-yes install build-essential emacs csh g77 <br>apt-get -y --force-yes install lesstif2-dev libxmu-dev<br>apt-get -y --force-yes install libxml2-dev libmysql++-dev libfftw3-dev<br>apt-get -y --force-yes install libtiff-dev libxpm-dev libpng12-dev libpng3<br>apt-get -y --force-yes install libgl1-mesa-dev libgle3-dev libglew1.5 libglew1.5-dev libglu1-mesa-dev libglut3-dev glutg3-dev<br></div><div
 style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><br>eg for Fedora :<br>yum -y update<br>yum -y install lesstif lesstif-devel lesstif-mwm libtiff-static tcsh compat-gcc-34-g77<br>yum -y install libpng10
 libpng10-devel libpng-static mysql mysql++ mysql-devel mysql++-devel<br>...<br><br>a few weeks ago I've post a complete script/tutorial about how to quickly install open-Gate (with openGL, LMF3, ECAT7 ...) on Fedora 8 / Ubuntu 8.04 LTS.<br><br>Best Regards<br><br>and good luck !<br><br>Samuel<br><br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De :</span></b> Naser Darwish &lt;naser.darwish@gmail.com&gt;<br><b><span style="font-weight: bold;">À :</span></b> gate-users@lists.healthgrid.org<br><b><span style="font-weight: bold;">Envoyé le :</span></b> Samedi, 4 Avril 2009, 8h42mn 02s<br><b><span style="font-weight: bold;">Objet&nbsp;:</span></b> [Gate-users] Cannot get visualization to work with GATE<br></font><br>Dear GATE users,<br><br>I have geant4.9.1.p02 with GATE 4.0 installed and I can get the<br>simulation to work without
 visualization. However, I would like to be<br>able to use the visualization openGL but I cannot get it to work. What<br>is the mechanism of the steps for visualization prior to and after<br>simulation? I do not know how to get the visualization to work.&nbsp; I am<br>following the GATE manual in setting up the visualization script and I<br>know that openGL should be installed because when I initialize, I get<br>the following comment:<br><br>On this machine the G4VIS_USE_OPENGLX=1<br><br><br>This what I type for visualization in the GATE script<br><br>#VISUALIZATION<br>/vis/open OGLSX<br>/vis/viewer/reset<br>/vis/viewer/set/viewpointThetaPhi 90 90<br>/vis/viewer/zoom 2<br>/vis/viewer/set/style surface<br>/vis/drawVolume<br>/tracking/storeTrajectory 1<br>/vis/scene/endOfEventAction accumulate<br>/vis/viewer/update<br>/vis/verbose 2<br>/gate/geometry/enableAutoUpdate<br><br>The error message I get is:<br><br><br>ERROR: G4VisManager::IsValidView(): Current
 view is not valid.<br>ERROR: G4VisManager::PrintInvalidPointers:<br>&nbsp; Graphics system is OpenGLStoredX but:<br>&nbsp; Null viewer pointer. Use "/vis/viewer/create".<br><br>I appreciate the help.<br><br>Best regards,<br><br>Naser<br>_______________________________________________<br>Gate-users mailing list<br><a rel="nofollow" ymailto="mailto:Gate-users@lists.healthgrid.org" target="_blank" href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br><a rel="nofollow" target="_blank" href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br></div></div></div><br>



      </div></div></div><br>



      </body></html>