|Message: Error making example N01, Cannot open CLHEP.lib||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 trying to run exampleN01 but when I do I continously get the following error: LINK: fatal error LNK1181: cannot open input file 'CLHEP.lib'
Here's the error in context:
Open a new Cygwin Window:
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
Attempting to detect a Microsoft Visual Studio installation
Targeting Windows XP 32 DEBUG
Ryan Manger@nola ~ $ export G4WORKDIR=c:/g4work
Ryan Manger@nola ~ $ source c:/Geant4/geant4_9_2/env.sh On this machine the G4SYSTEM=WIN32-VC On this machine the G4INSTALL=c:/Geant4/geant4_9_2 On this machine the G4LIB=c:/Geant4/geant4_9_2/lib On this machine the G4LEVELGAMMADATA=1/PhotonEvaportaion2.0 On this machine the G4RADIOACTIVEDATA=1/RadioactiveDecay3.2 On this machine the G4LEDATA=1/G4EMLOW6.2 On this machine the G4NEUTRONHPDATA=c:/Geant4/geant4_9_0/data/G4NDL3.11 On this machine the CLHEP_BASE_DIR=c:/CLHEP On this machine the CLHEP_INCLUDE_DIR=c:/CLHEP/include On this machine the CLHEP_LIB_DIR=c:/CLHEP/lib On this machine the CLHEP_LIB=CLHEP.lib On this machine the G4UI_BUILD_WIN32_SESSION=1 On this machine the G4UI_USE_WIN32=1 On this machine the G4VIS_BUILD_OPENGLWIN32_DRIVER=1 On this machine the G4VIS_USE_OPENGLWIN32=1 On this machine the XMFLAGS= On this machine the XMLIBS= On this machine the XMFLAGS= On this machine the XAWFLAGS= On this machine the XAWLIBS= On this machine the G4LIB_BUILD_STATIC=1 On this machine the G4LIB_USE_GRANULAR=1
Ryan Manger@nola ~ $ cd $G4WORKDIR/N01
Ryan Manger@nola ~ $ make Making dependency for file exampleN01.cc ... Making dependency for file src/ExN01PrimaryGeneratorAction.cc ... Making dependency for file src/ExN01PhysicsList.cc ... Making dependency for file src/ExN01PhysicsList.cc ... Making dependency for file src/ExN01DetectorConstruction.cc ... Compiling ExN01DetectorConstruction.cc ... ExN01DetectorConstruction.cc Compiling ExN01PhysicsList.cc ... ExN01PhysicsList.cc Compiling ExN01PrimaryGeneratorAction.cc ... ExN01PrimaryGeneratorAction.cc Creating/replacing object files in c:/g4work/tmp/WIN32-VC/exampleN01/libexampleN01.a ... Microsoft <R> Library Manager Version 8.00.50727.762 Copyright <C> Microsoft Corporation. All rights reserved.
Compiling exampleN01.cc ... exampleN01.cc Using granular libraries ... Linking exampleN01 ... LINK: fatal error LNK1181: cannot open input file 'CLHEP.lib' make: ***[c:/g4work/bin/WIN32-VC/exampleN01] Error 2
Ryan Manger@nola ~ $
That's as far as it will run. I've checked the forums and searched online and there seems to be some connection possible to Microsoft SDK but I can't get any clear answers about how to fix this. If anyone has any ideas please let me know and many thanks.
|Inline Depth:||Outline Depth:||Add message:|