Message: Running example on Xcode and build-up geant4 application using C++ codes Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Running example on Xcode and build-up geant4 application using C++ codes 

Forum: Documentation and Examples
Date: 06 Jul, 2013
From: fatin hamimi mustafa <fatin hamimi mustafa>

Hi

I have 2 questions regarding using xcode for geant4 application on mac 10.7. I am very beginner on this.

1) I have tried to run example N06 but results error of 'can not open a macro file <vis.mac>'. I built N06-build by terminal and installed by using this code in that N06-build file "cmake -G Xcode -DGeant4_DIR=/users/abc/desktop/geant4.9.6-install/lib/geant4-9.6.2 /users/abc/N06". After that, I opened up N06.xcodeproj in N06-build file. I went to Product>Scheme>Edit scheme and selected 'exampleN06' under executable. After click product>run, the error occured. How to fix this? For visualisation, does the object will appear using xcode or I have to run saperately on Qt/OpenGL/etc?

2) Correct me if I am wrong. To build-up geant4 application using C++ codes on xcode, I have to include the codes of G4RunManager.hh, G4UImanager.hh and etc. After that, do I have to add those files in the same folder as the .cc file? And are there any additional steps? I have tried to find out the steps but haven't find that.

Thanks in advance

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Running example on Xcode and build-up geant4 application using C++ codes   (Ivana Hrivnacova - 28 Aug, 2013)
 Add Message Add Message
to: "Running example on Xcode and build-up geant4 application using C++ codes"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]