|Message: Re: Error after creating the following geametry||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)|
Dear Aqsa, The error which you copied in your message does not come from the compilation of the code, but from CMake. So it says nothing about whether solidSideWall or logicSideWall are correct or not - the arguments can be all correct or could have been all wrong. A) If the error message was only what you copied, then the compiler never saw them. I suggest to try 2 things: 1) re-run cmake in case this fixes the issue 2) remove the build directory for your application and create a new one (hopefully this should take care of it.) To do this correctly, please read carefully the instructions on creating it. B) If there was more to the error message, then check the line of your file which it mentions. Best regards, John Apostolakis =================================================== John Apostolakis, EP Department, CERN On 30 Jan 2018, at 06:35, Aqsa <email@example.com<mailto:firstname.lastname@example.org>> wrote: *** Discussion title: Geometry GEOMETRY: G4VSolid* solidSideWall= new G4Trap("SideWall", 60*mm,20*Degree, 5*Degree,40*mm, 30*mm,40*mm, 10*degree,16*mm, 10*mm,14*mm 10*Degree); G4LogicalVolume* logicSideWall= new G4LogicalVolume(solidSideWall, Tungsten, "Trap", 0,0,0); new G4PVPlacement(0, G4ThreeVector(), logicSideWall, "SideWall", fpWorldLogical, false, 0); ERROR: CMakeFiles/PHOTO10.dir/build.make:158: recipe for target 'CMakeFiles/PHOTO10.dir/src/DetectorConstruction.cc.o' failed make: *** [CMakeFiles/PHOTO10.dir/src/DetectorConstruction.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/PHOTO10.dir/all' failed make: *** [CMakeFiles/PHOTO10.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 NOTE: I tried to compile by erasing all other volumes in my Detector Construction to avoid any kind of overlap but it still doesn't work. Is there any mistake in creating the Trapezoid? What might be the problem? Kindly, Help. ------------------------------------------------------------- Visit this GEANT4 at hypernews.slac.stanford.edu<http://hypernews.slac.stanford.edu> message (to reply or unsubscribe) at: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1564.html [ MIME part of type text/html without a name stripped ]