Sorry to disturb you with this once more (~ two years ago). Maybe working with iMac is not optimal for scientific calculus.
Bernard
iMac IntelCore i3
macOS Sequoia 15.7.1
5 oct 2025
Avec Scilab 2025.1.0
(The problem was already present with Scilab 2025.0)
I want to install IPCV. A check with other modules shows the same difficulty.
See below.
→ atomsLoad(“IPCV”);
→ atomsInstall(“IPCV”);
Building macros…
– Creation of [IPCVlib] (Macros) –
genlib: Processing file: FourierT.sci
genlib: Processing file: PadImage.sci
…
genlib: Processing file: ycbcr2rgb.sci
Building gateway…
atomsInstall: Error while building the toolbox ‘/Applications/scilab-2025.1.0.app/Contents/share/scilab/contrib/IPCV/4.5.0.2’.
at line 52 of function atomsError ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/modules/atoms/macros/atoms_internals/atomsError.sci line 66 )
at line 418 of function atomsInstall ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/modules/atoms/macros/atomsInstall.sci line 434 )
→ atomsInstall(“simplex”);
atomsInstall: Error while building the toolbox ‘/Applications/scilab-2025.1.0.app/Contents/share/scilab/contrib/simplex/2.0.1’.
at line 10 of executed file /Applications/scilab-2025.1.0.app/Contents/share/scilab/contrib/simplex/2.0.1/builder.sce
at line 4 of function atomsBuild ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/modules/atoms/macros/atoms_internals/atomsBuild.sci line 4 )
at line 415 of function atomsInstall ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/modules/atoms/macros/atomsInstall.sci line 431 )
→ atomsInstall(“accsum”);
Building sources…
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
…
atomsInstall: Error while building the toolbox ‘/Applications/scilab-2025.1.0.app/Contents/share/scilab/contrib/accsum/0.1.2’.
at line 52 of function atomsError ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/modules/atoms/macros/atoms_internals/atomsError.sci line 66 )
at line 418 of function atomsInstall ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/modules/atoms/macros/atomsInstall.sci line 434 )
IPCV : I am currently updating this toobox for Scilab 2026 and have created the release (4.5.0.2) but did not uploaded the binaries. Scilab 2025.1 should not try to install this release (you can see that https://atoms.scilab.org/toolboxes/IPCV/4.5.0.2 mentions “source created on Scilab 2026.0.x”), it is a recurrent problem with the atoms system. To install the previous working version you should precise the exact version, i.e.
atomsInstall(["IPCV","4.5.0.1"])
The other toolboxes you are trying to install are not maintained at all:
simplex : you already have fminsearch in Scilab which implements the simplex/Nelder-Mead method so you don’t need this package,
accsum : the building script is very old, you should download the toolbox sources and try to build it manually in order to see what’s happening.
As for version 4.5.0.1 , it fails to load as well :
→ atomsLoad(‘IPCV’);
Start IPCV 4.5.0.1: load macros, dependenciesatomsLoad: An error occurred while loading ‘IPCV-4.5.0.1’:
IPCV_unix: error on line #15: “cd: Cannot go to directory /Applications/scilab-2025.1.0.app/Contents/share/scilab/contrib/IPCV/4.5.0.1/thirdparty/Darwin/x86_64/lib”
at line 346 of function atomsLoad ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/modules/atoms/macros/atomsLoad.sci line 362 )
But, I can wait for Scilab 2026, no immediate need. As for me, therefore, please do nothing more.
Likely, you have an Intel machine. Unfortunately this toolbox has been compiled for ARM only because until now, no macOS/Intel user requested it. In fact, maintaining both architectures is very tedious and last but not least, the atoms system cannot deal with multiple architectures.
What could do:
Get a more recent Apple machine with an ARM processor
I have recompiled IPCV for macOS on an Intel Imac and uploaded a new version of the IPCV atoms package with libraries for both architectures (hence the size of the package was approximately multiplied by two…).
Can you uninstall the version of IPCV which fails,
atomsRemove IPCV
then quit and restart Scilab, update the list of available package, then finally reinstall IPCV:
Many thanks , Stephane.
So did I. Unfortunately there is still a problem :
+++
Z=imread(“Buttes_Cruchaude_profil.png”);
at line 102 of function imread ( /Applications/scilab-2025.1.0.app/Contents/share/scilab/contrib/IPCV/4.5.0.1/macros/imread.sci line 107 )
int_imread: Can not open file Buttes_Cruchaude_profil.png.
+++
The file called here , and some more recent ones , worked perfectly well in the past.
I think you shall do no further work for a single user. You did much already , I am a bit embarrassed.
Il will move to another machine, either iMac-M4, and think to a possible move to a PC.
I have no problem with the examples of IPCV/imread documentation. Maybe the error you have is just a problem about the file not being where you think it is.
im = imread(fullpath(getIPCVpath() + "/images/" + 'baboon.png'));
imshow(im);
im = imread(fullpath(getIPCVpath() + "/images/" + 'puffin.png'),IMREAD_UNCHANGED=1);
imshow(im);
Of course … my excuse is a solid cold. Now , this is perfect.
So, i will go on with this version of both Scilab and IPCV for a while. And move to a M4-iMac (I follow your advice) to avoid bothering you further with this. I much prefer to read your lessons on nice maths and clever algorithms.
Many thanks for everything , and as well to the Scilab team, for the superb tool.