Supported Platforms
|
|
|
|
SDR uses the OpenGL/Mesa API and QT 2.3 or 3.x, which are available on all major platforms. Therefore SDR should be highly portable. SDR has been compiled under GNU/Linux, Irix 6.5, and M$ Win95 or higher.
|
|
|
|
|
|
Required Libraries |
|
|
|
In order to compile SDR you need to have following libraries up and running on your system: |
|
|
|
- OpenGL, which comes with GNU/Linux, Irix, and M$Win 95 (OSR2) or later M$ operating systems. As a free software alternative Mesa should be considered.
- Free QT was formerly developed by Trolltech. Currently Trolltech seems to focus on sales. Free Qt seems to fall apart now.
Please see:
KDE Free Qt Foundation for Gnu/Linux/KDE,
Q... on Windows for M$ Windows,
and SGI Freeware for Irix 6.5
|
|
|
|
SDR is not compatible with QT 4.x. |
|
|
|
|
|
|
|
File Tree |
|
|
|
SDR comes as sources, example data, and M$ binaries
It is recommended to preserve the directory structure:
... |
/Ogles |
/ogles-0.7.2 |
/src |
|
|
|
/data |
|
|
|
(/win_bin) |
|
|
/ogles-doc
|
|
|
|
|
|
|
|
/sdr-0.4.3 |
/src |
|
|
|
/data |
|
|
|
(/win_bin) |
|
|
/sdr-doc
|
|
|
|
|
|
|
|
|
|
GNU/Linux |
|
|
|
In a shell: 'cd' to the '.../sdr-0.4.2/src' directory, and type 'make -f Makefile-linux'.
'Makefile-linux' was modified from the output of 'qmake -o Makefile-linux sdr.pro':
One define ('DEFINES=-DHAVE_LINUX') is added, -lGL and -lGLU is included in the LIBS parameter ('LIBS = ... -lGL -lGLU ...'), and two targets are commented out
('#Makefile-linux: sdr.pro ...'
'#qmake: ...'). |
|
|
|
|
|
|
|
Irix 6.5 |
|
|
|
Because of SGI's restrictive licence policy, Qt (and SDR) could not be tested under MIPS CC. SDR can be complied with gcc-3.x. So be sure to have Qt 3.x configured with irix-g++.
In a shell: 'cd' to the '.../sdr-0.4.2/src' directory, and type
'gmake -f Makefile-irix'.
'Makefile-irix' was modified from the output of 'qmake -o Makefile-irix sdr.pro':
One define ('DEFINES=-DHAVE_IRIX') is added, -lGL and -lGLU is included in the LIBS parameter ('LIBS = ... -lGL -lGLU ...'), and two targets are commented out
('#Makefile-irix: sdr.pro ...'
'#qmake: ...').
|
|
|
|
|
|
|
|
M$ VC++ |
|
|
|
M$VC++ 6.0 with sp5:
The simpleDicomReader.dsp workspace expects Qt-2.3 (ftp://ftp.trolltech.com/qt/non-commercial/). Don't use blanks in QT's parent directory names and make sure that the environment variable '$(QTDIR)' is set to the QT-2.3 directory.
Load the simpleDicomReader.dsp project from the ..\sdr-0.4.2\m$vc6\ directory.
M$VC++ 8.x:
Qt 2.3. will not work with M$VC 8.x. SDR compiles under M$VC++8.x with Qt-3.x. The easy way to get Qt-3.x for M$VC 8.x is to download setup-qt-win-free-msvc-3.3.4-3.exe.
Don't use blanks in QT's parent directory names and make sure that the environment variable '$(QTDIR)' is set to the QT-3.x directory.
Load the simpleDicomReader.sln "solution" from the ..\sdr-0.4.2\m$vc8\ directory. |
|
|
|
|
|
top
|
|