次のシェルスクリプトをダウンロードし,端末で実行してみてください.
sh evince-font-fix.sh
研究のことやら非公式につらつら書きます.妄想満載ですがご容赦のほどを.
sudo apt-get install libfreeimage-dev libatlas3gf-base libfftw3-dev cmake sudo apt-add-repository ppa:keithw/glfw3 sudo apt-get update sudo apt-get install libglfw3
sudo sh ArrayFire-*_Linux_x86_64.sh --exclude-subdir --prefix=/usr/local
#include <arrayfire.h> // Generate random data, sum and print the result. int main(void) { // Generate 10,000 random values af::array a = af::randu(10000); // Sum the values and copy the result to the CPU: double sum = af::sum<float>(a); printf("sum: %g\n", sum); return 0; }
#-lafcpu, -lafcuda, or -laf for the CPU, CUDA, and unified backends LIBS=-lafcpu LIB_PATHS=-L/usr/local/lib INCLUDES=-I/usr/local/include CC=g++ $(COMPILER_OPTIONS) COMPILER_OPTIONS=-std=c++11 -g all: main.cpp Makefile $(CC) main.cpp -o test $(INCLUDES) $(LIBS) $(LIB_PATHS)