[Gate-users] Compiling and debugging gate

David Boersma david.boersma at physics.uu.se
Fri Sep 18 17:55:37 CEST 2015


Hi Anders,

On 2015-09-18 13:31, Anders Garpebring wrote:
> Hi,
>
> I want to modify some actor in Gate. I have tried to just use virtual
> gate and import the cmake file into the kdevelop c++ environment.

You can do that, but the latest vGate uses a pretty old Gate release. 
Your issue might already have been solved in a newer release or in the 
development branch on git.

> Sure
> that is possible but then there seem to be a make file missing when I
> want to compile the project. Anyone have any idea?

Nope. I have no experience with kdevelop.


> How are you
> developers working when writing code for Gate?

I am only a beginner in Gate but I did some first modifications.

I do not use any GUIs, I just build gate with command line tools. I use 
ccmake instead of cmake, it is a very efficient way to check all 
relevant build settings. Then I use vim to modify code (and if you start 
that in the build directory then you can use ":make" to compile and 
navigate to any code that has problems.


>
> I’ve also tried to compile gate from scratch but I get stuck already at
> geant4. Sure it compiles and I can even compile examples. But they
> cannot be run in virtual box due to some vbox opengl driver bug
> preventing QT from working. Anyone know a workaround the virtualbox
> opengl bug? Seems like this bug is also there in the vGate distribution
> but does not cause programs to shut down.

To get help on your it might help to hat is your host system and the 
version of VirtualBox (the program itself, not the vGate file) that you 
installed on it.

HTH,
David

>
> Best,
>
> Anders
>
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>


More information about the Gate-users mailing list