| Summary: | Macro command not found for "/gui/addIcon "Open macro file" open /control/execute" | ||
|---|---|---|---|
| Product: | Examples/Basic and Novice | Reporter: | Jeff <jrfein> |
| Component: | B5 | Assignee: | Ivana Hrivnacova <ivana> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | ||
| Priority: | P5 | ||
| Version: | 10.0 | ||
| Hardware: | Apple | ||
| OS: | Mac OS X | ||
|
Description
Jeff
2014-08-26 06:22:19 CEST
Hello,
The macro gui.mac is executed automatically when you have built Geant4 libraries with a graphical user interface driver, eg. Qt. See the code in the main function in exampleB5.cc:
if (ui->IsGUI())
UImanager->ApplyCommand("/control/execute gui.mac");
If you try to run this macro interactively from the application built against Geant4 libraries with no graphical UI driver available, you get the error messages as the /gui commands are not available in this case.
Can you run the macros exampleB5.in, run1.mac and run2.mac ok?
Best regards,
|