Re: [CinePaint] CinePaint 0.21-1 compilation error
Frank Peters <[email protected]>
| Newsgroups | gmane.comp.video.cinepaint.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 16 Aug 2006 01:30:18 +0200 Hartmut Sbosny <[email protected]> wrote: > > WeightFunc.hpp: In constructor > > 'WeightFunc_Triangle<Unsign>::WeightFunc_Triangle(Unsign)': > > WeightFunc.hpp:227: error: 'TRIANGLE' was not declared in this > > scope WeightFunc.hpp:230: error: 'zmax_' was not declared in this > > scope WeightFunc.hpp:231: error: 'minval_' was not declared in this > > scope WeightFunc.hpp:232: error: 'maxval_' was not declared in this > > scope WeightFunc.hpp: In member function 'Tweight > > WeightFunc_Triangle<Unsign>::operator()(Unsign) const': > > WeightFunc.hpp:238: error: 'zmax_' was not declared in this scope > > > > As far as that template is not used, I put under > > http://people.freenet.de/hsbosny/Download > > a WeightFunc.hpp, where it is commented out. But it follows a similar > construction and I am not very optimistic. > For me, this new file solves the above indicated errors. The compile no longer fails at that point. But, unfortunately, now another error is reported later on: g++ ... -c mergeHdr_PackScheme2D_RGB.cpp -fPIC -DPIC -o .libs/mergeHdr_PackScheme2D_RGB.o br_ImgScheme1D.hpp: In member function 'int br::ImgView1D<T>::n_pixel() const': br_ImgScheme1D.hpp:75: error: there are no arguments to 'dim' that depend on a template parameter, so a declaration of 'dim' must be available br_ImgScheme1D.hpp:75: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) br_ImgScheme1D.hpp: In member function 'int br::ImgScheme1D<T>::n_pixel() const': br_ImgScheme1D.hpp:108: error: there are no arguments to 'dim' that depend on a template parameter, so a declaration of 'dim' must be available make[3]: *** [mergeHdr_PackScheme2D_RGB.lo] Error 1 > Which version of g++ do you use? I'm afraid, I have to upgrade. > I use both gcc-4.1.1 and gcc-3.4.6 (the latter is sometimes needed because some code will fail with 4.1.1). The same errors result when compiling cinepaint with either 4.1.1 or 3.4.6. Frank Peters ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642