提问人:Indian 提问时间:11/12/2023 更新时间:11/14/2023 访问量:23
编译 Scilab 2024 的 IPCV(Mac、Intel 64 位)
Compiling the IPCV for Scilab 2024 (Mac Intel 64 bit)
问:
我有一台 64 位 Mac,搭载 Intel 处理器。我正在尝试为 Scilab 2024 安装 IPCV(图像处理和计算机视觉)工具箱。
我已经安装了 XCode,并且我已经运行了同意许可证和 Internet 上提供的所有其他说明的命令。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'
我想知道,尽管安装了 GCC 并安装了 XCode,但 C 编译并没有发生。homebrew
答:
0赞
Stéphane Mottelet
11/14/2023
#1
我建议您在文件中更改该行sci_gateway/cpp/builder_gateway_cpp.sce
inter_cflags = ' -std=c++11 -stdlib=libc++ -I'+OPENCV_INCLUDE;
由
inter_cflags = OPENCV_INCLUDE;
适用于 Intel 和 arm64 的 IPCV 新官方版本将于本周发布。
评论