[Scilab-users] ?==?utf-8?q? ?==?utf-8?q? ?= Install image processing toolbo

Antoine Monmayrant antoine.monmayrant at laas.fr
Tue Mar 21 12:16:44 CET 2017


Le Mardi, Mars 21, 2017 09:09 CET, Tan Chin Luh <chinluh at tritytech.com> a écrit: 
 
> Hi,
> 
> > I faced case #1: Ubuntu 16.04 with recent kernel.
> > The thing with Atoms is that you don't go and check the website, you just install and are left wondering why this module just killed your scilab install. It's a fairly bad first experience and I think it turns away some potential users.
> I've put that in the "Additional build instructions", but apparently it 
> is just visible for the maintainers. I should have put it in the 
> description.
> > Do you think it would be possible to design your atoms module to warn users of the issue and workaround?
> > This could be done in the "IPCV.start" script.
> I thought of that as well, however, I would need more installation 
> feedback before I could cater for most possibilities. Else, the errors 
> might be more unpredictable for other platform. I will look into the 
> best way in next release.
> 
> thanks for your feedback.

You are welcome!
Do not hesitate to contact me if you need a beta-tester for a bullet-proofed version.
I can try to install it on Windows 7, 10, Ubuntu 14.04, 16.04 and see how it goes.

Cheers,

Antoine

> 
> rgds,
> Chin Luh
> >
> > Antoine
> >
> >   
> > Le Mardi, Mars 21, 2017 02:34 CET, Tan Chin Luh <chinluh at tritytech.com> a écrit:
> >   
> >> Hi,
> >>
> >> Great that you've get it works.
> >> The crashed was caused by 2 reasons:
> >>
> >> 1. If you're running latest kernel (e.g Ubuntu 16.04), the crash is
> >> caused by the older libgomp.so library distributed under Scilab 6
> >> binary. This problem could be resolved with the OpenCV installed as
> >> along the installation the latest libgomp.so would be installed to the
> >> system as well.
> >>
> >> 2. If you're running an older version (e.g Ubuntu 14.04) , the crash is
> >> caused during the loading of the IPCV library which is compiled with
> >> newer version of gcc.
> >>
> >> Usually in linux, a lot of codes/program will just ask the user to
> >> download the source and recompile on the system itself. This will
> >> eliminate the issue of crashing. Another way is packaging the libraries
> >> into the software package, which could be a more complicated process for
> >> the developer.
> >>
> >> For the problem you faced, it is definitely not the atoms portal issue.
> >> Atoms portal does not handle the third parties library an atoms-module
> >> required, and the dependencies of the module which could also crashed
> >> with the version of libraries carried by the Scilab binary.
> >>
> >> So with all these problem, I tried to come out with the "less" effort
> >> way for the user to make it works on linux, still causing crash for the
> >> first time, but with extra 1-2 steps will solve the problem.
> >>
> >> Thanks.
> >>
> >> Regards,
> >> Chin Luh
> >>
> >> On 20/3/2017 6:39 PM, Antoine Monmayrant wrote:
> >>> Answering my own message: It seems that core dump & segfault are almost part of the install process described here: http://scilabipcv.tritytech.com/2017/03/17/installation-of-scilab-ipcv/
> >>> I followed these recommendations and I can restart scilab without a segfault.
> >>>
> >>> I have the feeling there is something wrong with such an install process (install prerequisite, use atoms, crash, do some hand tweaking, pray).
> >>> As far as I remember, image processing toolboxes have always been a pain to install.
> >>> Why is this the case?
> >>> Is the atoms system inadequate?
> >>>
> >>> Antoine
> >>>    
> >>> Le Lundi, Mars 20, 2017 11:21 CET, "Antoine Monmayrant" <antoine.monmayrant at laas.fr> a écrit:
> >>>    
> >>>> Le Samedi, Mars 18, 2017 16:03 CET, Adailton Júnior <adailtonjn68 at gmail.com> a écrit:
> >>>>    
> >>>>> Hello,
> >>>>>
> >>>>> atomsInstall("IPCV") didn't work right away, and I tried in more than
> >>>>> one computer. Although, after usingatomsSystemUpdate(), it worked.
> >>>>> So, thanks for the quick reply. And good work. Now, I can proceed with
> >>>>> my research.
> >>>> Well I was less lucky than you: this package crashes a fresh install of scilab 6.0:
> >>>>
> >>>> tar -xvf scilab-6.0.0.bin.linux-x86_64.tar.gz
> >>>> scilab-6.0.0/bin/scilab
> >>>>
> >>>> --> atomsInstall('IPCV')
> >>>> Examen du dépôt http://atoms.scilab.org/6.0 ... Terminé
> >>>>
> >>>>    ans  =
> >>>>
> >>>> !IPCV  1.0  allusers  SCI/contrib/IPCV/1.0  I  !
> >>>>
> >>>> AtomsAutoload() // segfault & core dumped
> >>>>
> >>>>
> >>>> Antoine
> >>>>
> >>>>> Best regards,
> >>>>>
> >>>>> -- 
> >>>>> Adailton Júnior
> >>>>> +5569992549337
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 18/03/2017 09:06, Tan Chin Luh wrote:
> >>>>>> hi,
> >>>>>>
> >>>>>> you might want to try:
> >>>>>> --> atomsInstall("IPCV")
> >>>>>>
> >>>>>> a new module which is base on SIVP with more functions, just uploaded
> >>>>>> about a day ago.
> >>>>>>
> >>>>>> Cheers!
> >>>>>>
> >>>>>> rgds,
> >>>>>> CL
> >>>>>>
> >>>>>>
> >>>>>> On 18/3/2017 1:47 AM, Viktor Goryainov wrote:
> >>>>>>> Hello!
> >>>>>>>
> >>>>>>> 17.03.2017 18:43, Adailton Júnior пишет:
> >>>>>>>
> >>>>>>>> --> atomsInstall("SIP")
> >>>>>>> As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
> >>>>>>> (Scilab Image and Video Processing toolbox) are available at all for
> >>>>>>> Scilab 6.0 right now. The latter has less time since last update
> >>>>>>> released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
> >>>>>>>
> >>>>>>> Best regards,
> >>>>>>> Viktor
> >>>>>>> _______________________________________________
> >>>>>>> users mailing list
> >>>>>>> users at lists.scilab.org
> >>>>>>> http://lists.scilab.org/mailman/listinfo/users
> >>>>>> _______________________________________________
> >>>>>> users mailing list
> >>>>>> users at lists.scilab.org
> >>>>>> http://lists.scilab.org/mailman/listinfo/users
> >>>> _______________________________________________
> >>>> users mailing list
> >>>> users at lists.scilab.org
> >>>> http://lists.scilab.org/mailman/listinfo/users
> >>>>
> >>> _______________________________________________
> >>> users mailing list
> >>> users at lists.scilab.org
> >>> http://lists.scilab.org/mailman/listinfo/users
> >>
> > _______________________________________________
> > users mailing list
> > users at lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/users
> 
> 
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>




More information about the users mailing list