Message: cannot open input file 'libtable.a', I don't know what this is about Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None cannot open input file 'libtable.a', I don't know what this is about 

Forum: Installation and Configuration
Date: 09 Jul, 2008
From: Colin Huang <Colin Huang>

The system is windows XP + cygwin. I made a very simple test program which prints information of Air and W with FindOrBuildMaterial() method implemented by G4NistManager class. It only has a file named table.cc. The code is as follows:

#include "globals.hh"
#include "G4Material.hh"
#include "G4NistManager.hh"
int main()
  {
    G4NistManager* man = G4NistManager::Instance();
    man -> SetVerbose(1);
    G4Material* W = man->FindOrBuildMaterial("G4_W");
    G4Material* Air = man->FindOrBuildMaterial("G4_AIR");
    G4cout << W << G4endl;
    G4cout << Air << G4endl;
    return EXIT_SUCCESS;
  }

When making table.cc, it gave the following error information:

Linking table ...
LINK : fatal error LNK1181: cannot open input file 'libtable.a'
make: *** [c:/MCSimulation/bin/WIN32-VC/table] Error 2

I don't know why this is happening. Actually the codes are almost entirely copied from the user's guide. I just tweaked a little bit.

Any hints are appreciated.

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

1 None: Re: cannot open input file 'libtable.a', I don't know what this is about   (John Allison - 10 Jul, 2008)
 Add Message Add Message
to: "cannot open input file 'libtable.a', I don't know what this is about"

 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 ]