[go: up one dir, main page]

Menu

[r32]: / trunk / configure.sh  Maximize  Restore  History

Download this file

25 lines (20 with data), 659 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash
sudo apt-get install libqt4-dev libgsl0-dev libann-dev zlib1g-dev
# Check for nVidias CUDA compiler
if test "$(which nvcc)" == ""
then
echo
echo "*** FAILED TO LOCATE CUDA COMPILER ***"
echo
echo "The CUDA compiler 'nvcc' is not in the current path."
echo "To compile cocolib and the examples, download and install the"
echo "CUDA toolkit version 4.2 or higher from the CUDA zone on"
echo
echo "www.nvidia.com".
echo
echo "After installation, make sure your PATH variable includes the"
echo "install path to the 'nvcc' executable (default /usr/local/cuda/bin)."
echo
fi
# run qmake to create Makefile
qmake cocolib.pro