Re: [CinePaint] CinePaint 0.21-1 compilation error
Hartmut Sbosny <[email protected]>
| Newsgroups | gmane.comp.video.cinepaint.user |
|---|---|
| Message-ID | <[email protected]> |
Am Mittwoch, 16. August 2006 04:26 schrieb Frank Peters: > On Wed, 16 Aug 2006 01:30:18 +0200 > > 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). Ups, I operated still with 3.3.4. There seems exist some differences between my older g++ and the newer ones in respect of visibility of elements of a base template in a derived template (maybe, it has something to do with the option 'no-implicite-templates'). Meanwile I have downloaded g++ 4.1.1 and compiled. Tomorrow I hope to deliver a version which is clean for g++ 4.1.1. So long I say thanks a lot for testing! Hartmut ------------------------------------------------------------------------- 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