Root +garfield installation by cmake

I’m installing Garfield by the guidance: http://garfieldpp.web.cern.ch/garfieldpp/getting-started/
I face one problem, libGarfield seems not be generated when I installed it by cmake

collect2: error: ld returned 1 exit status
CMakeFiles/Garfield.dir/build.make:2964: recipe for target 'lib/libGarfield.so.0.2.0' failed
make[2]: *** [lib/libGarfield.so.0.2.0] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/Garfield.dir/all' failed
make[1]: *** [CMakeFiles/Garfield.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

I would appreciate it if anyone can help me with this problem.

The ‘real’ reason of the failure seems to have been listed before the text included in your post. Without this information, we have no way of knowing why the linking failed.

Cheers,
Philippe.

PS. Note that we do not maintain nor support Garfield++ … :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.