我正在尝试使用 python 构建脚本编译软件,但遇到以下错误。
python build
[CC] cmd\threshold.o
[CC] src\dwi/SH.o[CC] src\mrview/sidebar/orientation_plot.o
[CC] cmd\read_dicom.o
[CC] lib\file\dicom\dict.o
[CC] cmd\gen_unit_warp.o
[CC] cmd\mrinfo.o
[CC] lib\file\dicom\image.o
ERROR:
ERROR: [CC] cmd\threshold.o[CC] src\dwi/SH.o
g++ -c -Wall -march=i686 -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -O
2 -IC:/MinGW/msys/1.0/local/include -DGSL_DLL -mms-bitfields -IC:/gtkmm64/includ
e/glibmm-2.4 -IC:/gtkmm64/lib/glibmm-2.4/include -IC:/gtkmm64/include/sigc++-2.0
-IC:/gtkmm64/lib/sigc++-2.0/include -IC:/gtkmm64/include/glib-2.0 -IC:/gtkmm64/
lib/glib-2.0/include -Ilib -Isrc cmd\threshold.cpp -o cmd\threshold.og++ -c -Wal
l -march=i686 -fno-strict-aliasing -DGL_GLEXT_PROTOTYPES -DUSE_TR1 -O2 -IC:/MinG
W/msys/1.0/local/include -DGSL_DLL -mms-bitfields -IC:/gtkmm64/include/glibmm-2.
4 -IC:/gtkmm64/lib/glibmm-2.4/include -IC:/gtkmm64/include/sigc++-2.0 -IC:/gtkmm
64/lib/sigc++-2.0/include -IC:/gtkmm64/include/glib-2.0 -IC:/gtkmm64/lib/glib-2.
0/include -Ilib -Isrc src\dwi/SH.cpp -o src\dwi/SH.o
failed with output:
In file included from lib/ptr.h:26:0,
from lib/args.h:26,
from lib/app.h:30,
from cmd\threshold.cpp:30:
lib/mrtrix.h:69:29: fatal error: gsl/gsl_version.h: No such file or directory
compilation terminated.
它正在寻找的文件“gsl_version.h”位于 C:\GnuWin32\include\gsl 中,并且 C:\GnuWin32\include 包含在我的路径中。那么为什么我会收到这个错误呢?
非常感激!!
杰西