[Gate-users] Gate 9.0 Installing

Jorge Wagner jorgewagnersecundaria at gmail.com
Thu Jul 30 23:13:24 CEST 2020


Dear Gate users,

I've been trying to install Gate 9.0 with ECAT and libtorch options. I have
no errors in installing Gate without those options.

But when I try to build the ECAT utils it gave me the following error
message:

cc -O -I..  -o matlist ./matlist.c ../libecat.a  -lrpcsvc -lnsl -lsocket
-lm
./matlist.c:8:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main( argc, argv)
 ^~~~
./matlist.c: In function ‘main’:
./matlist.c:22:3: warning: implicit declaration of function ‘exit’
[-Wimplicit-function-declaration]
   exit(1);
   ^~~~
./matlist.c:22:3: warning: incompatible implicit declaration of built-in
function ‘exit’
./matlist.c:22:3: note: include ‘<stdlib.h>’ or provide a declaration of
‘exit’
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
make: *** [Makefile:35: matlist] Error 1

A second question is about the libtorch option. I tried to build Gate using
this option, so I gave a try to 1.6.0+cpu and 1.51+cpu versions, but in
both cases with errors.

The only version that worked was libtorch 1.4.0+cpu. I did not try GPU
version once the user's guide states that Gate only works on the CPU
version of libtorch.

I am using 7.5.0 versions of gcc and g++ on Ubuntu 20.04.

Does anyone have any tips on how to fix those errors?

Best Regards,

Jorge Wagner E. da Silva, PhD
Nuclear Medicine Department
Hospital de Câncer I
Instituto Nacional de Câncer
Rio de Janeiro - Brasil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200730/79c6de24/attachment.html>


More information about the Gate-users mailing list