--> atomsInstall("cglab")
cglab (2.1) [ Edyta PRZYMUS ] * Various improvement in the code * License header added [ Sylvestre Ledru ] * Port to Scilab 5.4.0
Upload date : 2012-07-23 17:09:12 MD5 : c70ebf7f4bc3cb3ff3f59d76cd978db8 SHA1 : 643a279fdfa25b76bf50f44a52c3d275ca705aca Downloads : 887 File list
Linux 32-bit Automatically generated by the ATOMS compilation chain
Upload date : 2012-07-23 17:14:56 MD5 : 6e29fc74c6b47da6d7d5a4dd6abd8bf4 SHA1 : 8ab723a0ac369debcc1874465ae8c33cd1a82940 Downloads : 849 File list
Linux 64-bit Automatically generated by the ATOMS compilation chain
Upload date : 2012-07-23 17:32:14 MD5 : 358c5c7a8ef0bc12f4fbd7ec9b0381f2 SHA1 : 7b07661645d1c3002f825ac255f02a3bbfa2cf29 Downloads : 1807 File list
Sylvestre, I noticed that you posted the source code for the new updated version to work with 5.4.0 by Friday and then saw the binary by Saturday morning -- thanks so much for your rapid work on this Toolbox. Today, I downloaded the most recent Scilab master for x86_64, installed in Ubuntu 12.04, ran Scilab, opened Atoms and installed CGLAB 2.1 and restarted Scilab. Unfortunately, it did not load on restart of Scilab. Here is what I got: ___________________________________________ scilab-master-1342794455 Scilab Enterprises Consortium Scilab (DIGITEO) Copyright (c) 2011-2012 (Scilab Enterprises) Copyright (c) 1989-2012 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment Start CG-lab Load macros Load gateways atomsLoad: An error occurred while loading 'cglab-2.1-1': link: The shared archive was not loaded: libCGAL.so.4: cannot open shared object file: No such file or directory ----I know that you have it working (saw the examples on the forge.scilab.org site), but I am getting a similar error as before. Your help to resolve this would be much appreciated. Craig
Craig, until we include the lib into the ATOMS package. You can do: sudo apt-get install libcgal-dev it should fix your problem.
This is a follow-up message to those that I posted earlier to indicate that I was finally successful with CGLAB. After spending many hours working on the Mac OSX Lion platform, I decided to focus on getting CGLAB to work on the Ubuntu 12.04 platform. I can say that after the effort the reward was worth it; especially, after seeing this on my Scilab console: ___________________________________________ scilab-master-1342794455 Scilab Enterprises Consortium Scilab (DIGITEO) Copyright (c) 2011-2012 (Scilab Enterprises) Copyright (c) 1989-2012 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Startup execution: loading initial environment -->exec loader.sce; Start CG-lab Load macros Load gateways Load help Load demos And, then, seeing one of the demo tests actually produce a Delaunay graphic. I started by using the latest Scilab master, this one includes updates through July 20th and was precompiled for Linux x86_64, and compiling CGLAB from its source (2.1-1-src). However, prior to compiling CGLAB all of the dependencies that it is looking for must be properly installed; in particular the dynamic libraries from CGAL (4.0.2) must be installed. Unfortunately, when the Ubuntu Software Center or "sudo apt-get install libcgal-dev" is used only the static libraries are installed (perhaps there is a way to change this). I ended up downloading the source from the CGAL website and performing the compilation and installation by hand. This defaults to installation of the dynamic libraries. By using the "sudo ldconfig -v" command, you can double check that the dynamic libraries for CGAL are indeed available. I ended up having to also (first) load BOOST, GMP, and MPFR since they are a few of the dependencies to CGAL. I ended up getting an error during the compilation of CGLAB in Scilab due to dynamic links that it finds within the "Thirdparty" folder of Scilab that are in conflict with newer versions that are actually installed on my system. Becoming familiar with "sudo ldconfig -v" quickly helps you to locate the newest versions so that you can simply delete and renew the simlinks that exist in the "Thirdparty" folder (e.g. "sudo ln -s linked_to_dynamic_lib_file expected_file_in_thirdparty_folder_doing_the_simlink"). I now want to get it working on the Mac. As far as I can tell, the popular ports of the open-source libraries via the Fink Project and MacPorts are both a bit behind when it comes to finding available ports for OSX Lion. Those for Snow Leopard appear to be available. Consequently, finding all of the dependencies for Snow Leopard seems straight forward, but for Lion it seems more difficult. I hope this information is helpful. Craig
This comment has been deleted.
Hi, Would you mind continuing the discussion on the forge ? http://forge.scilab.org/index.php/p/cglab/ thanks S
Hello Sylvestre, I will drop a quick note here and complete my comments on the forge site: After being away from this problem for the past few months, I decided to come back to it this week in order to get CGLAB working on OSX Lion. The good news is that I got it working and tested using the Delaunay demo. The bad news is the amount of code editing (though simple) and preparation of the Scilab environment variables necessary to accomplish the CGLAB build. I hope that the information that I have figured out is helpful. See you on the forge, Craig
Hi, I am from ENS Cachan, I think it coulb be valuable to integrate by default CGLAB into Scilab, for any OS, especially under windows. At least, to creat a CGLAB atom available under Windows, For my own interest, I could switch to Scilab for my PDE-based computer experiments and course (see http://m2s.jimdo.com ), Regards, florian
> I think it coulb be valuable to integrate by default CGLAB into Scilab, for any OS, > especially under windows. > > At least, to creat a CGLAB atom available under Windows, I definitely agree that this excellent toolbox misses 80% of its potential users being unavailable for Windows. Extending it to Windows could be a priority. Unfortunately, all people involved in its Forge have left Scilab. By the way, although the Forge claims that CGLAB has been ported to MacOS, this portage is not available on ATOMS. It's a pity.
Hi Guys I recently installed Scilab on a MAC OS X El Capitan version 10.11.3 I tried to install CGLAB via atoms namely: -->atomsInstall("cglab") ans = !cglab 2.0-1 allusers SCI/contrib/cglab/2.0-1 I ! -->atomsAutoload() 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.5.2.app/Contents/MacOS/share/scilab/contrib/cglab/2.0-1/sci_gateway/c//../../src/cpp/libcgal_cpp.dylib, 10): image not found ans = [] I seem to getting similar installation error messages I have seen reported in this forum. We are in Feb. 2016 and the MAC version apparently downloaded version 2.0 of CGLAB. What can be done here? best wishes Tony