Message: Building DLLs on Windows XP Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Building DLLs on Windows XP 

Forum: Installation and Configuration
Date: 20 Oct, 2010
From: Nicholas Remmes <Nicholas Remmes>

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:

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 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:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Building DLLs on Windows XP -- OpenGL culprit   (Nicholas Remmes - 21 Oct, 2010)
2 None: Re: Building DLLs on Windows XP -- OpenGL culprit   (Nicholas Remmes - 21 Oct, 2010)
 Add Message Add Message
to: "Building DLLs on Windows XP"

 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 ]