Message: Problem assembling an application - using RHadrons external packages Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Problem assembling an application - using RHadrons external packages  

Forum: Documentation and Examples
Date: 04 Sep, 2012
From: John Apostolakis <John Apostolakis>

Dear Jonathan,

I think that you are encountering an issue regarding how to package the source code of a Geant4 application.

Typically an example application has a directory "include" and a directory "source".

If you add the relevant hh files to the include directory and the cc files to the source directory, the old GNUmakefile system would find them.

I am not 100% whether this would also be the case if you fully adopt the Cmake based system.  

Can you explain briefly how you have organized the source and object files, and what type of build system you are using ? 

John
Just noticed that this was from July 31st - so I expect that you are over it.  Can you confirm? 
Else we can try posting on docsexamples-g4hn@slac.stanford.edu, 

On Jul 31, 2012, at 10:51 PM, Jonathan Porter wrote:

> Subject: Re: Error C1083 when compiling G4RHadrons example (from CERN)

> *** Discussion title: Physics List
> 
> When I try to compile an example called "G4Rhadrons_with_Regge_model"
> (from the CERN website), I get the following error:
> 
> C:\g4work\G4Rhadrons_with_Regge_model\src\CustomPDFParser.cc : fatal
> error C1083 : Cannot open compiler generated file:
> '/cygdrive/c/g4work/G4Rhadrons_with_Regge_model/tmp/WIN32-VC/exampleRhad/CustomPDFParser.o':
> No such file or directory
> 
> I've attached the CustomPDFParser.cc file. Any suggestions?
> 
> Thanks,
> 
> Jonathan
> 
>   Attachment:
>      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2012/07/31/13.46-91040-CustomPDGParser.cc
> 
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at: 
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/phys-list/715.html 

 Add Message Add Message
to: "Problem assembling an application - using RHadrons external packages "

 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 ]