我有一台基于 Intel 的 64 位 Mac。我正在尝试安装 Scilab 2024 的 IPCV(图像处理和计算机视觉)工具箱。
我安装了 XCode,并运行了
xcode-select
命令以同意许可证以及互联网上提供的所有其他说明。
当我启动安装时,在所有初始详细文本之后出现以下一组错误消息:
Building gateway...
Generate a gateway file
Generate a loader file
Generate a Makefile
ilib_gen_Make: configure : Generate Makefile.
Detection of C/C++/Fortran Compilers
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-apple-darwin23.0.0
checking host system type... x86_64-apple-darwin23.0.0
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... no
atomsInstall: Error while building the toolbox '/Applications/scilab-2024.0.0.app/Contents/share/scilab/contrib/IPCV/4.1.2'
我想知道尽管
homebrew
上安装了GCC并且安装了XCode,但C编译并没有发生。
我建议您在文件中
sci_gateway/cpp/builder_gateway_cpp.sce
更改行
inter_cflags = ' -std=c++11 -stdlib=libc++ -I'+OPENCV_INCLUDE;
由
inter_cflags = OPENCV_INCLUDE;
适用于 Intel 和 arm64 的 IPCV 新官方版本将于本周推出。