Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : CGLAB details
Login with GitLab


Scilab interface to CGAL library
(3889 downloads for this version - 50516 downloads for all versions)
A more recent valid version exists: 2.3.2
Edyta Przymus
Naceur Meskini
Owner Organization
private individual
Edyta Przymus
Creation Date
August 18, 2011
Source created on
Scilab 5.2.x
Binaries available on
Scilab 5.2.x:
Linux 32-bit macOS Linux 64-bit
Install command
--> atomsInstall("cglab")
            Updated version of package created during Google Summer of Code 2011. Examples
and screenshots available in help files.

The current version of the CGLAB toolbox provides a collection of functions, in
particular Delaunay triangulations in 2D, 3D and nD space; Convex hull in 2D and
3D; Delaunay mesh generator in 2D space; and many others.            
Files (4)
[17.08 MB]
Source code archive
CG-LAB 2.0
[16.13 MB]
Linux 32-bit binary for Scilab 5.2.x
Linux 32-bit
Automatically generated by the ATOMS compilation chain

[16.16 MB]
macOS binary for Scilab 5.2.x
MacOSX version
Automatically generated by the ATOMS compilation chain

[16.14 MB]
Linux 64-bit binary for Scilab 5.2.x
Linux 64-bit
Automatically generated by the ATOMS compilation chain

News (0)
Comments (13)     Leave a comment 
Comment from Samuel Gougeon -- September 14, 2011, 10:25:28 PM    
Glad to see that CGLAB is back for Scilab 5!
Is a distribution for Windows planned?
Read you soon
Comment from Edyta Przymus -- September 14, 2011, 10:28:41 PM    
Hello Samuel,
I'm very happy that you like my piece of code!  Windows is not my strong side, so I hope
someone from Scilab to create distibution for Windows :-)
Comment from Craig Denman -- June 30, 2012, 02:28:35 AM    
Thanks for providing a greatly needed tool.

Unfortunately, it is not properly loading on the Mac OSX with Lion.  It successfully
downloads via the ATOMS manager, 
but when Scilab is restarted the follow error is noted:

Start CG-lab
	Load macros
	Load gateways
atomsLoad: An error occurred while loading 'cglab-2.0-1':
	link: The shared archive was not loaded: dlopen(/Applications/scilab-5.4.0-alpha-,
10): image 
not found

Could there be a misspelling error in the file that it is looking for?

Your help would be very much appreciated.

Comment from Craig Denman -- July 1, 2012, 07:43:51 PM    
I wanted to add a few comments to my note above:  1) I tried using Scilab-5.4.0-beta-1 and
Scilab-5.4.0-alpha-1 with 
OSX Lion, both from the same computer and both failed with the same problem.  It was also
tried on a computer with 
OSX Snow Leopard and Scilab-5.3.3, also failed with same error.

Help to resolve would be appreciated,

Comment from Edyta Przymus -- July 1, 2012, 07:59:13 PM    
Hello Craig,
I am really sorry, but I cannot help - I don't have any possibility to access OSX or any 
other Apple OS.
Comment from Craig Denman -- July 1, 2012, 08:38:00 PM    

Thank you for responding to my need.  Am I able to help by compiling on my system?  I have
looked at the CGAL site 
and found instructions on how to install CGAL, but I am not sure about how to compile your
ATOMS module.  Should I 
consult the Scilab compile instructions as a start?

I have macports installed and noticed a CGAL installation there -- could this be of any
help?  I also have all of the latest 
Xcode installed.

Please let me know if compile instructions are available and point me into the right

Thank you for your help,

Comment from Craig Denman -- July 7, 2012, 07:30:55 PM    
This is a follow-up comment:  I tried loading cglab into a Ubuntu 12.04 linux version 
running Scilab 5.3.3 but without luck.  I first installed CGAL and then tried installing, 
via Atoms, the cglab and received this error message when restarting Scilab to load the 

Start CG-lab
	Load macros
	Load gateways
atomsLoad: An error occurred while loading 'cglab-2.0-1':
	link: The shared archive was not loaded: cannot open shared object 
file: No such file or directory

I hope that this information can help to fix the problem.  CGLAB is an important toolbox 
for Scilab allowing the use of the CGAL library.

Any help to resolve this would be much appreciated.


Answer from Samuel Gougeon -- July 7, 2012, 07:50:51 PM    
You may have a look and comment here:
Comment from Craig Denman -- July 19, 2012, 07:10:42 PM    
Dear Scilab and CGLAB tool administrators,

The CGLAB Toolset is very important for our project.  At this point, however, I have not
been able to get the CGLAB 
toolset to load -- please see my other posts above for the errors.

I have been aware of the "parallel" forum for CGLAB on the site,
but until the most recent posts it 
looked "dead."  I see that others are having the same problems -- and are not
able to get CGLAB to work.

It would be very helpful if the CGLAB description made it clear as to what version of
Scilab was used for the last 
successful load of the CGLAB tools.  Also, assuming that CGAL must be first installed
(since it does not mention 
whether it is included as part of the toolset), what was the version of CGAL that last
provided a successful load of the 
CGLAB tools.  If I was to make a guess, it looks like Scilab 5.2.2 and CGAL 3.8 since the
toolset was created in Aug 
2011 -- but why am I having to guess?

I have tried installing on Mac 10.7 Lion, 10.6 Snow Leopard, and Linux/Ubuntu 12.04 systems
without success.  I 
have tried going back to an archived/older version of CGAL, but I have not been able to
compile on the Mac -- too 
many errors.

At this point of putting hours of effort into trying to get CGLAB to work -- without having
the all of the details of the 
conditions where CGLAB last loaded into Scilab successfully -- I have to say that the
toolset does not work.

** Please escalate the efforts to fix the CGLAB toolset for the currently available
versions of Scilab and CGAL.

Because the Delaunay triangulations are required in our project, if they are not available
to Scilab we will be forced to 
return to using Matlab. We are strong believers in Scilab and have made every effort to
convert our programs over 
from Matlab.

Every effort put into getting the CGLAB toolset to work is very (VERY) much appreciated.

Thank you,

Comment from Sylvestre LEDRU -- July 19, 2012, 07:25:49 PM    
Hello Craig,

I don't think that cglab has been much tested under Mac OS X.
However, did you try to rebuild it yourself from the sources ?

I just pushed some fixes for the Scilab 5.4.0 release

Comment from Sylvestre LEDRU -- July 20, 2012, 03:02:50 PM    
I published a new release (v 2.1) including these fixes:
Comment from NAHID SOBUJ -- March 17, 2015, 05:04:58 PM    
Hello Everyone I have problem regarding following issues. I want to install cglab tools in
scilab but it is showing 
following message. Can anyone help me?
I am using Windows 7 32 bit operating system and scilab 5.5.1

atomsInstallList: The package cglab is not available.
 !--error 10000 

at line      51 of function atomsError called by :  
at line      76 of function atomsInstallList called by :  
at line     233 of function atomsInstall called by :  

Answer from Samuel Gougeon -- March 17, 2015, 07:42:30 PM    
> I am using Windows 7 32 bit operating system and scilab 5.5.1

As indicated in the "Detail" section at the top of this page, under the item 
"ATOMS packaging system Available on", CGLAB is available only for Linux and
operating systems, not for Windows.

Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.