[Gate-users] Visual on a MAC

Nils Krah nils.krah at creatis.insa-lyon.fr
Mon Jun 17 22:53:00 CEST 2019


Hi Michael,
I had similar issues. What worked for me was installing QT using conda. (https://anaconda.org) So you would do something like

$ conda install qt

My ccmake configuration then is:

 Qt5Core_DIR                      /Users/nkrah/anaconda2/lib/cmake/Qt5Core
 Qt5Gui_DIR                       /Users/nkrah/anaconda2/lib/cmake/Qt5Gui
 Qt5OpenGL_DIR                    /Users/nkrah/anaconda2/lib/cmake/Qt5OpenGL
 Qt5PrintSupport_DIR              /Users/nkrah/anaconda2/lib/cmake/Qt5PrintSupport
 Qt5Widgets_DIR                   /Users/nkrah/anaconda2/lib/cmake/Qt5Widgets

The same for the Geant4 compilation. On the other hand, using QT installed with brew did not work for me because of some dynamic library issues which I was unable to figure out.

I also installed XQuartz (https://www.xquartz.org) to have X11 on the MacOS system. This appears to be used by Geant4:
 OPENGL_X11_INCLUDE_DIR           /usr/X11R6/include

Let me know. We can also try to fiddle around together. I cannot really recall all the details - it was a bit of trial and error. Maybe other Gate on MacOS users have a technically more sound explanation than mine.

Hope it helps,
Nils
On 17 Jun 2019 at 16:21 -0400, Michael Ljungberg <michael.ljungberg at med.lu.se>, wrote:
> Hi
>
> I wonder what selection I should do on the ccmake of geant4 and gate in order to be able to visualize the geometry? I know one can use QT but how should I install this? I have the latest MacOS.
>
> Hälsningar / Best Regards
>
> Michael
> ________________________
> Michael Ljungberg, PhD, professor
> Department of Medical Radiation Physics
> Lund University
> Barngatan 4
> SE-221 85 Lund
> Phone: +46 46 173565
> Cellular: +46 708 173115
> http://www.msf.lu.se
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190617/6eb3b3ee/attachment-0001.html>


More information about the Gate-users mailing list