gcc 编译Scilab 2024的IPCV(Mac Intel 64位)

06odsfpq  于 7个月前  发布在  Mac
关注(0)|答案(1)|浏览(79)

我有一个64位的Mac在英特尔。我试图安装IPCV(图像处理和计算机视觉)工具箱为Scilab 2024。
我已经安装了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'

字符串
我想知道的是,尽管GCC安装在homebrew上,XCode也安装了,但C编译并没有发生。

a5g8bdjr

a5g8bdjr1#

我建议在文件sci_gateway/cpp/builder_gateway_cpp.sce中更改行

inter_cflags = ' -std=c++11 -stdlib=libc++ -I'+OPENCV_INCLUDE;

字符串
通过

inter_cflags = OPENCV_INCLUDE;


英特尔和arm64的新官方IPCV版本将于本周发布。

相关问题