Problem 300 - i am not able to compile examples in geant4.3.2
Summary: i am not able to compile examples in geant4.3.2
Status: RESOLVED DUPLICATE of problem 299
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: 3.2
Hardware: PC Other
: P1 critical
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2001-09-17 06:46 CEST by anurag.goel
Modified: 2001-09-17 07:19 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description anurag.goel 2001-09-17 06:46:35 CEST
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
Comment 1 Gabriele Cosmo 2001-09-17 07:19:59 CEST
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.
Comment 2 Gabriele Cosmo 2001-09-17 07:19:59 CEST
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.