| Summary: | i am not able to compile examples in geant4.3.2 | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | anurag.goel |
| Component: | config | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | critical | ||
| Priority: | P1 | ||
| Version: | 3.2 | ||
| Hardware: | PC | ||
| OS: | Other | ||
It's still a problem of your configuration. Please, check for the existance of the CLHEP.lib file and its name. Geant4 assumes it's called "CLHEP.lib". If not, you must set the environment variable CLHEP_LIB to refer to the correct name as installed in your system. Also this information is provided in our FAQ page and installation guide............. Please, do not open new problem reports on this subject. Refer to the existing one, or contact me directly. Thanks. It's still a problem of your configuration. Please, check for the existance of the CLHEP.lib file and its name. Geant4 assumes it's called "CLHEP.lib". If not, you must set the environment variable CLHEP_LIB to refer to the correct name as installed in your system. Also this information is provided in our FAQ page and installation guide............. Please, do not open new problem reports on this subject. Refer to the existing one, or contact me directly. Thanks. |
Hi OS = Windows 2000. Yup! i forgot to set the CLHEP_BASE_DIR. Even after setting it up i am still unable to make it this time there is some other problem. Its unable to find -lCLHEP -lm some load math problem or something This is what it says /../source/processes/hadronic/models/isotope_production/include -I../../../sourc e/processes/hadronic/models/radiative_decay/include -I../../../source/processes/ hadronic/stopping/include -I../../../source/geometry/management/include -I../../ ../source/geometry/solids/CSG/include -I../../../source/geometry/solids/specific /include -I../../../source/geometry/solids/BREPS/include -I../../../source/geome try/solids/Boolean/include -I../../../source/geometry/solids/STEP/include -I../. ./../source/geometry/solids/STEPinterface/include -I../../../source/geometry/vol umes/include -I../../../source/geometry/magneticfield/include -I../../../source/ track/include -I../../../source/tracking/include -I../../../source/digits+hits/d etector/include -I../../../source/digits+hits/hits/include -I../../../source/dig its+hits/digits/include -I../../../source/readout/include -I../../../source/even t/include -I../../../source/graphics_reps/include -I../../../source/intercoms/in clude -I../../../source/g3tog4/include \ -o ../../../bin/WIN32-g++/exampleN01 ../../../tmp/WIN32-g++/exampleN01/exe/exa mpleN01.o -L//C/Project_Tools/Geant4/clhep1//lib -L../../../lib/WIN32-g++ -L../. ./../tmp/WIN32-g++/exampleN01 \ -lexampleN01 -lCLHEP -lm /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann ot find -lCLHEP collect2: ld returned 1 exit status make: *** [../../../bin/WIN32-g++/exampleN01] Error 1 Can u guys help me out. This installation is psyching me out. I am using Cygwin. I hope i don't need VC ++ too in addition to Cygwin. Cygwin is the only compiling tool that i have. regards, Anurag