Message: Re: Running Brachytherapy example,fatal error LNK1181 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Running Brachytherapy example,fatal error LNK1181 

Keywords: Brachytherapy example
Forum: Medical Applications
Re: Question Running Brachytherapy example,errorC3861 (Ram Ezhil)
Re: None Re: Running Brachytherapy example,errorC3861 (Ken Sutherland)
Re: Feedback Re: Running Brachytherapy example,fatal error LNK1181 (Ram Ezhil)
Re: None Re: Running Brachytherapy example,fatal error LNK1181 (Ken Sutherland)
Date: 13 Dec, 2004
From: Norman Graf <Norman Graf>

Hello Ram,
 The cygwin+make build will generate libraries using a UNIX
naming convention, viz. libXXX.a on the Windows platform;
this is normal. To resolve your linking problem, please 
check that you built your Geant4 core libraries using the 
same setup as you are using to try to build the example 
executable. I suspect you built the granular libraries
and are now trying to link to the global libraries, 
since the interfaces library is only built when you 
select global compound libraries instead of granular 
libraries in your build. If this is the case, you can
build the global libraries simply by invoking

make global

from the source directory. This should build the following
global libraries for you:

libG4interfaces.a
libG4processes.a
libG4digits_hits.a
libG4particles.a
libG4geometry.a
libG4global.a


Once you have the executable, you will need to download
the datafiles for the low energy EM physics processes.
You can obtain them from:

http://geant4.cern.ch/geant4/source/source/G4EMLOW2.3.tar.gz

Once you've expanded them, you will need to define G4LEDATA
to point to that location, e.g.

export G4LEDATA="F:\g4\geant4_6_2_p02\G4EMLOW2.3"


Good Luck,
Norman Graf

P.S. 
#include <ctime> would be the preferred C++ style.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Running Brachytherapy example,fatal error LNK1181   (Ram Ezhil - 14 Dec, 2004)
(_ None: Command line warning D4024 : unrecognized source file type   (Ram Ezhil - 15 Dec, 2004)
 Add Message Add Message
to: "Re: Running Brachytherapy example,fatal error LNK1181"

 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 ]