Re: [CinePaint] CinePaint 0.21-1 compilation error

Frank Peters <[email protected]>
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
On Tue, 15 Aug 2006 02:48:09 +0200
Hartmut Sbosny <[email protected]> wrote:

> 
> Adding a "#include <cmath>" in 
> 
>   "bracketing_to_hdr/core/br_PackBase.hpp" 
> 

Adding "#include <cmath>" here allow the compile to proceed
but it then gets stopped with another error:

g++ ... WeightFunc.cpp  -fPIC -DPIC -o .libs/WeightFunc.o

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

These variables are NOT declared in cmath.  I don't know what header
file or other file contains them.

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.