# Atoms install builds incorrectly under MacOs

**URL:** <https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054>\
**Category:** Atoms packages\
**Tags:** macos\
**Created:** [October 7, 2025, 12:53pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054 "2025-10-07T12:53:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbjean](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbjean](https://scilab.discourse.group/u/jbjean)\
**Post date:** [October 7, 2025, 12:53pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/1 "2025-10-07T12:53:40Z")

</div>

Atoms install builds incorrectly under MacOs

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 )

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [October 7, 2025, 1:32pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/2 "2025-10-07T13:32:18Z")

</div>

Hello,

There are two diferent issues.

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](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.

```auto
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.

S.

---

<div class="post-metadata">

**Author:** ![jbjean](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbjean](https://scilab.discourse.group/u/jbjean)\
**Post date:** [October 7, 2025, 2:46pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/3 "2025-10-07T14:46:39Z")

</div>

Many Thanks, Stephane. I keep track of the link.

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.

Thank you again. B.

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [October 7, 2025, 3:49pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/4 "2025-10-07T15:49:26Z")

</div>

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:

1. Get a more recent Apple machine with an ARM processor
2. Wait until IPCV is compiled for Intel.

S.

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [October 7, 2025, 5:08pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/5 "2025-10-07T17:08:36Z")

</div>

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,

```auto
atomsRemove IPCV

```

then **quit and restart Scilab** , update the list of available package, then finally reinstall IPCV:

```auto
atomsSystemUpdate
atomsInstall(["IPCV","4.5.0.1"])
atomsLoad IPCV

```

? Tell me if its OK for you.

S.

---

<div class="post-metadata">

**Author:** ![jbjean](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbjean](https://scilab.discourse.group/u/jbjean)\
**Post date:** [October 7, 2025, 6:44pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/6 "2025-10-07T18:44:27Z")

</div>

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.

Friendly yours, Bernard.

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [October 7, 2025, 7:16pm UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/7 "2025-10-07T19:16:44Z")

</div>

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.

```auto
im = imread(fullpath(getIPCVpath() + "/images/" + 'baboon.png'));
imshow(im);

im = imread(fullpath(getIPCVpath() + "/images/" + 'puffin.png'),IMREAD_UNCHANGED=1);
imshow(im);

```

Don’t move to a PC, please don’t !

S.

---

<div class="post-metadata">

**Author:** ![jbjean](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jbjean](https://scilab.discourse.group/u/jbjean)\
**Post date:** [October 8, 2025, 8:19am UTC](https://scilab.discourse.group/t/atoms-install-builds-incorrectly-under-macos/1054/8 "2025-10-08T08:19:01Z")

</div>

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.

Yours, Bernard
