|Message: linking with another G4 module||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I have a number of very similar applications. I have setup a library of G4 base classes which I used for derived classes for my applications. I've used the G4 make system by making a fake application and using the standard GNUmakefile to create the library. For the application which inherits from this group of base classes, I modified the GNUmakefile following http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/BackupVersions/V9.1/html/apas05.html#sect.MkflEnvVar.LnkExtLib. I do not use the last few lines of the example at the bottom of that page as it seems to setup a recursive error loop. I've pasted the makefile for the application at the bottom|
This approach works when I explicitly derive classes from my base classes in my application. However, if I try to use the base class directly in my application (e.g. my PhysicsList almost never changes, so I would just like to use it directly), everything compiles, but the linker complains that it cannot find symbols to the various G4 objects that my base class uses (it finds what it needs in the classes derived from my base classes). Does anyone know how to solve this problem?
name := SLIDet1
G4TARGET := $(name)
G4EXLIB := true
EXTRALIBS += $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(name)/libSLIDet1.a \
EXTRALIBSSOURCEDIRS += $(G4WORKDIR)/projects/SLIDet1 $(G4WORKDIR)/projects/GAW
EXTRA_LINK_DEPENDENCIES := $(G4WORKDIR)/tmp/$(G4SYSTEM)/$(name)/libSLIDet1.a
all: lib bin
CPPFLAGS := -O3 -I$(G4WORKDIR)/projects/GAW/include
|Inline Depth:||Outline Depth:||Add message:|