Compile DSI Studio on Windows1. Download Qt
Install MS Visual Studio Community 2017, select "Desktop development with C++" Download DSI Studio source code at https://github.com/frankyeh/DSI-Studio
There is no need to build boost for DSI Studio. Just copy the header files under the DSI_STUDIO_DIRECTORY/boost. You also need to download TIPL (https://github.com/frankyeh/TIPL) and put them under DSI_STUDIO_DIRECTORY/tipl. 4. Build DSI Studio To run DSI Studio you may also need to download template files from the zip files provided from the download page. Compile DSI Studio on Mac1. Install Xcode
The newest version Xcode may not contain gcc for building boost library. To get gcc, open Xcode and select [Xcode] [preference]. Under the download tab, install the command line tools.
There is no need to build boost for DSI Studio. Just copy the header files under the DSI_STUDIO_DIRECTORY/boost. You also need to download TIPL (https://github.com/frankyeh/TIPL) and put them under DSI_STUDIO_DIRECTORY/tipl.
6. Download accessory files You may need to download atlas and template from any packages listed in the DSI Studio download page. The template should be placed at dsi_studio.app/Contents/MacOS/dsi_studio whereas the atlas placed under dsi_studio.app/Contents/MacOS/dsi_studio/atlas Compile DSI Studio on Unbuntu
Compile DSI Studio on Linux Fedora# # Installiation Instruction for Linux Fedora # By West, John at Indiana University – Purdue University Indianapolis # 2013/02/15 The compiling was pretty much exactly the same. The difference is packages needed as prereqs are different in Fedora than in Ubuntu. From step 1.1 > sudo apt-get install qt5-qmake qt5-dev-tools ---> sudo yum install qt qt-devel qt-create (NOTE: I installed qt-create while we were debugging, so that may not be necessary) From step 3 > sudo apt-get install git ---> sudo yum install git > sudo apt-get install libboost-all-dev ---> sudo yum install boost boost-dev > sudo apt-get install zlib1g zlib1g-dev ---> sudo yum install zlib zlib-dev I should also mention that this was done on Fedora 17 (possible other versions may have different issues) and that I installed the Nvidia drivers (replacing nouveau - open source nvidia drivers in Fedora) using the instructions on the following website: http://www.if-not-true-then-false.com/2012/fedora-17-nvidia-guide/ . Note, I followed the akmod-nvidia instructions under step 4. I'm not sure if doing kmod or kmod-PAE would affect things. Instructions for other Fedora versions are available as well. Only other difference is that for Fedora (17 at least) qmake and qmake-qt4 are one in the same but only qmake-qt5 is provided as a link. So I had to use the qmake-qt4 command in step 8: So in step 8: > qmake ../src becomes qmake-qt5 ../src Another instruction from Pete Hurd: # installing DSI studio on Fedora 22 -Pete Hurd, Sept 2015. # note: John West's notes has these packages ending in "dev" rather than "devel" sudo dnf install qt qt-devel sudo dnf install git sudo dnf install boost boost-devel sudo dnf install zlib zlib-devel sudo dnf install qt5-qtbase-devel sudo dnf install mesa-libGLU-devel sudo dnf install gcc-c++ # vanilla 'sudo dnf install qt5-qtbase-devel' tried to downgrade a shedload of things, then failed.... sudo dnf install qt5-qtbase-devel-5.5.0 cd src mkdir tipl cd .. # then unzip it and put the contents in 'tipl', so that that the file tipl.hpp is in the 'tipl' subdir. mkdir build cd build/ qmake-qt5 ../src # then edit Makefile to add flag -std=c++11 to CXXFLAGS to allow 'auto' to work in the new school way make DSI Studio also needs several others files, and you may download the Windows package to get other files. |
Download >