Import the Ansys LIS files to the Garfield++

first I delete the garfieldpp file,and download the garfieldpp-master file,then extract the garfieldpp-master file.

sorry for the screenshot, I don’t know how to save the terminal output into a text file,is it the cmakeoutput.log?
because the new users can’t put links in posts.
I copy to the reply

The system is: Linux - 5.4.0-90-generic - x86_64
Compiling the C compiler identification source file “CMakeCCompilerId.c” succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:

The output was:
0

Compilation of the C compiler identification source “CMakeCCompilerId.c” produced “a.out”

The C compiler identification is GNU, found in “/home/xxc/Gem/build/CMakeFiles/3.16.3/CompilerIdC/a.out”
Compiling the CXX compiler identification source file “CMakeCXXCompilerId.cpp” succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:

The output was:
0

Compilation of the CXX compiler identification source “CMakeCXXCompilerId.cpp” produced “a.out”
The CXX compiler identification is GNU, found in “/home/xxc/Gem/build/CMakeFiles/3.16.3/CompilerIdCXX/a.out”

Determining if the C compiler works passed with the following output:
Change Dir: /home/xxc/Gem/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_51497/fast && /usr/bin/make -f CMakeFiles/cmTC_51497.dir/build.make CMakeFiles/cmTC_51497.dir/build
make[1]: Entering directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’
Building C object CMakeFiles/cmTC_51497.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_51497.dir/testCCompiler.c.o -c /home/xxc/Gem/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_51497
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_51497.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_51497.dir/testCCompiler.c.o -o cmTC_51497
make[1]: Leaving directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’

Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/xxc/Gem/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_95520/fast && /usr/bin/make -f CMakeFiles/cmTC_95520.dir/build.make CMakeFiles/cmTC_95520.dir/build
make[1]: Entering directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’
Building C object CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -v -o CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: …/src/configure -v --with-pkgversion=‘Ubuntu 9.3.0-17ubuntu1~20.04’ --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o’ ‘-c’ ‘-mtune=generic’ ‘-march=x86-64’
/usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccBKpiLz.s
GNU C17 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu)
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory “/usr/local/include/x86_64-linux-gnu”
ignoring nonexistent directory “/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed”
ignoring nonexistent directory “/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/x86_64-linux-gnu/include”
#include “…” search starts here:
#include <…> search starts here:
/usr/lib/gcc/x86_64-linux-gnu/9/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C17 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu)
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: bbf13931d8de1abe14040c9909cb6969
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o’ ‘-c’ ‘-mtune=generic’ ‘-march=x86-64’
as -v --64 -o CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o /tmp/ccBKpiLz.s
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib/:/lib/x86_64-linux-gnu/:/lib/…/lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/…/lib/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o’ ‘-c’ ‘-mtune=generic’ ‘-march=x86-64’
Linking C executable cmTC_95520
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_95520.dir/link.txt --verbose=1
/usr/bin/cc -v CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -o cmTC_95520
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: …/src/configure -v --with-pkgversion=‘Ubuntu 9.3.0-17ubuntu1~20.04’ --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib/:/lib/x86_64-linux-gnu/:/lib/…/lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/…/lib/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘cmTC_95520’ ‘-mtune=generic’ ‘-march=x86-64’
/usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccSPLme4.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_95520 /usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib -L/lib/x86_64-linux-gnu -L/lib/…/lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/…/lib -L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/… CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/crtn.o
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘cmTC_95520’ ‘-mtune=generic’ ‘-march=x86-64’
make[1]: Leaving directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’

Parsed C implicit include dir info from above output: rv=done
found start of include info
found start of implicit include info
add: [/usr/lib/gcc/x86_64-linux-gnu/9/include]
add: [/usr/local/include]
add: [/usr/include/x86_64-linux-gnu]
add: [/usr/include]
end of search list found
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/9/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/9/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
collapse include dir [/usr/include] ==> [/usr/include]
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
Parsed C implicit link information from above output:
link line regex: [^( |.[/])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/]±)?ld|collect2)[^/]*( |$)]
ignore line: [Change Dir: /home/xxc/Gem/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command(s):/usr/bin/make cmTC_95520/fast && /usr/bin/make -f CMakeFiles/cmTC_95520.dir/build.make CMakeFiles/cmTC_95520.dir/build]
ignore line: [make[1]: Entering directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’]
ignore line: [Building C object CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: …/src/configure -v --with-pkgversion=‘Ubuntu 9.3.0-17ubuntu1~20.04’ --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) ]
ignore line: [COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o’ ‘-c’ ‘-mtune=generic’ ‘-march=x86-64’]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccBKpiLz.s]
ignore line: [GNU C17 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [ignoring nonexistent directory “/usr/local/include/x86_64-linux-gnu”]
ignore line: [ignoring nonexistent directory “/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed”]
ignore line: [ignoring nonexistent directory “/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/x86_64-linux-gnu/include”]
ignore line: [#include “…” search starts here:]
ignore line: [#include <…> search starts here:]
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/include]
ignore line: [ /usr/local/include]
ignore line: [ /usr/include/x86_64-linux-gnu]
ignore line: [ /usr/include]
ignore line: [End of search list.]
ignore line: [GNU C17 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu)]
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: bbf13931d8de1abe14040c9909cb6969]
ignore line: [COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o’ ‘-c’ ‘-mtune=generic’ ‘-march=x86-64’]
ignore line: [ as -v --64 -o CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o /tmp/ccBKpiLz.s]
ignore line: [GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib/:/lib/x86_64-linux-gnu/:/lib/…/lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/…/lib/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o’ ‘-c’ ‘-mtune=generic’ ‘-march=x86-64’]
ignore line: [Linking C executable cmTC_95520]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_95520.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -o cmTC_95520 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper]
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
ignore line: [Target: x86_64-linux-gnu]
ignore line: [Configured with: …/src/configure -v --with-pkgversion=‘Ubuntu 9.3.0-17ubuntu1~20.04’ --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
ignore line: [Thread model: posix]
ignore line: [gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04) ]
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib/:/lib/x86_64-linux-gnu/:/lib/…/lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/…/lib/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/:/lib/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘cmTC_95520’ ‘-mtune=generic’ ‘-march=x86-64’]
link line: [ /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccSPLme4.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_95520 /usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib -L/lib/x86_64-linux-gnu -L/lib/…/lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/…/lib -L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/… CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/crtn.o]
arg [/usr/lib/gcc/x86_64-linux-gnu/9/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccSPLme4.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [–build-id] ==> ignore
arg [–eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_x86_64] ==> ignore
arg [–hash-style=gnu] ==> ignore
arg [–as-needed] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-znow] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_95520] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/Scrt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib]
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
arg [-L/lib/…/lib] ==> dir [/lib/…/lib]
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/…/lib] ==> dir [/usr/lib/…/lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…]
arg [CMakeFiles/cmTC_95520.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [–push-state] ==> ignore
arg [–as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [–pop-state] ==> ignore
arg [-lc] ==> lib [c]
arg [-lgcc] ==> lib [gcc]
arg [–push-state] ==> ignore
arg [–as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
arg [–pop-state] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/crtn.o] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9] ==> [/usr/lib/gcc/x86_64-linux-gnu/9]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib] ==> [/usr/lib]
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
collapse library dir [/lib/…/lib] ==> [/lib]
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
collapse library dir [/usr/lib/…/lib] ==> [/usr/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…] ==> [/usr/lib]
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
implicit fwks: []
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/xxc/Gem/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_b665e/fast && /usr/bin/make -f CMakeFiles/cmTC_b665e.dir/build.make CMakeFiles/cmTC_b665e.dir/build
make[1]: Entering directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_b665e.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_b665e.dir/testCXXCompiler.cxx.o -c /home/xxc/Gem/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_b665e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b665e.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_b665e.dir/testCXXCompiler.cxx.o -o cmTC_b665e
make[1]: Leaving directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/xxc/Gem/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_f4802/fast && /usr/bin/make -f CMakeFiles/cmTC_f4802.dir/build.make CMakeFiles/cmTC_f4802.dir/build
make[1]: Entering directory ‘/home/xxc/Gem/build/CMakeFiles/CMakeTmp’
Building CXX object CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -v -o CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: …/src/configure -v --with-pkgversion=‘Ubuntu 9.3.0-17ubuntu1~20.04’ --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o’ ‘-c’ ‘-shared-libgcc’ ‘-mtune=generic’ ‘-march=x86-64’
/usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccXQE8hA.s
GNU C++14 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu)
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory “/usr/include/x86_64-linux-gnu/c++/9”
ignoring nonexistent directory “/usr/local/include/x86_64-linux-gnu”
ignoring nonexistent directory “/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed”
ignoring nonexistent directory “/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/x86_64-linux-gnu/include”
#include “…” search starts here:
#include <…> search starts here:
/usr/include/c++/9
/usr/include/x86_64-linux-gnu/c++/9
/usr/include/c++/9/backward
/usr/lib/gcc/x86_64-linux-gnu/9/include
/usr/local/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C++14 (Ubuntu 9.3.0-17ubuntu1~20.04) version 9.3.0 (x86_64-linux-gnu)
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 466f818abe2f30ba03783f22bd12d815
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o’ ‘-c’ ‘-shared-libgcc’ ‘-mtune=generic’ ‘-march=x86-64’
as -v --64 -o CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccXQE8hA.s
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/…/lib/:/lib/x86_64-linux-gnu/:/lib/…/lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/…/lib/:/usr/lib/gcc/x86_64-linux-gnu/9/…/…/…/:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS=’-v’ ‘-o’ ‘CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o’ ‘-c’ ‘-shared-libgcc’ ‘-mtune=generic’ ‘-march=x86-64’
Linking CXX executable cmTC_f4802
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f4802.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTC_f4802.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_f4802
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: …/src/configure -v --with-pkgversion=‘Ubuntu 9.3.0-17ubuntu1~20.04’ --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix

Hi,
I’m a bit confused why you have such long list of commands (including multiple cmake ones) and by the sequence of commands.

Can you please try the following:

Setup the ROOT environment (I just copy+pasted this from your post, you probably need to give an absolute path).

source root-6.16.00/build/bin/thisroot.sh

Re-build Garfield++

export GARFIELD_HOME=/home/xxc/garfieldpp-master
cd $GARFIELD_HOME
rm -rf build
cd build
cmake ..
make
make install

Source the setupGarfield.sh script

. $GARFIELD_HOME/build/setupGarfield.sh

Go to the directory to which you want to copy the Gem example (it’s not clear to me from your post what directory this is).
Then copy the Gem example folder,

cp -r $GARFIELD_HOME/Examples/Gem .
mkdir build
cd build
cmake ..
make
1 Like

Thank you for your patient guidance step by step, I am also a novice at the LINUX, I don’t which to follow to install it, the USER guide or the files on the repository. Now I have done the installation,and imported the model from the ansys. The results show below:

Warning in <TClassTable::Add>: class TDirectoryFile already in TClassTable
Warning in <TClassTable::Add>: class TFile already in TClassTable
Warning in <TClassTable::Add>: class TMemFile already in TClassTable
Warning in <TClassTable::Add>: class ROOT::Experimental::TBufferMerger already in TClassTable
Warning in <TClassTable::Add>: class ROOT::Experimental::TBufferMergerFile already in TClassTable
Warning in <TClassTable::Add>: class TArchiveFile already in TClassTable
Warning in <TClassTable::Add>: class TArchiveMember already in TClassTable
Warning in <TClassTable::Add>: class TBufferIO already in TClassTable
Warning in <TClassTable::Add>: class TBufferFile already in TClassTable
Warning in <TClassTable::Add>: class TBufferText already in TClassTable
Warning in <TClassTable::Add>: class TBufferJSON already in TClassTable
Warning in <TClassTable::Add>: class TGenCollectionProxy already in TClassTable
Warning in <TClassTable::Add>: class TGenCollectionProxy::Value already in TClassTable
Warning in <TClassTable::Add>: class TGenCollectionProxy::Method already in TClassTable
Warning in <TClassTable::Add>: class TCollectionProxyFactory already in TClassTable
Warning in <TClassTable::Add>: class TCollectionStreamer already in TClassTable
Warning in <TClassTable::Add>: class TCollectionClassStreamer already in TClassTable
Warning in <TClassTable::Add>: class TCollectionMemberStreamer already in TClassTable
Warning in <TClassTable::Add>: class TEmulatedCollectionProxy already in TClassTable
Warning in <TClassTable::Add>: class TEmulatedMapProxy already in TClassTable
Warning in <TClassTable::Add>: class TFileCacheRead already in TClassTable
Warning in <TClassTable::Add>: class TFree already in TClassTable
Warning in <TClassTable::Add>: class TFileCacheWrite already in TClassTable
Warning in <TClassTable::Add>: class TFPBlock already in TClassTable
Warning in <TClassTable::Add>: class TFilePrefetch already in TClassTable
Warning in <TClassTable::Add>: class TKey already in TClassTable
Warning in <TClassTable::Add>: class TKeyMapFile already in TClassTable
Warning in <TClassTable::Add>: class TLockFile already in TClassTable
Warning in <TClassTable::Add>: class TMapFile already in TClassTable
Warning in <TClassTable::Add>: class TMapRec already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfo already in TClassTable
Warning in <TClassTable::Add>: class TVirtualArray already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfoActions::TConfiguration already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfoActions::TConfiguredAction already in TClassTable
Warning in <TClassTable::Add>: class TStreamerInfoActions::TActionSequence already in TClassTable
Warning in <TClassTable::Add>: class TVirtualObject already in TClassTable
Warning in <TClassTable::Add>: class TZIPFile already in TClassTable
Warning in <TClassTable::Add>: class TZIPMember already in TClassTable
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C x86_64-linux-gnu-g++-7  -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 >/dev/null | awk '/^#include </,/^End of search/{if (!/^#include </ && !/^End of search/){ print }}' | GREP_OPTIONS= grep -E "(c|g)\+\+"
Results was:
With exit code 256
Error in <TExMap::Add>: key 140339361615264 is not unique
Heed:
    Database path: /home/xxc/garfieldpp-master/share/Heed/database
ComponentAnsys123::Initialise:
    Read properties of 3 materials from file MPLIST.lis.
ComponentAnsys123::Initialise:
    Read 864164 elements from file ELIST.lis,
    highest node number: 1913828,
    background elements skipped: 0
ComponentAnsys123::Initialise:
    Read 1913828 nodes from file NLIST.lis.
ComponentAnsys123::Initialise:
    Read 1913828 potentials from file PRNSOL.lis.
ComponentAnsys123::Prepare:
    Caching the bounding boxes of all elements... done.
ComponentAnsys123::InitializeTetrahedralTree: Success.
ComponentAnsys123::PrintRange:
        Dimensions of the elementary block
                 -0.0167044 < x < -0.00670436     cm,
                  0.0172927 < y < 0.0205927       cm,
                 -0.0115321 < z < -0.00353211     cm,
                          0 < V < 0               V.
        Periodicities
            x: none
            y: none
            z: none
Info in <TGeoManager::TGeoManager>: Geometry ViewFEMeshGeoManager,  created
Info in <TGeoManager::SetTopVolume>: Top volume is Top. Master volume is Top
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100



there is no three dimensional polt about the field mesh, and the fieldview is empty too. I tried to modify the coordinate to see if it would be work.

It seems to me that your ROOT binary distribution (uses gcc 7) is incompatible with your operating system (uses gcc 9).

Try to use the latest release of the pre-compiled binary distribution provided by the ROOT team.

1 Like

Thanks a lot! I am installing the latest version of ROOT. otherwise there are always cmake … and make errors. Now I have confronted new problem,would you please tell me how to enlarge the home directory space?

Hi, I read my error files carefully,and would you please tell me where shows my ROOT binary distribution (uses gcc 7) is incompatible with my operating system (uses gcc 9). Thanks for your help again!

Hi, I have install the latest version of ROOT, but when I run the example ,the same error still has.

In this post, it tries (and fails) to execute “x86_64-linux-gnu-g++-7”, and in this post, it says that you have “gcc version 9.3.0”.

BTW. Make also sure that your “Garfield++” will be configured with the same C++ standard that your ROOT binaries use.

1 Like

thanks a lot for your heip! it’s really nice of you, actually I don’t know how to configure “Garfield++” the same C++ standard with my ROOT binaries use and whether it is needed to delete the previous ROOT version.

Hi,I have updated to the latest root version,but it still has the same error, would you please tell me how the C++ compiler compatible with the same C++ standard with which ROOT was compiled.


Please, follow the step-by-step instructions for building Garfield++, setting up the environment and building an example application from my previous post.

1 Like

Hi ,thank you for your help,I have tried to install several times according to your previous post, there is something confused me a lot, when I input the code line by line, the error shows"CMake Error: The source directory “/home/xxc” does not appear to contain CMakeLists.txt".But when I input the whole code once a time, it works, the results shows in the below.

xxc@xxc-linux:~ source root-6.24.06/build/bin/thisroot.sh xxc@xxc-linux:~ export GARFIELD_HOME=/home/xxc/garfieldpp-master xxc@xxc-linux:~$ cd GARFIELD_HOME xxc@xxc-linux:~/garfieldpp-master rm -rf build xxc@xxc-linux:~/garfieldpp-master$ cd build
bash: cd: build: No such file or directory xxc@xxc-linux:~/garfieldpp-master$ cmake …
CMake Error: The source directory “/home/xxc” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI. xxc@xxc-linux:~/garfieldpp-master$ make
[ 1%] Built target magboltz
[ 2%] Generating GarfieldDict.cxx, libGarfieldDict_rdict.pcm, libGarfieldDict.rootmap Scanning dependencies of target Garfield [ 3%] Building CXX object CMakeFiles/Garfield.dir/GarfieldDict.cxx.o [ 4%] Linking CXX shared library libGarfield.so [ 70%] Built target Garfield
[ 70%] Linking CXX executable gem [ 71%] Built target gem
[ 72%] Linking CXX executable mdt_mt [ 72%] Built target mdt_mt
[ 73%] Linking CXX executable mdt [ 73%] Built target mdt
[ 74%] Linking CXX executable penning [ 74%] Built target penning
[ 75%] Linking CXX executable merge [ 75%] Built target merge
[ 76%] Linking CXX executable read [ 76%] Built target read
[ 77%] Linking CXX executable printTable [ 77%] Built target printTable
[ 77%] Linking CXX executable generate [ 78%] Built target generate
[ 78%] Linking CXX executable gallery [ 79%] Built target gallery
[ 79%] Linking CXX executable fieldlines [ 80%] Built target fieldlines
[ 81%] Linking CXX executable polar [ 81%] Built target polar
[ 81%] Linking CXX executable dipole [ 82%] Built target dipole
[ 83%] Linking CXX executable strip [ 83%] Built target strip
[ 84%] Linking CXX executable isochrons [ 84%] Built target isochrons
[ 85%] Linking CXX executable wedge [ 85%] Built target wedge
[ 85%] Linking CXX executable integrate [ 86%] Built target integrate
[ 87%] Linking CXX executable savefield [ 87%] Built target savefield
[ 88%] Linking CXX executable plotfield [ 88%] Built target plotfield
[ 89%] Linking CXX executable plotdedx [ 89%] Built target plotdedx
[ 89%] Linking CXX executable fe55 [ 90%] Built target fe55
[ 91%] Linking CXX executable rangeSi [ 91%] Built target rangeSi
[ 92%] Linking CXX executable qdepSi [ 92%] Built target qdepSi
[ 92%] Linking CXX executable edep [ 93%] Built target edep
[ 94%] Linking CXX executable trim [ 94%] Built target trim
[ 95%] Linking CXX executable srim [ 95%] Built target srim
[ 96%] Linking CXX executable parallelPlatesWeightingField [ 96%] Built target parallelPlatesWeightingField
[ 97%] Linking CXX executable parallelPlates [ 97%] Built target parallelPlates
[ 97%] Linking CXX executable MWPCbyneBEM [ 98%] Built target MWPCbyneBEM
[ 98%] Linking CXX executable crossingWires [ 99%] Built target crossingWires
[ 99%] Linking CXX executable BiconicalGemByneBEM [ 99%] Built target BiconicalGemByneBEM
[ 99%] Linking CXX executable RPCbyneBEM [100%] Built target RPCbyneBEM xxc@xxc-linux:~/garfieldpp-master$ make install
[ 1%] Built target magboltz
[ 70%] Built target Garfield
[ 71%] Built target gem
[ 72%] Built target mdt_mt
[ 73%] Built target mdt
[ 74%] Built target penning
[ 75%] Built target merge
[ 76%] Built target read
[ 77%] Built target printTable
[ 78%] Built target generate
[ 79%] Built target gallery
[ 80%] Built target fieldlines
[ 81%] Built target polar
[ 82%] Built target dipole
[ 83%] Built target strip
[ 84%] Built target isochrons
[ 85%] Built target wedge
[ 86%] Built target integrate
[ 87%] Built target savefield
[ 88%] Built target plotfield
[ 89%] Built target plotdedx
[ 90%] Built target fe55
[ 91%] Built target rangeSi
[ 92%] Built target qdepSi
[ 93%] Built target edep
[ 94%] Built target trim
[ 95%] Built target srim
[ 96%] Built target parallelPlatesWeightingField
[ 97%] Built target parallelPlates
[ 98%] Built target MWPCbyneBEM
[ 99%] Built target crossingWires
[ 99%] Built target BiconicalGemByneBEM
[100%] Built target RPCbyneBEM Install the project… – Install configuration: “RelWithDebInfo”
– Installing: /home/xxc/garfieldpp-master/lib/libGarfieldDict_rdict.pcm
– Up-to-date: /home/xxc/garfieldpp-master/include
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/SolidTube.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentTcad2d.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentNeBem3dMap.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewIsochrons.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumGas.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentTcad3d.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TrackSrim.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/PlottingEngine.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentParallelPlate.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TrackHeed.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/KDTree.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/SolidBox.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/SolidHole.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumGaN.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumDiamond.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Shaper.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewFEMesh.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TGeoTet.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/RandomEngine.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumMagboltz.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Utilities.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/GeometrySimple.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/GeometryRoot.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Numerics.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewGeometry.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/QuadTree.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentGrid.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Plotting.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewCell.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewMedium.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentCST.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewDrift.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/SolidExtrusion.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MagboltzInterface.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentAnsys121.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/RandomEngineRoot.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumCdTe.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Medium.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Geometry.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/OpticalData.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentVoxel.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/AvalancheMicroscopic.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TrackSimple.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentComsol.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/SolidWire.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentUser.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TrackElectron.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Polygon.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentElmer2D.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/SolidSphere.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentElmer.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewBase.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Component.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TetrahedralTree.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentAnsys123.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Track.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewField.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentTcadBase.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/FundamentalConstants.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TrackBichsel.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentNeBem2d.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumPlastic.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TrackTrim.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumConductor.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumSilicon.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/SolidRidge.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/MediumGaAs.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/TrackPAI.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ViewSignal.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Random.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/DriftLineRKF.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/GarfieldConstants.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentNeBem3d.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentAnalyticField.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/AvalancheGrid.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Solid.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/AvalancheMC.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentFieldMap.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/Sensor.hh
– Up-to-date: /home/xxc/garfieldpp-master/include/Garfield/ComponentConstant.hh
– Installing: /home/xxc/garfieldpp-master/lib/libGarfield.so.0.3.0
– Set runtime path of “/home/xxc/garfieldpp-master/lib/libGarfield.so.0.3.0” to “”
– Up-to-date: /home/xxc/garfieldpp-master/lib/libGarfield.so
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/IonMobility_Ar+_Ar.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/IonMobility_C8Hn+_iC4H10.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/IonMobility_Ne+_Ne.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/RateConstants_Ar_CO2.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/RateConstants_Ar_Ar.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/RateConstants_Ar_CF4.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/RateConstants_Ar_iC4H10.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/RateConstants_Ar_C2H6.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/RateConstants_Ar_C2H2.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/TransitionRates_Ar.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/RateConstants_Ar_CH4.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/Deexcitation/OscillatorStrengths_Ar.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/SiM0invw.inv
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/IonMobility_CO2+_CO2.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/OpticalData_Si.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/IonMobility_He+_He.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/IonMobility_Xe+_P32_Xe.txt
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield//Data/IonMobility_Xe+_P12_Xe.txt
– Up-to-date: /home/xxc/garfieldpp-master/lib/libmagboltz.so.11
– Up-to-date: /home/xxc/garfieldpp-master/lib/libmagboltz.so
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/cbdel.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/ftbf54.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/mw3.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/shelllist.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/shellescar.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/shelltscf1.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/C_for_CH4.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/shelltsc.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/shelltscf.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Al.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/U.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Mo.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Te.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ni.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/At.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/V.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Er.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/O.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Sc.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/I.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Si.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ne.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Tl.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Dy.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Gd.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Y.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Pm.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Hf.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Kr.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Bi.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/W.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/H.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Pt.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/K.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Yb.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/La.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/S.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ra.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Li.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Co.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ge.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Po.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Rh.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Zn.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ga.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Cs.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Pd.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Br.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Zr.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ho.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Tm.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Rn.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Xe.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Fe.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ir.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Pb.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ru.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Cd.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Cl.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Au.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Pr.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Lu.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Nd.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Be.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ta.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/F.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Tc.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/B.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Os.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Nb.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Pa.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Cr.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Sm.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Na.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/He.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Rb.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/As.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Sr.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Tb.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Hg.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Sn.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Re.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Th.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ac.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ba.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ce.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/P.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Mg.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ag.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Sb.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/N.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Se.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Mn.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/In.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ca.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Fr.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ar.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Cu.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/C.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Ti.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/henke/Eu.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/ftbf36.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/shelllist_solid.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/Si_G4.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/ftb18.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/ftbf18.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/elastic_disp.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/ftb36.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/delta_path.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/ftb54.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Heed/database/elastic_disp_o.dat
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield/cmake/GarfieldTargets.cmake
– Installing: /home/xxc/garfieldpp-master/share/Garfield/cmake/GarfieldTargets-relwithdebinfo.cmake
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield/cmake/GarfieldConfig.cmake
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield/cmake/GarfieldConfigVersion.cmake
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield/setupGarfield.sh
– Up-to-date: /home/xxc/garfieldpp-master/share/Garfield/setupGarfield.csh

xxc@xxc-linux:~/garfieldpp-master$ cp -r GARFIELD_HOME/Examples/Gem . xxc@xxc-linux:~/garfieldpp-master mkdir build
xxc@xxc-linux:~/garfieldpp-master$ cd build
xxc@xxc-linux:~/garfieldpp-master/build$ cmake …
– The installation folder is set to its default value /home/xxc/garfieldpp-master
– Install path: /home/xxc/garfieldpp-master
– If you want to change this path call cmake -DCMAKE_INSTALL_PREFIX=my_install_path …
– Found OpenMP_CXX: -fopenmp
– Found OpenMP_Fortran: -fopenmp
– Found OpenMP: TRUE
– Creating a new library named magboltz with API version 11
– Creating a new library named with API version
– Garfield++ examples will be built. In order disable this option use -DWITH_EXAMPLES=OFF
– Found OpenMP_CXX: -fopenmp
– Found OpenMP_Fortran: -fopenmp
– Found OpenMP: TRUE
CMake Warning at Examples/Geant4GarfieldInterface/CMakeLists.txt:16 (find_package):
By not providing “FindGeant4.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Geant4”, but
CMake did not find one.

Could not find a package configuration file provided by “Geant4” with any
of the following names:

Geant4Config.cmake
geant4-config.cmake

Add the installation prefix of “Geant4” to CMAKE_PREFIX_PATH or set
“Geant4_DIR” to a directory containing one of the above files. If “Geant4”
provides a separate development package or SDK, be sure it has been
installed.

Geant4 is not found. Example cannot be built.
– Configuring done
– Generating done
– Build files have been written to: /home/xxc/garfieldpp-master
xxc@xxc-linux:~/garfieldpp-master/build$ make

No, you skipped some essential steps.

xxc@xxc-linux:~/garfieldpp-master$ rm -rf build
xxc@xxc-linux:~/garfieldpp-master$ cd build
bash: cd: build: No such file or directory
xxc@xxc-linux:~/garfieldpp-master$ cmake …
CMake Error: The source directory “/home/xxc” does not appear to contain CMakeLists.txt.

Here you deleted the build directory but then did not recreate it, so “cd build” doesn’t work, and the subsequent cmake command also fails because you are not in the build directory but in the top-level source directory.

I don’t understand why the make command you gave afterwards still seems to work.
To which directory did you clone the Garfield++ repository? And what is the directory to which you want to copy the Gem example? Are they the same? If they are, please start from scratch and use separate directories (otherwise you’ll overwrite the CMakeLists.txt).

You also need to source the setupGarfield.sh script before building the example application.

1 Like

Thank you for your reply, I realize what the reason for the error is. I tried again,and that’s the result. should I install the Geant4 or is there anything wrong with my process?

xxc@xxc-linux:~ source root-6.24.06/build/bin/thisroot.sh xxc@xxc-linux:~ export GARFIELD_HOME=/home/xxc/garfieldpp-master
xxc@xxc-linux:~$ cd GARFIELD_HOME xxc@xxc-linux:~/garfieldpp-master rm -rf build
xxc@xxc-linux:~/garfieldpp-master$ mkdir build
xxc@xxc-linux:~/garfieldpp-master$ cd build
xxc@xxc-linux:~/garfieldpp-master/build$ cmake …
– The installation folder is set to its default value /home/xxc/garfieldpp-master
– Install path: /home/xxc/garfieldpp-master
– If you want to change this path call cmake -DCMAKE_INSTALL_PREFIX=my_install_path …
– Found OpenMP_CXX: -fopenmp
– Found OpenMP_Fortran: -fopenmp
– Found OpenMP: TRUE
– Creating a new library named magboltz with API version 11
– Creating a new library named with API version
– Garfield++ examples will be built. In order disable this option use -DWITH_EXAMPLES=OFF
– Found OpenMP_CXX: -fopenmp
– Found OpenMP_Fortran: -fopenmp
– Found OpenMP: TRUE
CMake Warning at Examples/Geant4GarfieldInterface/CMakeLists.txt:16 (find_package):
By not providing “FindGeant4.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Geant4”, but
CMake did not find one.

Could not find a package configuration file provided by “Geant4” with any
of the following names:

Geant4Config.cmake
geant4-config.cmake

Add the installation prefix of “Geant4” to CMAKE_PREFIX_PATH or set
“Geant4_DIR” to a directory containing one of the above files. If “Geant4”
provides a separate development package or SDK, be sure it has been
installed.

Geant4 is not found. Example cannot be built.
– Configuring done
– Generating done
– Build files have been written to: /home/xxc/garfieldpp-master
xxc@xxc-linux:~/garfieldpp-master/build$ make
make: *** No targets specified and no makefile found. Stop.
xxc@xxc-linux:~/garfieldpp-master/build$ make install

Hi, I have install the Geant 4 according to the error notice. And now the Cmake … step( Re-build Garfield++)works, but when I put the make code, the error shows in the below.

*xxc@xxc-linux:~ source root-6.24.06/build/bin/thisroot.sh xxc@xxc-linux:~ export GARFIELD_HOME=/home/xxc/garfieldpp-master
xxc@xxc-linux:~$ cd GARFIELD_HOME xxc@xxc-linux:~/garfieldpp-master rm -rf build
xxc@xxc-linux:~/garfieldpp-master$ mkdir build
xxc@xxc-linux:~/garfieldpp-master$ cd build
xxc@xxc-linux:~/garfieldpp-master/build$ cmake …
– The installation folder is set to its default value /home/xxc/garfieldpp-master
– Install path: /home/xxc/garfieldpp-master
– If you want to change this path call cmake -DCMAKE_INSTALL_PREFIX=my_install_path …
– Found OpenMP_CXX: -fopenmp
– Found OpenMP_Fortran: -fopenmp
– Found OpenMP: TRUE
– Creating a new library named magboltz with API version 11
– Creating a new library named with API version
– Garfield++ examples will be built. In order disable this option use -DWITH_EXAMPLES=OFF
– Found OpenMP_CXX: -fopenmp
– Found OpenMP_Fortran: -fopenmp
– Found OpenMP: TRUE
– Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found suitable version “2.2.9”, minimum required is “2.2.9”)
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
– Check if compiler accepts -pthread
– Check if compiler accepts -pthread - yes
– Found Threads: TRUE
– Found XercesC: /usr/lib/x86_64-linux-gnu/libxerces-c.so (found suitable version “3.2.2”, minimum required is “3.2.2”)
– Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
– Configuring done
– Generating done
– Build files have been written to: /home/xxc/garfieldpp-master
xxc@xxc-linux:~/garfieldpp-master/build$ sudo make
[sudo] password for xxc:
make: *** No targets specified and no makefile found. Stop.
xxc@xxc-linux:~/garfieldpp-master/build$ make
make: *** No targets specified and no makefile found. Stop.
xxc@xxc-linux:~/garfieldpp-master/build$ sudo make install
make: *** No rule to make target ‘install’. Stop.
xxc@xxc-linux:~/garfieldpp-master/build$