Re: [SIP-devel] next step: Windows porting
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: Zhang C. <ch...@ma...> - 2005-07-29 03:05:53
|
Ricardo Fabbri wrote: >Hi Zhang > > > >> I'm doing some hacking to simpletoolbox. Becauce I got disappointed >>with Mingw and MSYS, I decide to use native build tool on Windows. >> >> > >Nice.. I would at least leave a comment on MinGW forums/lists, at >least for _their_ benefit. They are usually very responsive. > > > >>I >>read some articles on web talking about the GNU build system(aka >>autoconf,automake,libtool) and its alternative such as >>CMake(www.cmake.org) and SCons(www.scons.org). The capability of >>cross-platform build of the later two is very impressive. Used in VXL >>project, CMake shoud be familiar to Ricardo. >> >> > >That's cool. CMake is specially good for C++ code. The only issue with >it is to learn how to build a loadable module using it. Also, CMake >has poor documentation online AFAIK, the only complete and didatic doc >is the book, which you have to pay for. Anyways, my knowledge of CMake >is far less than autotools (yep, this is no excuse).. > > > Yes, the so limited documentation of CMake is a big problem... I'll give a try on Scons today and compare them. >What I like about Autotools is the flexibility a "configure.ac" script >offers for unix systems, since you can write any portable shell script >to test virtually anything. Animal is so portable: it works with _any_ >ImageMagick version! Cmake can possibly do the same, but I really have >no knowledge how.. that would be a major effort. > > > >> I modify the SimpleToolbox today and use nmake( command line tools >>from Microsoft, also used by Scilab ) to build it. I succeed in >>generating libsimple.dll and loader.sce and installing them under the >>directory SCILAB/contrib automatically :-) >> >> > >That's awesome.. did you actually load the toolbox and typed >soma(2,3) and got 5 ? :-) > > > Of cause:-) >>Now I want to liston to other developers' ideas and suggestions for >>further hacking. >> >> > >Just a little piece of advice: under windows, it is more important to >make an installable binary than to make an easy-to-compile source. >Another advice: take note of your hacks :) > > > Yes, I use the commands nmake && nmake install in the command line window for sake of convience. I share the same idea with you that we should make an binary installer on Windows:-) >> How can I put a *toolbox* button on the panel of Scilab? What files >>shall I have to add under the directory SCILAB/contrib/simple? Now there >>are only two files(libsimple.dll and loader.sce) in that folder. >> >> > >Put a dummy empty builder.sce in there too. > > Yeah! It works! The button is so lovely! Thank you! >good luck, > > |