[ptx] OSX build: Xcode Project (and some compiler error reports)

Pablo d'Angelo pablo.dangelo at web.de
Tue Jun 15 18:04:01 BST 2004


On Tue, 15 Jun 2004, Bruno Postle wrote:

> On Tue 15-Jun-2004 at 12:22 +0100, Ippei UKAI wrote:
> > 
> > impex2 still does not compile.
> > 
> > /Users/ippei/Download/hugin/hugin-cvs20040615/src/vigra_impex2/ 
> > viff.cxx: In member function `void  
> > vigra_impex2::ViffDecoderImpl::color_map()':
> > /Users/ippei/Download/hugin/hugin-cvs20040615/src/vigra_impex2/ 
> > viff.cxx:628: error: could not convert `temp_num_bands' to `size_t&'
> > /Users/ippei/Download/hugin/hugin-cvs20040615/src/vigra_impex2/ 
> 
> This is a bug in vigra[*], you should be able to fix the version in
> hugin using the same fix.  Locate line 614 and replace this:
> 
>        unsigned int temp_num_bands;
> 
> ..with this:
> 
>        size_t temp_num_bands;

I have already added that to the current cvs, but I think it might break at
some other places as well, since size_t and unsigned int are used the same
in many places of the code.

ciao
  Pablo


More information about the ptX mailing list