DSI Studio Installation on CentOS 6.6 server

272 views
Skip to first unread message

Kelvin

unread,
Apr 11, 2016, 5:05:11 AM4/11/16
to DSI Studio
Hi all,

Has anyone successfully installed DSI Studio on a CentOS 6.6 server recently? We tried the installation these days according to the installation guide here but failed to compile it. What versions of QT, gcc and boost, etc should be used? Any special compiling options have to be specified? Please kindly advise. Thanks a lot!

Regards,
Kelvin

Fang-Cheng Yeh

unread,
Apr 11, 2016, 9:14:57 AM4/11/16
to dsi-s...@googlegroups.com
Hi Kelvin,

The Qt version is 5.4, boost library 1.57, and the compiler must
support C++11. If this still does not work for you, please post the
error message here.

Best regards,
Frank
> --
> You received this message because you are subscribed to the Google Groups
> "DSI Studio" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dsi-studio+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

itcg...@gmail.com

unread,
Apr 11, 2016, 9:48:55 PM4/11/16
to DSI Studio
Dear Frank,

Thanks for your reply! The installed versions on our server are: gcc/g++ 4.8.2, Qt 5.6 and boost library 1.41. Would that be fine?

The compile errors at the end are:

../src/image/numerical/basic_op.hpp:787:13: warning: array subscript has type \u2018char\u2019 [-Wchar-subscripts]
         temp[i] = *pdata;
             ^
../src/image/numerical/basic_op.hpp:788:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     value = *(type*)temp;
           ^
In file included from ../src/image/image.hpp:83:0,
                 from ../src/main.cpp:10:
../src/image/ml/cnn.hpp: In function \u2018float image::ml::sigmoid_f(value_type) [with value_type = float]\u2019:
../src/image/ml/cnn.hpp:60:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make: *** [main.o] Error 1


Please kindly help. Thanks!

Regards,
Kelvin

Fang-Cheng Yeh

unread,
Apr 11, 2016, 9:53:30 PM4/11/16
to dsi-s...@googlegroups.com
Hi Kelvin,

Please send me the entire error message. The message you attached
only show very few warnings.

Also, the Qt version and boost library version is different, and
there is a possibility that the error came from the version
difference.

Best regards,
Frank

itcg...@gmail.com

unread,
Apr 12, 2016, 2:30:11 AM4/12/16
to DSI Studio
Hi Frank,

See attached the full error log file. Thanks!

Regards,
Kelvin
dsistudio-make.log

Fang-Cheng Yeh

unread,
Apr 12, 2016, 6:32:51 AM4/12/16
to dsi-s...@googlegroups.com
Please download the source code again (both DSI Studio and TIPL
library) and see if it works for you. If not, please send me the log
file.

Thank you!
Frank

itcg...@gmail.com

unread,
Apr 12, 2016, 11:20:23 PM4/12/16
to DSI Studio
Dear Frank,

Thanks! I downloaded both again:

git clone -b master git://github.com/frankyeh/DSI-Studio.git src
https://github.com/frankyeh/TIPL/archive/master.zip

and redo the steps according to the Compile guide. Yet still errors and failed to compile. Please see attached log file. Thx!

Regards,
Kelvin
dsistudio-make2.log

Kirk Feindel

unread,
Apr 14, 2016, 3:49:24 AM4/14/16
to DSI Studio, itcg...@gmail.com
Hi Folks,

I've got the exact same error with Centos 7.2.1511 (Core) using self-compiled QT5.6 and boost 1.53.0

Cheers,

Kirk
...

Fang-Cheng Yeh

unread,
Apr 14, 2016, 10:00:35 AM4/14/16
to dsi-s...@googlegroups.com, itcg...@gmail.com
Hi Kirk and Kelvin,

I updated the source code again. Please download it from github
(DSI Studio and TIPL) and see if it works for you. If not, please
forward the message to me.

Thank you very much.

Best regards,
Frank

itcg...@gmail.com

unread,
Apr 14, 2016, 10:29:37 PM4/14/16
to DSI Studio, itcg...@gmail.com
Dear Frank,

Thanks! It could be compiled much further now. Error now is:

../src/libs/tracking/tract_cluster.cpp:8:14: note:   no known conversion for argument 1 from ‘const std::shared_ptr<Cluster>’ to ‘std::shared_ptr<Cluster>&’
make: *** [tract_cluster.o] Error 1

Please see attached log.

Regards,
Kelvin
dsistudio-make3.log

Fang-Cheng Yeh

unread,
Apr 14, 2016, 10:47:55 PM4/14/16
to dsi-s...@googlegroups.com, itcg...@gmail.com
Please download DSI Studio source code again and see if it works for you.

Thanks for your patience!
Frank

itcg...@gmail.com

unread,
Apr 18, 2016, 4:37:34 AM4/18/16
to DSI Studio, itcg...@gmail.com
Dear Frank,

Tried again and the last compile error is now at:

../src/image/numerical/basic_op.hpp:788:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     value = *(type*)temp;
           ^
make: *** [tract_model.o] Error 1

See attached the log file. Thx!

Regards,
Kelvin
dsistudio-make4.log

Fang-Cheng Yeh

unread,
Apr 18, 2016, 8:00:56 AM4/18/16
to dsi-s...@googlegroups.com, itcg...@gmail.com
Hi Kelvin,

Please download TIPL library again and see if it works for you.

Best regards,
Frank

itcg...@gmail.com

unread,
Apr 18, 2016, 9:06:57 PM4/18/16
to DSI Studio, itcg...@gmail.com
Hi Frank,

Further compiled and now at:

../src/image/numerical/basic_op.hpp:787:17: warning: array subscript has type \u2018char\u2019 [-Wchar-subscripts]

         temp[i] = *pdata;
                 ^
make: *** [tract_model.o] Error 1

See attached the log file. Thx!

Regards,
Kelvin


dsistudio-make5.log

Fang-Cheng Yeh

unread,
Apr 18, 2016, 11:08:16 PM4/18/16
to dsi-s...@googlegroups.com
Hi Kelvin,

Please update DSI Studio code again and see if it works out for you.

Thanks for your patience!

Best,
Frank

itcg...@gmail.com

unread,
Apr 20, 2016, 2:17:49 AM4/20/16
to DSI Studio
Hi Frank,

Further compiled and now:

regiontablewidget.cpp:(.text+0x7539): undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator*()'
collect2: error: ld returned 1 exit status
make: *** [dsi_studio] Error 1

See attached log.

Regards,
Kelvin
dsistudio-make6.log

Fang-Cheng Yeh

unread,
Apr 20, 2016, 9:45:04 AM4/20/16
to dsi-s...@googlegroups.com
Hi Kelvin,

It seems that you were using an older version of gcc (e.g. < 4.8).
This bug was fixed after gcc 4.9. Please update gcc and see if it
works for you.

Best regards,
Frank

itcg...@gmail.com

unread,
Apr 21, 2016, 8:46:53 PM4/21/16
to DSI Studio
Dear Frank,

I updated gcc to 4.9 and finally I could compile the DSI Studio successfully! Thanks for all the help!

Cheers,
Kelvin

Kirk Feindel

unread,
May 18, 2016, 2:26:22 AM5/18/16
to DSI Studio, itcg...@gmail.com
Hi Frank,

Success!

Sorry for the delay in responding, but after fussing around a bit with some nvidia/opengl issues, gcc4.9 and getting the right libraries linked, I had to recompile qt with opengl and now finally got dsistudio up and running in CentOS 7.2!

Thanks for all your help.

I'll be working with DKE fibre tracking data off GE, Siemens, and Bruker PV6.0 - thanks for having 2dseq functionality!

Cheers,

Kirk

Fang-Cheng Yeh

unread,
May 18, 2016, 9:05:28 AM5/18/16
to dsi-s...@googlegroups.com, itcg...@gmail.com
Glad hear that it works for you. If there is any problem or
suggestion, please feel free to let me know.

Best,
Frank
Reply all
Reply to author
Forward
0 new messages