Re: [CinePaint] CinePaint 0.21-1 compilation error
Daniel Fort <dan-pCK/[email protected]>
| Newsgroups | gmane.comp.video.cinepaint.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Hartmut, > Adding a "#include <cmath>" in > > "bracketing_to_hdr/core/br_PackBase.hpp" > > should help here. But seemingly a "#include <cmath>" is missing in > more files, as Frank suggested. Unfortunately I can not simply detect > these errors, because my compiler doesn't complain of it, I'm reliant > on bug reports. To accelerate the fixing a little bit, could you (or > Frank) be so kind to add a "#include <cmath>" in similar cases > (error: not declared `log', `exp', `pow', `sin') and to report the > files here and also the error (if any) which comes after it? > > In > "bracketing_to_hdr/core/HdrCalctorBase.cpp" > the "#include <cmath>" is ditto missing, I just notice. > Following your instructions "make" ended up with this error: In file included from WeightFunc.cpp:27: 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 make[3]: *** [WeightFunc.lo] Error 1 It looks like "#include <cmath>" is declared in WeightFunc.hpp so this is a different problem. Hope this helps. --Dan ------------------------------------------------------------------------- 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