|Message: Geant4.9.4.p4 Windows and DLLs||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'm working with Geant4.9.4.p01 built via cygwin with VS 2008. I wanted to try out the shared libraries, and did so through the ./Configure script and just chose to build shared, no static. The resulting lib directory contains *.dll, *.a and *.lib. Does that mean I'm getting both the static version of the libraries as well as the dlls and import libraries? Now that I have G4 built, I'm working directly in VC++, and trying to set up my build to link correctly to the shared libraries. I have set G4LIB_USE_DLL, but I do receive linking errors due to unresolved symbols such as in G4Allocator. I was looking back at G4's binmake.gmk to get some clues and I noticed:
ifneq (,$(findstring WIN32-VC,$(G4SYSTEM))) # Windows WIN32TMP := $(patsubst -L%,$(LIB_PATH)%,$(LDFLAGS)) LDFLAGS = $(patsubst /,$(PATH_DEL),$(WIN32TMP)) WIN32TMP2 := $(patsubst -L%,$(LIB_PATH)%,$(LDLIBS_PREFINAL)) WIN32TMP3 := $(patsubst -L%,$(LIB_PATH)%,$(LDLIBS1)) WIN32TMP4 := $(patsubst -L%,$(LIB_PATH)%,$(LDLIBS_KERNEL)) ifdef SHAREDLIBS ifdef G4LIB_USE_DLL LDLIBS = $(TARGETLIB) $(patsubst -l%,lib%.a,$(WIN32TMP3)) $(patsubst -l%,lib%.lib,$(WIN32TMP4))
My Makefile-ese is rusty, but am I reading that to say I should be including some portion of the *.a files in my link? And if so, which ones? I'm really looking for a low-level set of G4 libraries - so no UI or VIS is required.
|Inline Depth:||Outline Depth:||Add message:|