DSI Studio is an open-source diffusion MRI analysis tool. We need to compile the software for Linux.
I could successfully finish compile the DSI Studio for Ubuntu 18.04 and later. Below is what I did.
- 18-May-2021 Update instruction for Ubuntu 20.04. You need to install g++-7 and gcc-7 for compile.
- 08-May-2021 Ubuntu 20.04 has Qt5.12.8 as default, so it would be easy. For Ubuntu 18.04, I found PPA for Qt5.12.8, which would make the installation much easier, so I updated the instruction.
- 21-Mar-2020 Now DSI studio needs Qt 5.12.x for compile. I added the explanation how to setup Qt 5.12.
- Install gcc and g++
- Ubuntu 20.04
- Ubuntu 18.04
- Install necessary files for compile
- Get Qt 5.12.8
- For Ubuntu 20.04, default Qt5 should work.
- For Ubuntu 18.04, PPA provided by Stephan Binner would be helpful.
- Prepare a working directory
- Get the Windows version of DSI Studio
- Get the source code from GitHub
- Compile
- Packaging
- Run DSI Studio
DSI Studio needs gcc-7 and g++-7 for compile on Ubuntu 20.04. We can install them via apt.
sudo apt update sudo apt install g++-7
Just installing gcc-7 and g++-7 won’t have any effects on the machine.
You can check the version of gcc and g++ by typing gcc –version and g++ –version
gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 g++ --version g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
In order to make gcc-7 and g++-7 available, we need to do the following;
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 10 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 10
You should see something like;
update-alternatives: using /usr/bin/g++-7 to provide /usr/bin/g++ (g++) in auto mode
If you have installed other version of gcc (eg. gcc-10), You need to select gcc-7 and g++-7
sudo update-alternatives --config gcc There are 2 choices for the alternative gcc (providing /usr/bin/gcc). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/bin/gcc-7 10 auto mode 1 /usr/bin/gcc-7 10 manual mode * 2 /usr/bin/gcc-9 20 manual mode Press <enter> to keep the current choice[*], or type selection number: 0
Do the same thing for g++
sudo update-alternatives --config g++
DSI Studio needs gcc-7 and g++-7 for compile on Ubuntu 18.04. We can install them via apt.
sudo apt install g++-7
We also need to install the following;
sudo apt install git libboost-all-dev zlib1g zlib1g-dev
sudo apt install qt5-qmake qt5-default libqt5charts5-dev
Some may need to install libqt5opengl5-dev (Thank Steven Baete for the Feedback!)
sudo apt install libqt5opengl5-dev
sudo add-apt-repository ppa:beineri/opt-qt-5.12.8-bionic sudo apt update sudo apt install qt512base qt512charts-no-lgpl source /opt/qt512/bin/qt512-env.sh
Prepare a working directory. We save files in this directory.
mkdir dsistudio
Download the Windows version of DSI Studio from this link and save it under working directory (dsistudio).
Filename should be “dsi_studio_win.zip.”
Now we get the source code of DSI Studio from Github. We also need “frankyeh-TIPL-xxxxxx(revision number).zip” to be downloaded. After unzipping, rename the folder as “tipl”, and move under src.
cd dsistudio git clone -b master git://github.com/frankyeh/DSI-Studio.git src xdg-open https://github.com/frankyeh/TIPL/zipball/master unzip frankyeh-TIPL-xxxxxxx.zip mv frankyeh-TIPL-xxxxxxx tipl mv tipl src
Prepare a directory for build and compile. The point is that we need to use qmake under Qt5.12.8. I chose to specify fullpath because I don’t have to tweak system environments. After executing qmake, we just run make to compile.
mkdir build cd build #(for Ubuntu 20.04) qmake ../src #(for Ubuntu 18.04 using ppa by Stephan Binner) /opt/qt512/bin/qmake ../src make
If it goes well, you should find dsi_studio under build directory.
You may remove unnecessary files with make clean.
make clean
Windows version zip file has atlas and other files included. We make use of it.
DLL files are for Windows, so we delete all of them.
cd .. # Now you should be in the "dsistudio" directory unzip dsi_studio_win.zip cd dsi_studio_win find . -name '*.dll' -exec rm {} ; rmdir iconengines imageformats platforms styles rm dsi_studio.exe cp ../build/dsi_studio .
Now you can run DSI Studio from the terminal.
./dsi_studio
If everything works, the command brings up DSI Studio.
Dear Kiyotaka,
Sorry to interrupt you. I was stuck at step 5. “Download the Windows version of DSI Studio from this link and save it under working directory (dsistudio).”
Does this mean “dsi_studio_win.zip(github)”? “this link” is now out of date. I did not understand where to save the downloaded files. Where is the directory of “dsistudio”?
Yasuhisa Sakurai
Dear Yasuhisa,
Thank you for letting me know that the link is dead. I updated the link.
Actually, now you can get the latest version of DSI studio from the official page. https://dsi-studio.labsolver.org/download.html
So we don’t have to build DSI studio any more!
Best regards,
Kiyotaka
Dear Kiyotaka,
Thank you for your kind reply. I have known that DSI Studio has a Windows version. I downloaded the win.zip file from the official site and installed the application successfully.
Yasuhisa Sakurai
Dear Kiyotaka,
Thank for you for this detailed post! I’m using ubuntu 20.04, and after following your detailed instructions, and typed in make, I got the following error:
/usr/lib/qt5/bin/uic ../src/mainwindow.ui -o ui_mainwindow.h
/usr/lib/qt5/bin/uic ../src/tracking/tracking_window.ui -o ui_tracking_window.h
/usr/lib/qt5/bin/uic ../src/reconstruction/reconstruction_window.ui -o ui_reconstruction_window.h
/usr/lib/qt5/bin/uic ../src/dicom/dicom_parser.ui -o ui_dicom_parser.h
/usr/lib/qt5/bin/uic ../src/view_image.ui -o ui_view_image.h
/usr/lib/qt5/bin/uic ../src/manual_alignment.ui -o ui_manual_alignment.h
/usr/lib/qt5/bin/uic ../src/tracking/tract_report.ui -o ui_tract_report.h
/usr/lib/qt5/bin/uic ../src/tracking/color_bar_dialog.ui -o ui_color_bar_dialog.h
/usr/lib/qt5/bin/uic ../src/tracking/connectivity_matrix_dialog.ui -o ui_connectivity_matrix_dialog.h
/usr/lib/qt5/bin/uic ../src/tracking/atlasdialog.ui -o ui_atlasdialog.h
/usr/lib/qt5/bin/uic ../src/filebrowser.ui -o ui_filebrowser.h
/usr/lib/qt5/bin/uic ../src/connectometry/createdbdialog.ui -o ui_createdbdialog.h
/usr/lib/qt5/bin/uic ../src/connectometry/individual_connectometry.ui -o ui_individual_connectometry.h
/usr/lib/qt5/bin/uic ../src/connectometry/match_db.ui -o ui_match_db.h
/usr/lib/qt5/bin/uic ../src/connectometry/db_window.ui -o ui_db_window.h
/usr/lib/qt5/bin/uic ../src/connectometry/group_connectometry.ui -o ui_group_connectometry.h
/usr/lib/qt5/bin/uic ../src/regtoolbox.ui -o ui_regtoolbox.h
/usr/lib/qt5/bin/uic ../src/connectometry/nn_connectometry.ui -o ui_nn_connectometry.h
/usr/lib/qt5/bin/uic ../src/auto_track.ui -o ui_auto_track.h
g++ -c -pipe -fpermissive -Wno-sign-compare -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../src -I. -I./plot -I../src/libs -I../src/libs/dsi -I../src/libs/tracking -I../src/libs/mapping -I../src/dicom -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtCharts -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o ../src/main.cpp
g++ -c -pipe -fpermissive -Wno-sign-compare -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../src -I. -I./plot -I../src/libs -I../src/libs/dsi -I../src/libs/tracking -I../src/libs/mapping -I../src/dicom -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtCharts -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mainwindow.o ../src/mainwindow.cpp
In file included from ../src/mainwindow.cpp:1:0:
../src/mac_filesystem.hpp:7:10: fatal error: filesystem: No such file or directory
#include
^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2375: mainwindow.o] Error 1
Could you advise on how to resolve this issue? Thanks so much!
Catherine
Dear Catherine,
I will look into the error to resolve the problem.
For the time being, below is the link for the compiled DSI Studio for Ubuntu 20.04 (I myself compiled under Ubuntu 20.04 on 17 Jun 2021). Could you download and try it? Unzip dsistudio2004.zip and you will see the dsistudio directory. From the terminal, please run `./dsi_studio` It should work without any problem.
http://www.lin4neuro.net/lin4neuro/neuroimaging_software_packages/dsistudio2004.zip
Best regards,
Kiyotaka
Dear Kiyotaka,
Many thanks for the link and a swift response! Now it works perfectly. But please do let me know if you figured out what might go wrong with my compilations.
Best,
Catherine
Dear Catherine,
Now Frank releases compiled version of DSIStudio.
https://github.com/frankyeh/DSI-Studio/releases/tag/2021_08
So, we don’t have to compile for ourselves anymore!
Best regards,
Kiyotaka
Dear Kiyotaka,
Many thanks for the update! This is great news! I just recently updated the software using this link, and things seem to work fine now!
Best,
Catherine
Hello,
thanks for the excellent tutorial! I have followed all the instructions precisely. I am trying to build on Ubuntu 20.04, but receive an error during build for the RegionModel.h file. The error is as follows:
In file included from ../src/tipl/tipl.hpp:85,
from ../src/tracking/region/RegionModel.h:7,
from ../src/tracking/region/RegionModel.cpp:6:
../src/tipl/vis/march_cube.hpp: In instantiation of ‘tipl::march_cube::march_cube(const ImageType&, double) [with ImageType = tipl::image; VectorType = tipl::vector]’:
../src/tracking/region/RegionModel.cpp:101:73: required from here
../src/tipl/vis/march_cube.hpp:443:57: error: ‘class image_type::value_type’ resolves to ‘tipl::image::value_type’ {aka ‘unsigned char’}, which is is not a class type
443 | std::vector pixels;
| ^~~~~~
../src/tipl/vis/march_cube.hpp:443:57: error: ‘class image_type::value_type’ resolves to ‘tipl::image::value_type’ {aka ‘unsigned char’}, which is is not a class type
In file included from ../src/tipl/numerical/basic_op.hpp:6,
from ../src/tipl/morphology/morphology.hpp:7,
from ../src/tipl/tipl.hpp:32,
from ../src/tracking/region/RegionModel.h:7,
from ../src/tracking/region/RegionModel.cpp:6:
../src/tipl/utility/multi_thread.hpp: In instantiation of ‘void tipl::par_for(T, Func, int) [with T = long unsigned int; Func = RegionModel::load(const std::vector<tipl::vector >&, double, unsigned char)::]’:
../src/tracking/region/RegionModel.cpp:118:6: required from here
../src/tipl/utility/multi_thread.hpp:25:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
25 | if(thread_count > size)
| ~~~~~~~~~~~~~^~~~~~
In file included from ../src/tipl/tipl.hpp:85,
from ../src/tracking/region/RegionModel.h:7,
from ../src/tracking/region/RegionModel.cpp:6:
../src/tipl/vis/march_cube.hpp: In instantiation of ‘tipl::march_cube::march_cube(const ImageType&, double) [with ImageType = tipl::image; VectorType = tipl::vector]’:
../src/tracking/region/RegionModel.cpp:154:27: required from here
../src/tipl/vis/march_cube.hpp:443:57: error: ‘class image_type::value_type’ resolves to ‘tipl::image::value_type’ {aka ‘float’}, which is is not a class type
443 | std::vector pixels;
| ^~~~~~
../src/tipl/vis/march_cube.hpp:443:57: error: ‘class image_type::value_type’ resolves to ‘tipl::image::value_type’ {aka ‘float’}, which is is not a class type
In file included from ../src/tipl/morphology/morphology.hpp:7,
from ../src/tipl/tipl.hpp:32,
from ../src/tracking/region/RegionModel.h:7,
from ../src/tracking/region/RegionModel.cpp:6:
Any idea how to fix this?
Thanks!
Johannes
Hi Johannes,
I usually use Ubuntu 18.04 and I have not tried Ubuntu 20.04 much.
So please give me time to replicate the issue.
(It works for Ubuntu 18.04 for sure.)
Best regards,
Kiyotaka
Hi Johannes,
I compiled DSI studio on Ubuntu 20.04 and found out that gcc-10 won’t work well. gcc-7 as well as g++-7 work well.
I updated the article, so please check it and see how it works.
Hello Kiyotaka,
thank you for the quick help. Using gcc 7 did the trick! I noticed there is now a small typo in your tutorial. It should be libqt5charts5-dev instead of libqt5chart5-dev in step 3.
Once again, thanks so much for the quick help. Really appreciate it!
Johannes
Hi Johannes,
Glad to know that it worked for you. Also, thank you for finding the typo. It’s fixed now!
Kiyotaka
Hello,
I’m also working with Ubuntu 20.04 installation of DSI Studio and ran into the same error. I believe you can fix yours by following the instructions here: https://github.com/frankyeh/TIPL/issues/9. Essentially this will entail you changing:
line#443 in dsistudio/src/tipl/vis/march_cube.hpp
std::vector pixels; to
std::vector pixels;
However, I’m running into another issue in which the ‘make’ command isn’t working correctly because we’ve installed Qt 5.12.8 (as per Step 3.) instead of the required 5.12.2 for DSI Study to function.
Perhaps we need to update the tutorial above to reflect an installation to Qt 5.12.2.
Hi Tyler,
Thank you for the info.
I didn’t have any problems compiling DSI studio with Qt5.12.8, so I’m curious what kind of error you got with 5.12.8. Could you tell me what error you got with `make`?
Ubuntu 20.04 ships with Qt5.12.8, so I hope DSI studio can be compiled without any problems with Qt5.12.8
As I replied to Johannes, gcc and g++ versions also matter.
Which version of gcc and g++ did you use?
Best regards,
Kiyotaka
Hi Kiyotaka,
I’m using the following versions of gcc and g++ in Ubuntu 20.04:
gcc –version –> gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
g++ –version –> g++ (Ubuntu 7.5.0-6ubuntu2) 7.5.0
Frank Yeh (Google Group Thread: https://groups.google.com/u/3/g/dsi-studio/c/x1uUvdJYsZc) pointed out that this line could be causing the errors and that it was likely due to me using Qt5.12.8 instead of the intended Qt5.12.2:
./ui_group_connectometry.h: In member function ‘void
Ui_group_connectometry::setupUi(QDialog*)’:
./ui_group_connectometry.h:308:24: error: ‘class QListWidget’ has no
member named ‘setItemAlignment’; did you mean ‘setItemWidget’?
That’s really interesting that you were able to compile with Qt5.12.8, I wonder what the issue could be.. I posted the full error message in a .txt file at the Google Group Thread I linked above, if you think it may help.
Thanks,
Tyler
Hi Tyler,
Thanks. I use Qt5.12.8 to compile DSI Studio for both Ubuntu 18.04 and 21.04 and it has worked well so far.
I will look into the thread.
Kiyotaka
I think the issue may be that Anaconda is restricting the qt5 package to 5.9.7, so I’m going to see if I can just learn to deploy this on a Singularity container. Thanks for your help, hope this thread can help others too.
Hi Tyler,
That makes sense. Thank you for the info.
Best regards,
Kiyotaka
I also tested Ubuntu 20.04 using docker container and Kiyotaka’s instruction works without a problem. It seems to me that the error related to is due to a different Qt version, and I would remove existing Qt and re-install to see if it works.
Hi Frank,
Thank you very much for your validation!
Best regards,
Kiyotaka
Hi
My name is Sumiko. Thank you so much for the instruction, I have been successful to build dsi_studio on my new Dell workstation Precision 7920.
Everything works fine till I try to open the fib.gz file. dsi_studio faults with error:
===========================
load fib
Segmentation fault (core dumped)
===========================
My Ubuntu version is 18.04, OpenGL is 4.6.0, the graphic card is NVIDIA Quadro RTX 5000, graphic card driver version is 410.78.
Any ideas about this problem?
Thank you in advance. Sumiko
Dear Sumiko,
Thank you for the question.
Right now I have no clue about this problem.
It might be better to ask Frank, the developer of DSI studio about this problem.
Best regrads,
Kiyotaka
Hi,
Thank you so much for the instruction.
I followed the instruction and built dsi_studio successfully. Everything worked well until I run the “Step 3: Fiber tracking”. I am able to generate *.src.gz and *.fib.gz files. When I load the fiber file in step 3, dsi_studio are fault with core dump segmentation error.
Any suggestion? For your referal, my Utunbu version is Ubuntu 18.04 LTS, and qt version is 5.12.8. Any advice would be great appreciated.
Thank you,
Sumiko
Thank you for the instruction.
I tried to install DSIsutio on Ubuntu 18.04 with the latest tipl files, but faced the error:
Makefile:5193: recipe for target ‘group_connectometry.o’ failed
make: *** [group_connectometry.o] Error 1
Thanks for the question. (Sorry this comment was categorized as spam somehow, and I just recognoized now).
The error you encountered might be due to the QT version. Now it accepts only QT5.12.
http://dsi-studio.labsolver.org/dsi-studio-download
I myself am preparing an updated article, so please give me some more time.
Hi,
I revised the article and added an explanation how to use Qt 5.12 for compilation of DSI Studio.
Hope this helps,
Thank you for this great article.
I am trying to install DSI-studio on my Ubuntu 18.04 system and running into an error after step 7:
$ qmake ../src
Project ERROR: Unknown module(s) in QT: charts
How could I work around it?
I would appreciate any help you may provide.
Luis
Dear Luis,
Sorry, your comment on 20 March was recognized as spam, and I just noticed your comment.
I myself use Ubuntu core + XFCE, so please give me a few days to look for the workaround in (standard) Ubuntu.
For the time being, my compiled version may work.
If you are interested, please download the following link and see how it works.
http://www.lin4neuro.net/lin4neuro/neuroimaging_software_packages/dsistudio1804.zip
Best regards,
Kiyotaka
Dear Luis
I found the workaround.
Please install libqt5charts5-dev
However, I had compilation error after that.
I will look for the workaround for this problem.
Best,
Kiyotaka
Dear Kiyotaka,
Thank you for the quick response. I appreciate you looking into this compile error on Ubuntu 18.04.
I tried step 7 after installing libqt5charts5-dev and I still got the charts error:
$ qmake ../src
Project ERROR: Unknown module(s) in QT: charts
I would look into your compiled version in the meanwhile.
Thank you,
Luis
Dear Luis,
Hmm… In my circumstance with original Ubuntu 18.04, installing libqt5charts5-dev solved the problem…
I will look for another workaround. It may take some time.
Please check the compiled version for the time being.
Best,
Kiyotaka
Dear Luis,
It took for a while, but I finally found out how to compile DSI studio with Qt5.12.
I updated the article, so please give it a try.
Best regards,
Kiyotaka
Hello,
I am doing a fresh install of DSI and have not been able to get it to compile without an error. The error that I currently have and cannot figure out is as follows:
Makefile:4936: recipe for target ‘connectometry_db.o’ failed
make: *** [connectometry_db.o] Error 1
There was no other information regarding why this failed.
I am running Ubuntu 16.04
Any information would be helpful
All I can think of now is that the version difference of TIPL.
I recommend using the latest one always.
BTW, I compile DSI studio for Ubuntu 16.04.
It can be downloaded from http://www.lin4neuro.net/lin4neuro/neuroimaging_software_packages/dsistudio1604.zip
Hope this helps,
Kiyotaka
Hi,
When I check gcc version, it returned:
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
So I skipped step 1. and step 2.
But ‘make’ returned this error:
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/mainwindow.ui -o ui_mainwindow.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/tracking/tracking_window.ui -o ui_tracking_window.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/reconstruction/reconstruction_window.ui -o ui_reconstruction_window.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/dicom/dicom_parser.ui -o ui_dicom_parser.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/simulation.ui -o ui_simulation.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/view_image.ui -o ui_view_image.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/manual_alignment.ui -o ui_manual_alignment.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/tracking/tract_report.ui -o ui_tract_report.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/tracking/color_bar_dialog.ui -o ui_color_bar_dialog.h
../src/tracking/color_bar_dialog.ui: Warning: Z-order assignment: ” is not a valid widget.
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/tracking/connectivity_matrix_dialog.ui -o ui_connectivity_matrix_dialog.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/tracking/atlasdialog.ui -o ui_atlasdialog.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/dicom/motion_dialog.ui -o ui_motion_dialog.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/filebrowser.ui -o ui_filebrowser.h
../src/filebrowser.ui: Warning: The name ‘layoutWidget’ (QWidget) is already in use, defaulting to ‘layoutWidget1’.
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/connectometry/createdbdialog.ui -o ui_createdbdialog.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/connectometry/individual_connectometry.ui -o ui_individual_connectometry.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/connectometry/match_db.ui -o ui_match_db.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/connectometry/db_window.ui -o ui_db_window.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/connectometry/group_connectometry.ui -o ui_group_connectometry.h
/usr/lib/x86_64-linux-gnu/qt5/bin/uic ../src/regtoolbox.ui -o ui_regtoolbox.h
g++ -c -m64 -pipe -fpermissive -O2 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../src -I. -I../src/libs -I../src/libs/dsi -I../src/libs/tracking -I../src/libs/mapping -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o ../src/main.cpp
In file included from ../src/mainwindow.h:6:0,
from ../src/main.cpp:9:
../src/libs/vbc/vbc_database.h:5:25: fatal error: tipl/tipl.hpp: No such file or directory
compilation terminated.
Makefile:887: recipe for target ‘main.o’ failed
make: *** [main.o] Error 1
Thank you
2086
Hi,
I came across the similar error before. In my case, it was due to the wrong version of TILP-master.
Please make sure you download the latest version of TILP-master.
Other than that, please ask Frank Yeh, the developer of DSI studio.
Hello,
I have a new problem now. When I type ./dsistudio in the build directory. It shows up an Error window [Failed to load template file at]. Do you know how to solve this error message?
Dear Po-yu,
Did you download windows version of DSI-Studio? Template files should be in there.
Dear Frank and Kiyotoka,
I am trying to compile DSI studio in my Ubuntu 16.04 but I encounter a problem on step 7 “qmake ../src”
~/dsistudio/build$ qmake ../src
Could not find qmake configuration file linux-g++.
Error processing project file: ../src/dsi_studio.pro
I tried to find the answers on the Internet but these answers do not work for me.
Please guide me to install your software.
Thanks,
Po-Yu
Dear Po-Yu,
The error message indicates that you have problems with qmake.
Could you tell me the result of the following command?
$ qmake –version
Best regards,
Kiyotaka
pkao@Formosa:~$ qmake -version
QMake version 3.0
Using Qt version 5.6.2 in /home/pkao/anaconda2/bin/lib
Dear Po-Yu,
In my circumstance,
$ qmake –version
QMake version 3.0
Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu
In your circumstance, qmake in anaconda2 will be used, which causes problems.
So easiest workaround might be to use the full path for qmake
$ /usr/bin/qmake ../src
If it doesn’t go well, please show me the result of followoing command
$ which qmake
Then I will be able to show you how to switch the different version of qmake in your circumstance.
Hi Kiyotaka,
It works for me now. Thanks for your helping.
Best,
Po-Yu
Dear Po-Yu,
Glad to know that the workaround works for you.
Best regards,
Kiyotaka
Dear Frank and Kiyotoka,
Thank you again Frank for the wonderful software, and thank you Kiyotoka for the installation instructions. I just compiled dsi_studio on my new Linux Mint 18.2 installation.
The instructions were quite complete, except that I also needed to install the package libqt5opengl5-dev (error message: “qtOpenGL/QGLWidget: No such file or directory”).
I thought I’d post this here to help the next person,
Best regards,
Steven
Dear Steven,
Thank you for the feedback! I updated the article according to your suggestion.
Best regards,
Kiyotaka
This is the developer of DSI Studio. Could I include you instruction on the DSI Studio website? I will acknowledge the source here. Thank you!
Dear Frank,
Of course Yes! Thank you very much for developing such a wonderful software.
I always build DSI-studio as I wrote in my post, so I hope it might help those who struggle building DSI studio for Ubuntu.
Best regards,
Kiyotaka