Message: Re: Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re:  

Forum: Installation and Configuration
Re: Question "G4Tree.dll was not found" error when running application with geant4.9.6 (Leila Moghadasi)
Date: 19 Feb, 2013
From: Ben Morgan <Ben Morgan>

Hi Leila,

I'm reposting to question here as it may be useful to others:

Hi Ben,

Thank you very much for your help, I edited the PATH environment variable,
and that error was gone. However, the application didn't execute saying
"the application stopped working".
I suspect I am giving the command wrongly. Since in my simulation I have a
macro file to be executed with my executable, I used to execute my
application as : "myapplication fullRun.mac" where fullRun.mac is the name
of my macro file.
When I couldn't run it this way, I thought may be I should put a copy of my
macro file under Debug folder, again the same result!
Could you please advise me how to get my application executed?

Thank alot

I'm not sure of the exact pattern you've used to run, but if your application accesses macros in the same way as the examples, then they need to be supplied either as a full (i.e. absolute) path to the macro file, or as a relative path from the directory you are working in to the macro file.

If you haven't done so already, I would try starting the application in a directory where a copy of the macro resides. Running myapplication fullRun.mac should then work. If not, double check how your application tries to locate the macro, and maybe also put some debugging output to get some indication of where the application falls over.



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

1 Ok: Re:   (Leila Moghadasi - 19 Feb, 2013)
 Add Message Add Message
to: "Re: "

 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 ]