[SIP-devel] building sip-dev-20031219 from sources
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: DRUEL J. <joc...@li...> - 2003-12-24 11:59:14
|
Hi, I already tried several times to build SIP-dev from source, but I always gave up because of numerous errors. Today, I took the time to try it harder. I succeded but had several problems: here is what I had to do. First, my configuration is: Debain Woody (stable release of debian) with kernel 2.4.18; gcc 2.95. Scilab is 2-6. Due to long cycles in Debian development, some people could consider my packages as 'prehistorics' (but Debian seeks stability before all). So I dowloaded the latest gandalf (1.3.2), animal (0.8.0) and sip (20031219). I) gandalf compilation: 1) I had to install glutg3-dev (OpenGL develepoment libraries) anfd libtool. The debian installer installed the other packages related to it. 2) ./configure, make, cd TestFrameWork, make, cd .., make install causes no problem 3) I finished with libtool --finish /usr/local/lib II) Animal compilation: 1) ./configure, make error in animal/analysis.c line 786 (function edt_lz) I solved by puttin the line int i; before assert(im->isbianry); so that declaration of variables are at the beginning of the function. 2) make This time the error is in src/plist.c lines 23 to 27. Same soluce: I moved declarations of variables (q*, a, data) just after the declaration of the function main 3) make Error in label_components.c, line 24 I solved by adding nhood nh*; at the beginning of main and transforming the line 24 in nh = get_8_nhood(); 4) make This time, it works ! 5) make install III) SIP compilation 1) configure, make Error line 69 unsigned long npixels = rim*cim; Again I put unsigned long npixels at the beginning then npixels = rim*cim; This time it works 2) When I launched builder.sce from scilab, it told me that the SIMPLE toolbox was now installed: it shoumd be changed to SIP (idem with the path given: it is written /usr/lib/scilab/contrib/SIMPLE/loader.sce). 3) I launched exec(SIPDEMO) and tried the interferometry gui: error: stacksize(3e7) cannot be used in this context. I commented the line 37 of macros/interferometry_gui.dem and it worked fine. 4) I could finally enjoy the new SIP-dev version ! (but I had no time to test it fully yet) Conclusion: 1) the problem was always of the same type: declaration must be made at the beginning for my compiler. 2) I send you my modified files 3) SIP is a great project Happy Christmas for everyone Best regards Jocelyn -- Powered by Linux |