Message: RE: Problem of including an analysis in exampleA01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None RE: Problem of including an analysis in exampleA01 

Forum: Analysis
Re: None Problem of including an analysis in exampleA01 (Sergey)
Re: None Re: Problem of including an analysis in exampleA01 (Mark Donszelmann)
Re: None Re: Problem of including an analysis in exampleA01 (Sergey)
Re: None Re: Problem of including an analysis in exampleA01 (Mark Donszelmann)
Date: 05 Apr, 2005
From: <tony_johnson@slac.stanford.edu>

Hi Mark, it looks like sergey did send a detailed problem report back on March 1st. You replied back then, but I guess did not solve his problem. I appended his original mail below.

It seems that he is using visual studio to compile, which means that the scripts which run as part of the normal gmake system to set the paths for AIDA libraries and includes will not be run. Do we have any instructions for how to do this manually with visual studio?

Sergey's original message...............

Hello all.

 I have a problem of including an analysis in exampleA01.
 I am using Windows 2000, Visual Studio.Net 2003 and geant4_7_0.
 I setup AIDA-3.2.1,JAIDA-3.2.1 and AIDAJNI-3.2.1. and set the environment variables
JDK_HOME=C:\j2sdk1.4.1_02,JAIDA_HOME=C:\JAIDA-3.2.1 and AIDAJNI_HOME=C:\AIDAJNI-3.2.1.

 Then, I run aidajni-setup.bat and aida-setup.bat.

After setting G4ANALYSIS_USE in IDE, I rebuilt the exampleA01 and got following linking errors.

C:\g4\geant4_7_0\examples\extended\analysis\A01\include\A01E
ventAction.hpp(34): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

C:\g4\geant4_7_0\examples\extended\analysis\A01\include\A01E
ventAction.hpp(34): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

C:\g4\geant4_7_0\examples\extended\analysis\A01\include\A01E
ventAction.hpp(34): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

C:\g4\geant4_7_0\examples\extended\analysis\A01\src\A01Analy
sisManager.cpp(55): fatal error C1083: Cannot open include

file: 'AIDA/AIDA.h': No such file or directory

When I add a directory ("C:\AIDAJNI-3.2.1\include.") in which header file can be found to "Additional Include Directories", I get error message.

 Linking...
 A01AnalysisManager.obj : error LNK2019: unresolved external symbol _AIDA_createAnalysisFactory referenced in function "private: __thiscall A01AnalysisManager::A01AnalysisManager(void)"
(??0A01AnalysisManager@@AAE@XZ)
 Debug/A01.exe : fatal error LNK1120: 1 unresolved externals

 How to solve it, could somebody help me?

 Thanks.
 Regards, Sergey.

> -----Original Message-----
> From: Mark Donszelmann [mailto:Mark.Donszelmann@slac.stanford.edu] 
> Sent: Monday, April 04, 2005 3:54 PM
> To: publichypernews
> Subject: Re: Problem of including an analysis in exampleA01
> 
> *** Discussion title: Analysis
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/analysis/123/1/1/1"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> Hi
> 
> if you did not use Cygwin, how did you compile geant4?
> 
> To analyse your problem, please post a step by step 
> description of what you have done, so that we can look into it.
> 
> Regards
> Mark
> 
> 

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

 Add Message Add Message
to: "RE: Problem of including an analysis in exampleA01"

 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 ]