Print

Print


Not sure about your error without spending more time looking at it, but matlab can be disabled with (drum roll please...): DISABLE_MATLAB=ON. ;)

Rich



Sent from my phone. Excuse any mistakes/brevity.


-------- Original message --------
From: Edoardo Pasca - UKRI STFC <[log in to unmask]>
Date: 30/09/2019 20:14 (GMT+00:00)
To: [log in to unmask]
Subject: Fail to build mGadgetron

That’s the first time I build on a machine with matlab on it (I didn’t know).

So SuperBuild decided to build matlab (is there a way to disable it?) and I ended up with this error

Scanning dependencies of target mgadgetron
[ 48%] Building C object src/xGadgetron/mGadgetron/CMakeFiles/mgadgetron.dir/mgadgetron.c.o
/media/newhd/edoardo/buildVM/sources/SIRF/src/xGadgetron/mGadgetron/mgadgetron.c:182:26: error: redefinition of ‘mGT_setHost’
EXPORTED_FUNCTION  void* mGT_setHost(void* ptr_gc, const char* host) {
                          ^
/media/newhd/edoardo/buildVM/sources/SIRF/src/xGadgetron/mGadgetron/mgadgetron.c:176:26: note: previous definition of ‘mGT_setHost’ was here
EXPORTED_FUNCTION  void* mGT_setHost(void* ptr_gc, const char* host) {
                          ^
/media/newhd/edoardo/buildVM/sources/SIRF/src/xGadgetron/mGadgetron/mgadgetron.c:185:26: error: redefinition of ‘mGT_setPort’
EXPORTED_FUNCTION  void* mGT_setPort(void* ptr_gc, const char* port) {
                          ^
/media/newhd/edoardo/buildVM/sources/SIRF/src/xGadgetron/mGadgetron/mgadgetron.c:179:26: note: previous definition of ‘mGT_setPort’ was here
EXPORTED_FUNCTION  void* mGT_setPort(void* ptr_gc, const char* port) {
                          ^

Edo

--
Edoardo Pasca, PhD
Senior Visualisation Scientist
Scientific Computing Department, STFC Rutherford Appleton Laboratory
Fermi Avenue Chilton Didcot OX11 0QX
0044 (0)1235 44 5660, R89 F16
:wq


________________________________

To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jiscmail.ac.uk%2Fcgi-bin%2Fwebadmin%3FSUBED1%3DCCP-PETMR-DEVEL%26A%3D1&data=02%7C01%7C%7C086c93bac5c54a6fe0e508d745da72bf%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C0%7C637054676845814642&sdata=VJIPxtaz1UT7Nnjl7s1QXG9IH17106xNhgcCWYbBCD0%3D&reserved=0>

########################################################################

To unsubscribe from the CCP-PETMR-DEVEL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP-PETMR-DEVEL&A=1