Message: Re: How to use the precompiled lib for VC++ Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to use the precompiled lib for VC++ 

Keywords: install win vc++
Forum: Installation and Configuration
Re: Question How to use the precompiled lib for VC++ (Shitao)
Date: 31 Aug, 2007
From: Gabriele Cosmo <Gabriele Cosmo>

> How can I use the *.a files in the precompiled win32-VC package? Just put in some
> directory and setup environment? Could someone give me a detail instruction?
> I am using VC++8.0 and WinXP.

You must have the source code of that Geant4 release dowloaded and installed;
then, in your CygWin environment properly configured to use VC++ (see also the
Installation Manual):
- set G4SYSTEM to be WIN32-VC;
- define your work directory path in G4WORKDIR;
- set CLHEP_BASE_DIR to your installation of CLHEP;
- set G4INSTALL to the path where the source code is placed;
- set G4LIB to the path where the unpacked archive of the libraries
   you downloaded is located;
- set any path to the downloaded data libraries;
- (optionally) set G4UI_USE_WIN32 and G4VIS_USE_OPENGLWIN32.

Build a G4 example or your application.

Libraries for VC++8.0 are available only for the latest version 9.0.p01.

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

 Add Message Add Message
to: "Re: How to use the precompiled lib for VC++"

 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 ]