|Message: Building DLLs on Windows XP||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 having difficulty installing Geant4 with the option to build DLLs turned on. It's a Windows XP system with cygwin, and Geant4_9_3_p01.
I do not have any troubles compiling and running with the DLL option turned off following Joseph Perl's installation instructions on: http://geant4.slac.stanford.edu/tutorial/installation/Geant4.9.3.p01/Windows/Geant4_9_3_p01_Windows_Installation.htm
However, once I turn the DLL option on, I get a series of different linker errors starting with:
Building G4intercoms.dll file ... libG4intercoms.a(G4UImanager.o) : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > G4cout" (?G4cout@@3V?$basic_ostream@DU?$char_traits@D@std@@@std@@A)
I get similar errors with libG4graphics_reps.a, libG4materials.a, libG4geometry.a, libG4particles.a, libG4track.a, libG4digits_hits.a, libG4processes.a.
However, many dll libraries are successfully built (G4Tree, G4tracking, G4run, G4readout, G4RayTracer, G4physicslists, G4global, G4event, and several others).
I'm trying to hunt down the missing link. Have I somehow neglected an important environment variable? Probably, but which one?
I've attached the g4make file if anyone is willing to take a closer look.
I have followed the instructions on http://geant4.cern.ch/support/windows_note.shtml to mv link.exe cyglink.exe so that the proper link.exe is used.
I'll post a solution if/when I resolve the issue.
|Inline Depth:||Outline Depth:||Add message:|