Skip to content

Issue while generating cmake #9

@khwhas

Description

@khwhas

When I configure and then press g to generate cmake I get the following error

/usr/local/share/Geant4/geant4make/geant4make.sh

/home/hassan/g4/geant4.10.07.p03-install /home/hassan/g4/geant4.10.07.p03

CMake Warning at cmake/Modules/G4DeveloperAPI.cmake:868 (add_library):
Cannot generate a safe runtime search path for target G4OpenGL because
files in some directories may conflict with libraries in implicit
directories:

 runtime library [libexpat.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
   /home/hassan/anaconda3/lib

Some of these libraries may not be found correctly.
Call Stack (most recent call first):
cmake/Modules/G4DeveloperAPI.cmake:504 (__geant4_add_library)
source/CMakeLists.txt:43 (geant4_compose_targets)

Generating done

I ignore it and proceed with make -j4 command and then I got the following error

make[2]: *** [CMakeFiles/G4EMLOW.dir/build.make:98: Externals/G4EMLOW-7.13/src/G4EMLOW-stamp/G4EMLOW-download] Error 1
make[1]: *** [CMakeFiles/Makefile2:2582: CMakeFiles/G4EMLOW.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions